Palbase Commerce & Promotions · API
POST
/commerce/stock-locationsCreate stock location
Create stock location
Called by your server, with the project's secret key.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stock-locations" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
201Create stock location
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation CreateStockLocation of commerce's contract.