Xsolla-logo

Delete all cart items by cart ID

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

Deletes all cart items.

SecurityAuthForClient
Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
cart_id
required
string

Cart ID.

Example: custom_id
Responses
204

The cart was successfully cleared.

Request samples