palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/stores/{store_id}/inventory/adjust

Adjust seller inventory quantity

Adjust seller inventory quantity

Called by a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Path

store_idstring · requiredPath parameter store_id.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stores/<store_id>/inventory/adjust" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

200Adjust seller inventory quantity

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation SellerAdjustInventory of commerce's contract.