Xsolla-logoXsolla Developers
или
Личный кабинет

Удаление всех предметов из текущей корзины

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

Удаляет все предметы из корзины.

SecurityAuthForClient
Request
path Parameters
project_id
required
integer

ID проекта.

Example: 44056
Responses
204

Корзина успешно очищена.

Request samples
curl -i -X PUT \
  'https://store.xsolla.com/api/v2/project/{project_id}/cart/clear' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'