Field
|
Type
|
Description
|
---|---|---|
externalOrderId | string |
ID of order in the external system (required).
|
externalCustomerId | string |
ID of customer in the external system (required).
|
totalCost | decimal |
Total cost of order (required).
|
status | orderStatus |
Order status (required).
Possible values: DELIVERED, IN_PROGRESS, CANCELLED, ABANDONED_SHOPPING_CART, INITIALIZED. Only DELIVERED orders are used in RFM analysis. |
date | dateTime |
Order date and time (required).
For example "2017-05-14T10:11:10.7022176+03:00" |
currency | string |
Currency according to ISO 4217.
For example USD, EUR, UAH (required). |
string |
Customer email address.
|
|
phone | string |
Customer phone number.
|
firstName | string |
Customer first name.
|
lastName | string |
Customer last name.
|
shipping | decimal |
Shipping cost.
|
discount | decimal |
Discount.
|
taxes | decimal |
Amount of tax.
|
restoreUrl | string |
Link to order.
|
statusDescription | string |
Order status description.
|
storeId | string |
Store ID (if you work with several stores in one eSputnik account).
|
source | string |
"Online" \ "offline" values for segmentation. If the field is empty or some other value, by default the order will be accepted as online.
|
deliveryMethod | string |
Delivery method.
|
paymentMethod | string |
Payment method.
|
deliveryAddress | string |
Delivery address.
|
additionalInfo | (anonymous) |
Additional fields.
|
items | array of orderItem |
Array of ordered products.
|