API documentation
Method list
Test your request
Changelog


getPickPackOrderCart
The method allows you to retrieve cart assignment information for a single order in the PickPack system. The method returns which cart (if any) the order is currently assigned to, along with cart details. The method uses singular naming since it handles a single order and its cart assignment.


Input parameters
order_idintOrder identifier to check cart assignment for



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
cart_idintCart identifier (0 if order is not assigned to any cart)
cart_namevarchar(5)Cart name (empty string if not assigned)
cart_colorvarchar(7)Cart color (empty string if not assigned)



Sample
Input data:
Output data:
A sample request in PHP: