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:
A sample request in PHP:
Output data
The method returns the data in JSON format.
| status | varchar(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 |
| carts | array | An array of carts containing cart details. |
| | - cart_id | int | Cart identifier |
| | - name | varchar(5) | Cart name |
| | - color | varchar(7) | Cart color in hex format |
Sample
Input data:Output data:
A sample request in PHP: