Orders
Order.create
project_name
(string) - name of online storeorders
(array) - array of objects with ordersorder_number
(string) - order numbercreation_time
(datetime) - time of creationstatus_id
(int) - order status IDstatus
(string) - order status, in the language of the order (it is better to use ID for matching)
{} Request JSON
{
"project_name": "",
"orders": [
{
"order_number": "",
"creation_time": "",
"status_id": "",
"status": ""
}
]
}
Order.update
project_name
(string) - name of online storeorders
(array) - array of objects with ordersorder_number
(string) - order numberlast_update_time
(datetime) - time of last updatestatus_id
(int) - order status IDstatus
(string) - order status, in the language of the order (it is better to use ID for matching)
{} Request JSON
{
"project_name": "",
"orders": [
{
"order_number": "",
"last_update_time": "",
"status_id": "",
"status": ""
}
]
}
Order.delete
project_name
(string) - name of online storeorders
(array) - array of objects with ordersorder_number
(string) - order numberdeletion_time
(datetime) - time of deletion
{} Request JSON
{
"project_name": "",
"orders": [
{
"order_number": "",
"deletion_time": "",
}
]
}
Changelog
Datum | Typ | Změna |
---|---|---|
5.9.2024 | Orders.create , Orders.update , Orders.delete |
The optimization of the maximum number of records that the endpoint returns is 5000. More records are coming in the next request. |
Next article
Order statuses