deletePickPackCartOrders
The method allows you to remove all orders from a specific PickPack cart. After clearing, the cart remains active but contains no orders. All orders that were in the cart become unassigned. The operation only affects carts belonging to the authenticated user.
Input parameters
Output data:
A sample request in PHP:
| cart_id | int | Cart identifier to be cleared of all orders |
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 |
| orders_removed | int | Number of orders that were removed from the cart |
Sample
Input data:Output data:
A sample request in PHP: