Xsolla-logo

Delete all cart items from current cartClient-side

put/v2/project/{project_id}/cart/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
Responses
204

The cart was successfully cleared.

Request samples