Palbase Commerce & Promotions · API
PUT
/commerce/channels/{channel_id}/regions/{region_id}Attach region to sales channel
Attach region to sales channel
Called by your server, with the project's secret key.
Path
channel_idstring · requiredPath parameter channel_id.region_idstring · requiredPath parameter region_id.curl
curl -X PUT "https://<your-ref>.palbase.studio/commerce/channels/<channel_id>/regions/<region_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Attach region to sales channel
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation AttachChannelRegion of commerce's contract.