POST api/Order/SelfOrderUS/UpdateCart?companyCode={companyCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
Body Parameters
QROrder_OrderInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ShowInfoCustomerPayConfig | string |
None. |
|
| OrderId | globally unique identifier |
None. |
|
| OrderNo | string |
None. |
|
| OrderDate | date |
None. |
|
| ListInventoryItem | Collection of QROrder_InventoryItemDetail |
None. |
|
| ListInventoryItemError | Collection of QROrder_InventoryItemDetail |
None. |
|
| ListInventoryItemTemp | Collection of QROrder_InventoryItemTemp |
None. |
|
| CancelReasonID | integer |
None. |
|
| CancelReasonName | string |
None. |
|
| CurrentOrderNumber | integer |
None. |
|
| Amount | decimal number |
None. |
|
| PLTAmount | decimal number |
None. |
|
| TaxRate | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| ShipAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ConvertAmount | integer |
None. |
|
| ConvertCurrency | string |
None. |
|
| ExchangeRate | decimal number |
None. |
|
| CustomerName | string |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| CustomerTel | string |
None. |
|
| CustomerEmail | string |
None. |
|
| Address | string |
None. |
|
| ProvinceId | string |
None. |
|
| DistrictId | string |
None. |
|
| CommuneId | string |
None. |
|
| FullAddress | string |
None. |
|
| Note | string |
None. |
|
| ShippingDueDate | date |
None. |
|
| ShippingDueInt | integer |
None. |
|
| DeliveryType | EnumQROrderDeliveryType |
None. |
|
| ShippingTimeType | EnumQROrderShippingTimeType |
None. |
|
| PaymentType | EnumQROrderPaymentType |
None. |
|
| PaymentStatus | EnumPaymentStatusOrderOnline |
None. |
|
| BranchID | globally unique identifier |
None. |
|
| CouponCodeId | integer |
None. |
|
| CouponCode | string |
None. |
|
| CouponDiscountType | EnumCouponDiscountType |
None. |
|
| CouponDiscountPercent | decimal number |
None. |
|
| CouponDiscountAmount | decimal number |
None. |
|
| CardID | globally unique identifier |
None. |
|
| CardName | string |
None. |
|
| CardType | integer |
None. |
|
| PaymentAmount | decimal number |
None. |
|
| BranchName | string |
None. |
|
| OrderCode | string |
None. |
|
| ActualCouponDiscountAmount | decimal number |
None. |
|
| BookingType | EnumOrderBookingType |
None. |
|
| TableName | string |
None. |
|
| TableRef | string |
None. |
|
| HouseNumber | string |
None. |
|
| PostalCode | string |
None. |
|
| CompanyName | string |
None. |
|
| CompanyTaxCode | string |
None. |
|
| ProvinceOrCity | string |
None. |
|
| ShortDescription | string |
None. |
|
| Description | string |
None. |
|
| QROrderCode | string |
None. |
|
| PickupTimeType | EnumPickupTimeType |
None. |
|
| PickupTime | string |
None. |
|
| IsUseCutlery | boolean |
None. |
|
| TipAmount | decimal number |
None. |
|
| OnlinePaymentAmount | decimal number |
None. |
|
| NonCashAdjustmentAmount | decimal number |
None. |
|
| AmountIncludeTax | decimal number |
None. |
|
| IsFoodPriceIncludeTax | boolean |
None. |
|
| PromotionAmountPreTax | decimal number |
None. |
|
| PromotionItemAmountPreTax | decimal number |
None. |
|
| DiscountAmountPreTax | decimal number |
None. |
|
| CardNumber | string |
None. |
|
| CardCode | string |
None. |
|
| ExpirationDate | string |
None. |
|
| TransID | string |
None. |
|
| AccountNumber | string |
None. |
|
| AccountType | string |
None. |
|
| ListAppliedTax | string |
None. |
|
| ListPaymentItem | Collection of QROrder_InventoryItemDetail |
None. |
|
| IsQROrder | boolean |
None. |
|
| SAInvoiceRefID | globally unique identifier |
None. |
|
| DiscountItem | decimal number |
None. |
|
| DiscountBill | decimal number |
None. |
|
| LastSortOrder | integer |
None. |
|
| Signature | string |
None. |
|
| BankAccountID | globally unique identifier |
None. |
|
| BankAccountNumber | string |
None. |
|
| BankName | string |
None. |
|
| AccountHolder | string |
None. |
|
| DeviceType | QRCodeClientDevice |
None. |
|
| HasCreateOrder | boolean |
None. |
|
| Ipay88UserName | string |
None. |
|
| Ipay88UserContact | string |
None. |
|
| Ipay88UserEmail | string |
None. |
|
| Ipay88PaymentID | integer |
None. |
|
| IsPaymentClick | boolean |
None. |
|
| RestaurantPaymentType | integer |
None. |
|
| PaymentTypeOfSeflOrder | string |
None. |
|
| ConfirmStatus | integer |
None. |
|
| ServiceChargeAmount | decimal number |
None. |
|
| ServiceTaxAmount | decimal number |
None. |
|
| ListDiscountCoupon | Collection of QROrder_Promotion |
None. |
|
| ServiceCharge | decimal number |
None. |
|
| ServiceChargeAmountIncludeTax | decimal number |
None. |
|
| ListServiceCharge | Collection of QROrder_ServiceCharge |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| ListApplyPromotion | string |
None. |
|
| ListApplyServiceCharge | string |
None. |
|
| ContactPrefix | integer |
None. |
|
| QRSessionID | globally unique identifier |
None. |
|
| PromotionID | globally unique identifier |
None. |
|
| PromotionName | string |
None. |
|
| PromotionRate | decimal number |
None. |
|
| PromotionAmount | decimal number |
None. |
|
| PromotionItemsAmount | decimal number |
None. |
|
| PromotionAmountIncludeTax | decimal number |
None. |
|
| PromotionItemsAmountIncludeTax | decimal number |
None. |
|
| OrderStatus | integer |
None. |
|
| CartAmount | decimal number |
None. |
|
| ListCoverOrder | Collection of CoverOrder |
None. |
|
| PaidAmount | decimal number |
None. |
|
| EmployeeID | globally unique identifier |
None. |
|
| EmployeeName | string |
None. |
|
| OrderPaymentStatus | integer |
None. |
|
| NumberOfPeople | integer |
None. |
|
| GratuityAmount | decimal number |
None. |
|
| GratuityRate | decimal number |
None. |
|
| CreatedDate | date |
None. |
|
| IsUpdatedOrder | boolean |
None. |
|
| RemainGiftCardAmount | decimal number |
None. |
|
| VoucherCardID | globally unique identifier |
None. |
|
| VoucherAmount | decimal number |
None. |
|
| VoucherCode | string |
None. |
|
| IsCustomGratuity | boolean |
None. |
|
| LoyaltyRewardUseAmount | decimal number |
None. |
|
| LoyaltyRewardUseAmountIncludeTax | decimal number |
None. |
|
| UsedPoint | integer |
None. |
|
| LoyalProgramActivationStatus | integer |
None. |
|
| OnlinePaymentType | integer |
None. |
|
| OnlinePaymentID | string |
None. |
|
| PromoCodeID | globally unique identifier |
None. |
|
| CashierDescription | string |
None. |
|
| IsPaidWithGiftCard | boolean |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
APIOrderOnlineResultOfQROrder_OrderInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | QROrder_OrderInfo |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.