POST api/Deliverect
Request Information
URI Parameters
None.
Body Parameters
DeliverectOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | string |
None. |
|
| Account | string |
None. |
|
| locationId | string |
None. |
|
| location | string |
None. |
|
| channelLinkId | string |
None. |
|
| loyaltyProfileId | string |
None. |
|
| orderType | integer |
None. |
|
| paymentAmount | integer |
None. |
|
| customer | DeliverectCustomer |
None. |
|
| created | date |
None. |
|
| channelOrderDisplayId | string |
None. |
|
| orderId | string |
None. |
|
| channelOrderId | string |
None. |
|
| items | Collection of DeliverectItem |
None. |
|
| subTotal | integer |
None. |
|
| taxTotal | integer |
None. |
|
| discountTotal | integer |
None. |
|
| discounts | Collection of DeliverectDiscount |
None. |
|
| decimalDigits | integer |
None. |
|
| serviceCharge | integer |
None. |
|
| deliveryCost | integer |
None. |
|
| bagFee | integer |
None. |
|
| tip | integer |
None. |
|
| driverTip | integer |
None. |
|
| smallOrderFee | integer |
None. |
|
| payment | DeliverectPayment |
None. |
|
| note | string |
None. |
|
| deliveryAddress | DeliverectAddress |
None. |
|
| orderIsAlreadyPaid | boolean |
None. |
|
| pickupTime | string |
None. |
|
| deliveryTime | string |
None. |
|
| status | integer |
None. |
|
| channel | integer |
None. |
|
| _id | string |
None. |
|
| _created | string |
None. |
|
| _updated | string |
None. |
|
| posId | string |
None. |
|
| posReceiptId | string |
None. |
|
| posLocationId | string |
None. |
|
| channelLink | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Output| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | boolean |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": true,
"Error": "sample string 2"
}
application/xml, text/xml
Sample:
<Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliverectWebhook.Models"> <Error>sample string 2</Error> <Response>true</Response> </Output>