API documentation
Method list
Test your request
Changelog


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
cart_idintCart identifier to be cleared of all orders



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
orders_removedintNumber of orders that were removed from the cart



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