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