Get order list
Get full list with all orders with date filter
Request Body optional
date_fromstring · requiredValid date (year-month-day) wich we start the filter from
Example: 2020-01-20date_tostring · requiredValid date (year-month-day) wich we end the filter
Example: 2020-01-25limitinteger · min: 1 · max: 100 · requiredLimit orders per page (minimum 1)
Example: 10pageinteger · min: 1 · requiredLimit orders per page (minimum 1)
Example: 1
order_status_idsinteger[]Array of valid order status ids - Leave empty or dont pass this property to get full llist
Example: [1,5]
Responses
success
successbooleanExample: trueresponseobject[]array with all orders
resultsnumberExample: 233pagesnumberExample: 100pagenumberExample: 4per_pagenumberExample: 2request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Update order status
Updating single order status and adding comment , with optional notify
path Parameters
order_idinteger · int64 · requiredOrder ID
Request Body
order_status_idinteger · requiredNumber that represent valid order status id (you can find API call for this statuses)
Example: 2
commentstringComment that will appear in the order status history related to the status you update
Example: Sent to customer Xnotifyinteger · enumPass 1 if you want to notifiy the customer abouth the status change
Enum values:01Default: 0sms_notifyinteger · enumPass 1 if you want to notify client by sms
Enum values:01Default: 0sms_contentstring · max: 150Message that will be sent to the customer associated with current order
Example: Thank you, your order complete!Default: null
Responses
success
successbooleanDetermine if update action executed successfullyy
Example: truemessagestringInclude short description if there is an error or success
Example: Order status updated successfullyrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Update order history comment
Updating single order history comment only without notify or status changes
path Parameters
order_idinteger · int64 · requiredOrder ID
Request Body
commentstring · requiredComment that will appear in the order status history related to the status you update
Example: Sent to customer X
Responses
success
successbooleanDetermine if update action executed successfullyy
Example: truemessagestringInclude short description if there is an error or success
Example: Order status updated successfullyrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Crete invoice
Create invoice for single order
path Parameters
order_idinteger · int64 · requiredOrder ID
Request Body
doc_typestring · enumThe document type must be one of (invrec,invoice,receipt,refund)
Enum values:invrecinvoicereceiptrefundExample: invoicecompany_personal_namestringNot required field that allows you to override the exist name with new personal/company name for invoice
Example: My Company LTDcompany_personal_idstringNot required field that allows you to override the esit persona; id with new personal/company Bn Number
Example: 23455234234telephonestringNot required field that allows you to override order's phone for the document
Example: 0548654366emailstringNot required field that allows you to override order's email for the document receiver
Example: [email protected]refund_sum
Responses
In case of successfully request return details for invoice
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Create shipping
Create shipping
path Parameters
order_idinteger · int64 · requiredOrder ID
Request Body
providerstring · enumRequired field what shipping provider to create
Enum values:chitaExample: chitapackages_numberintegerThe package number you will send and will be charged for (and get sticker for each package)
Example: 3shipping_typestring · enumThe shipping type for current provider not required
Enum values:door_to_doorlockersExample: door_to_door
Responses
In case of successfully request return details for shipping created
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Check shipping status
Check shipping status
path Parameters
order_idinteger · int64 · requiredOrder ID
Request Body
providerstring · enumRequired field what shipping provider to create
Enum values:chitaExample: chita
Responses
Return statuses list
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49