POST api/Catering/ConfirmOrder

Request Information

URI Parameters

None.

Body Parameters

CateringOrderConfirmView
NameDescriptionTypeAdditional information
OrderId

integer

None.

OrderRestaurantId

integer

None.

Status

CateringOrderStatusEnum

None.

Delivery

CateringOrderDeliveryEnum

None.

Vehicle

CateringOrderVehicleEnum

None.

ShippingOrderNo

string

None.

PickupTime

date

None.

DriverName

string

None.

DriverPhone

string

None.

DeliveryNote

string

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": 1,
  "orderRestaurantId": 2,
  "status": 1,
  "delivery": 1,
  "vehicle": 1,
  "shippingOrderNo": "sample string 3",
  "pickupTime": "2025-08-29T01:17:52.5841035+00:00",
  "driverName": "sample string 4",
  "driverPhone": "sample string 5",
  "deliveryNote": "sample string 6",
  "note": "sample string 7"
}

text/html

Sample:
{"orderId":1,"orderRestaurantId":2,"status":1,"delivery":1,"vehicle":1,"shippingOrderNo":"sample string 3","pickupTime":"2025-08-29T01:17:52.5841035+00:00","driverName":"sample string 4","driverPhone":"sample string 5","deliveryNote":"sample string 6","note":"sample string 7"}

application/xml, text/xml

Sample:
<CateringOrderConfirmView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <Delivery>Lalamove</Delivery>
  <DeliveryNote>sample string 6</DeliveryNote>
  <DriverName>sample string 4</DriverName>
  <DriverPhone>sample string 5</DriverPhone>
  <Note>sample string 7</Note>
  <OrderId>1</OrderId>
  <OrderRestaurantId>2</OrderRestaurantId>
  <PickupTime>2025-08-29T01:17:52.5841035+00:00</PickupTime>
  <ShippingOrderNo>sample string 3</ShippingOrderNo>
  <Status>Waiting</Status>
  <Vehicle>Bike</Vehicle>
</CateringOrderConfirmView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CateringOrderHistoryDetailAdminView
NameDescriptionTypeAdditional information
Phone

string

None.

PhoneBackup

string

None.

RestaurantsName

string

None.

Note

string

None.

RecipientName

string

None.

UserTaxInformation

UserTaxInformationView

None.

TransactionStatus

CateringOrderOmiseTransactionEnum

None.

CustomerId

integer

None.

CompanyAssign

CompanyView

None.

Admin

string

None.

ContactFirstName

string

None.

ContactLastName

string

None.

ContactPhoneNumber

string

None.

ContactEmail

string

None.

Id

integer

None.

Name

string

None.

Email

string

None.

EventDate

date

None.

Address

string

None.

DeliveryLocation

Object

None.

DeliveryCustomAddress

string

None.

DeliveryAddressId

integer

None.

TaxInvoiceNeeded

boolean

None.

CompanyName

string

None.

CompanyAddress

string

None.

CompanyTaxIdentification

string

None.

CompanyBranch

string

None.

DeliveryAddress

DeliveryAddress

None.

Status

string

None.

StatusEnum

CateringOrderStatusEnum

None.

Restaurants

Collection of CateringOrderHistoryDetailRestaurantView

None.

AddPoint

boolean

None.

BookingPromotionId

integer

None.

PromotionTotalDiscountAmount

integer

None.

PromotionCode

string

None.

DeliveryDiscount

decimal number

None.

TotalPrice

decimal number

None.

PaymentType

CateringOrderPaymentTypeEnum

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.