Xsolla-logo
  • 문서화
  • 계정 생성

Delete item from Backpack

delete/web/backpack/merchants/{merchantId}/projects/{projectId}/users/{userId}/items/{itemId}

Deletes the specified item from Backpack of the specified user.

Securitybearer
Request
path Parameters
merchantId
required
integer <uint32>

Merchant ID. You can find this parameter in your Publisher Account:

  • in the Project settings > Webhooks section.
  • in the Company settings > Company section.
  • in the URL in the browser address bar on any Publisher Account page. The URL has the following format: https://publisher.xsolla.com/<merchant ID>/<Publisher Account section>.
projectId
required
integer <uint32>

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

userId
required
string <uuid>

User ID.

itemId
required
string <uuid>

The unique identifier for the item. Specified when creating item via API call.

header Parameters
X-HOST-ID
required
string <uuid>

A unique header issued by Xsolla. To obtain it, please contact the integration team at integration@xsolla.com or your Customer Success Manager at csm@xsolla.com. Provide them with the project ID and merchant ID. Keep X-HOST-ID confidential, as it is part of the authentication key.

Responses
204

No content

400

Bad request

404

Not found

500

Internal server error

default

Unexpected error

Request samples
Response samples
application/json
{
  • "message_id": "string",
  • "message": "string"
}