Orders
An order is a customer's completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provide an email address or phone number, billing address and payment information.
It is good to have per item 1 quantity, for per item multi quantity calculation will be different.
Attributes | Type | Description |
|
| Unique identification id for create order |
|
| Sales Channel Name of client |
|
| Unique Number against Each Sales Channel |
|
| unique number provide by merchant itself |
|
| order created Date Time e.g: 2020-03-12 00:00:00 |
|
| expected date on which order should be shipped from facility e.g: 2020-03-13 00:00:00 |
|
| Delivery date on which order should be delivered e.g: 2020-03-18 00:00:00 |
|
| Type of order |
|
| Payment Method of order |
|
| tax amount of order |
|
| Total shipping charge on order |
|
| total sum of all item price |
|
| invoice total of order |
|
| amount that customer has to pay |
|
| true,false (False : if courier will be assigned by Eshopbox , true : if courier will be assigned by vendor itself) |
|
| true,false (true : in this case there will be no operations happens on order, false: all the operations will be happen) |
|
| shipping address object |
|
| shippingAddress customer Name |
|
| shipping address line first |
|
| shipping address line second |
|
| shipping city |
|
| shipping state |
|
| shipping postal code |
|
| shipping country code |
|
| shipping country name |
|
| shipping address contact number |
|
| shipping address email ID |
|
| billing address object |
|
| billing name of customer |
|
| billing address line first |
|
| billing address line second |
|
| billing city |
|
| billing state |
|
| billing postal code |
|
| billing country code |
|
| billing country name |
|
| billing person contact number |
|
| billing person email ID |
|
| The order items object |
|
| created timestamp of order e.g: "2020-03-12 00:00:00" |
|
| updated timestamp of order e.g: "2020-03-12 00:00:00" |
The Items
Object
Attributes | Type | Description |
|
| incremental id of each item in a order |
|
| unique generated id by eshopbox |
|
| variant id of item (seller SKU code which marked available on created products on a sales channel in eshopbox) |
| string | seller Sku (This is only required if there is no product created in eshopbox for a sales channel, Eshopbox will create the product by self) |
|
| Eshopbox Esin of item |
|
| name of the item |
|
| quantity of the item |
|
| unit price of item |
|
| discount on item |
|
| total price of item |
|
| tax rate on item |
|
| tax amount on item |
items[].mrp | number | MRP of the item |
|
| cancellation policy on item defined by client |
|
| returnPolicyCode on item defined by client |
|
| additional info of item |
|
| product url of item |
|
| product image url of item |
The productAdditionInfo
Object
Attribute | Type | Description |
|
| Size of the item |
|
| Color of the item |
| number | Additional details used to create a product |
| number | Additional details used to create a product |
| number | Additional details used to create a product |
| number | Additional details used to create a product |
Enum: isCOD
Attribute | Description |
0 | created order must be Prepaid |
1 | created order must be COD |
Last updated