API documentation
Method list
Test your request
Changelog


getPickPackCarts
The method allows you to retrieve a list of all PickPack carts belonging to the authenticated user. The method returns cart details including ID, name, color.


Input parameters



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
cartsarrayAn array of carts containing cart details.
| - cart_idintCart identifier
| - namevarchar(5)Cart name
| - colorvarchar(7)Cart color in hex format



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