Xsolla-logoXsolla Developers
or
To Publisher Account

Remove quantity of item pre-order limitServer-sideAdmin

delete/v2/project/{project_id}/admin/items/pre_order/limit/item/sku/{item_sku}

Remove quantity of pre-order limit of the item.

Pre-Order limit API allows you to sell an item in a limited quantity. For configuring the pre-order itself, go to the Admin section of the desired item module:

Aliases for this endpoint:

  • /v2/project/{project_id}/admin/items/pre_order/limit/item/id/{item_id}
SecuritybasicAuth
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
item_sku
required
string

Item SKU.

Example: booster_mega_1
Request Body schema: application/json
quantity
required
integer

Quantity to remove.

Responses
204

The quantity to limit was successfully removed.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

404

Item not found.

Request samples
application/json
{
  • "quantity": 100000
}
Response samples
application/json
{
  • "statusCode": 401,
  • "errorCode": 1020,
  • "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}