Xsolla-logo

Delete all cart items by cart IDClient-side

put/v2/project/{project_id}/cart/{cart_id}/clear

Deletes all cart items.

SecurityAuthForCart
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
cart_id
required
string

Cart ID.

Example: custom_id
Responses
204

The cart was successfully cleared.

Request samples