POST

Increment Inventory


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds a set number of items to inventory.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Products
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/stores/v2/inventoryItems/increment

Body Params
incrementDataArray <IncrementData>minItems 1maxItems 300
Response Object
Returns an empty object.
Increment Inventory Example 1
Request
cURL
curl -X POST https://www.wixapis.com/stores/v2/inventoryItems/increment \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ --data-binary ' { "incrementData": [ { "productId": "f007074f-d7a8-a68b-e6c1-7d7c3de021ff", "variantId": "00000000-0000-0001-0005-9ccb19c4e6f0", "incrementBy": 2 } ] }'
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?