Xsolla-logo

Delete cart item from current cart

delete/v2/project/{project_id}/cart/item/{item_sku}

Removes an item from the cart.

SecurityAuthForClient
Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
item_sku
required
string

Item SKU.

Example: booster_mega_1
Responses
204

The item from the cart was successfully deleted.

404

Item not found. Make sure the project_id and the item_sku are correct.

Request samples
Response samples
application/json
{
  • "statusCode": 404,
  • "errorCode": 4001,
  • "errorMessage": "[0401-4001]: Item with Project ID = 44056 and SKU = booster_mega_12222 not found"
}