palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/stores/{store_id}/locations

Create seller stock location

Create seller stock location

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>/locations" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

201Create seller stock location

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

Operation SellerCreateStockLocation of commerce's contract.