Create an Order
create order api
create order
POST
https://wms.eshopbox.com/api/order
This endpoint allows you to create order
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer Token to grant access to the api |
Request Body
Name | Type | Description |
---|---|---|
externalChannelID | string | Sales channel name of client |
customerOrderNumber | string | Unique number against each sales channel |
shipMethod | string | Shipping method |
orderDate | string | Order created date time eg: 2020-03-13 00:00:00 |
expectedShipDate | string | expected date on which order should be shipped from facility eg: 2020-03-13 00:00:00 |
promiseDeliveryDate | string | Delivery date on which order should be delivered eg: 2020-03-13 00:00:00 |
isCOD | string | 1 if order is COD, 0 if order is prepaid |
paymentType | string | Payment method of order e.g : COD, credit card etc |
taxAmount | number | Tax amount of order |
shipChargeAmount | number | Total shipping charge on order |
subtotal | number | Total sum of all lineItemTotal |
orderTotal | number | Invoice total of order |
balanceDue | number | Amount the customer has to pay |
thirdPartyShipping | boolean | true= if shipping is arranged by marketplace,false = if shipping is arranged by vendor |
shippingAddress | object | Shipping address object |
shippingAddress.customerName | string | Shipping address customer name |
shippingAddress.addressLine1 | string | First Line of shipping address |
shippingAddress.addressLine2 | string | Second line of shipping address |
shippingAddress.city | string | Shipping city |
shippingAddress.state | string | Shipping state |
shippingAddress.postalCode | string | Shipping postal code |
shippingAddress.countryCode | string | Shipping country code |
shippingAddress.countryName | string | Shipping country name |
shippingAddress.contactPhone | string | Shipping address contact number |
shippingAddress.email | string | Shipping address email Id |
billingAddress | object | Billing address object |
billingAddress.customerName | string | Billing name of customer |
billingAddress.addressLine1 | string | First line of billing address |
billingAddress.addressLine2 | string | Second line of billing address |
billingAddress.city | string | Billing city |
billingAddress.state | string | Billing state |
billingAddress.postalCode | string | Billing postal code |
billingAddress.countryCode | string | Billing country code |
billingAddress.countryName | string | Billing country name |
billingAddress.contactPhone | string | Billing person contact number |
billingAddress.email | string | Billing person email Id |
items | array | The order items object |
Last updated