Sets the number of items the specified user can buy within the limit applied after it was increased or decreased.
User limit API allows you to sell an item in a limited quantity. To configure the purchase limits, go to the Admin section of the desired item type module:
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 |
Purchase limits for a user were successfully received.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
{- "user": {
- "user_external_id": "d342dad2-9d59-11e9-a384-42010aa8003f"
}, - "available": 0
}
{- "per_user": {
- "total": 10,
- "available": 9
}
}