Palbase Commerce & Promotions · API
POST
/commerce/stores/{store_id}/listings/{listing_id}/pricesUpsert seller listing price
Upsert seller listing price
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.listing_idstring · requiredPath parameter listing_id.curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stores/<store_id>/listings/<listing_id>/prices" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
201Upsert seller listing price
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation SellerUpsertPrice of commerce's contract.