Function orders/get (<http://<DOMAIN>>/api/orders/get/)
<aside> ποΈ Block customer_details in Getting order list only for b2b projects
</aside>
<aside> ποΈ dropshipping_details block and new ownTTNPicked parameter in the delivery_data array in the order list only for b2b projects
</aside>
Parameters:
token
β authorization key obtained through the auth function.from
β show orders from the specified date (inclusive). Optional parameter.
Date format:
to
β show orders up to the specified date (inclusive). Optional parameter.
Date Format:
ids[]
β order numbers for displaystatus
β show orders with selected statuses (all statuses can be downloaded via the Get order statuses function). Optional parameter. The parameter can be passed as an array or variable (status=1 or status[]=1&status[]=2, {status:1}, {status:[1, 2]}). Possible values:
additionalData
β boolean value (true or false). Allows to upload additional information about the order, for example, tracking number, recipient's and sender's warehouse.offset
β offset of user selection relative to the start (works only in combination with the limit parameter)limit
β number of orders displayedResponse:
status
response.orders
β array containing orders
response.orders[i]
order_id
β order numberuser
β user ID in the system (unique for each user)delivery_name
β recipient's full namedelivery_email
β email (unique for each user within the system, duplication is not possible)delivery_phone
β phone numberdelivery_city
β city (the name from carrierβs database)delivery_city_stable
β city (the name from Cartumβs database)delivery_address
β delivery address (if UkrPoshta delivery option is selected, fields are separated by @ symbol)delivery_type
β delivery type
delivery_type.id
β delivery type identifier in the API. You can get information about delivery options through the functions Delivery options export and Delivery types export.
delivery_type.title
β delivery type namedelivery_price
β delivery cost ("delivery_price": -1
β means that the cost of delivery is calculated at the carrier's rates)comment
β customer comments on the orderpayment_type
β payment type. You can get information about payment options through the Payment options export and Payment methods export functions.
payment_type.id
β payment type identifier in API
payment_type.title
β payment type namepayment_price
β payment feepayed
β paid (1 β yes; 0 β no)total_default
β cost of goods (excluding discounts)total_sum
β total cost (including all discounts, but excluding shipping costs)total_quantity
β total number of items in the orderdiscount_percent
β relative discountdiscount_value
β discount amountcoupon_code
β discount coupon codecoupon_percent
β relative discount of the couponcoupon_discount_value
β coupon discount amountcoupon_type
β coupon type
stat_status
β order status. You can get information about all order statuses via the Get order statuses function (available since version 4.0).
stat_created
β date and time of order placement (example: 2021-04-09 12:09:01)currency
β currency in which the order was placed (in ISO format, for example: UAH β hryvnia, USD β dollar, EUR β euro, etc.). You can get information about all currencies through the Currency and exchange rate export function.order_without_callback
β boolean value (true or false). Whether the customer should be called back (added in version 3.32).manager_id
β id of the manager who processed the ordermanager_comment
β manager's commentmanager_discount
β manager's discountmanager_discount_title
β manager's discount namedelivery_country
β country of delivery (if country selection is enabled on the checkout page)products[i]
β products in an orderadditional_data
β additional order information (only displayed if you pass the "additionalData": true
key in the body of the query)