curl --request POST \
--url https://unified-api.creatorcommerce.shop/channels/{myshopifyDomain}/settings \
--header 'Content-Type: application/json' \
--header 'x-channel-access-token: <api-key>' \
--data '
{
"brandKit": {
"title": "nuuds",
"description": "Comfort-first staples.",
"primaryColor": "#270803"
},
"features": {
"isWebPixelEnabled": true,
"isDefaultMessagingEnabled": true
},
"onboardingSettings": {
"title": "Welcome to the creator program",
"perks": [
"Exclusive discount",
"Early access to launches"
]
}
}
'{
"channel": {
"_id": "6997d1b29655870ce8359c45",
"name": "nuuds",
"handle": "nuuds",
"brandKit": {
"title": "nuuds",
"description": "Comfort-first staples.",
"primaryColor": "#270803"
},
"features": {
"isWebPixelEnabled": true,
"isDefaultMessagingEnabled": true
}
}
}Updates channel settings/brand-kit/feature objects (partial merge, one level deep).
curl --request POST \
--url https://unified-api.creatorcommerce.shop/channels/{myshopifyDomain}/settings \
--header 'Content-Type: application/json' \
--header 'x-channel-access-token: <api-key>' \
--data '
{
"brandKit": {
"title": "nuuds",
"description": "Comfort-first staples.",
"primaryColor": "#270803"
},
"features": {
"isWebPixelEnabled": true,
"isDefaultMessagingEnabled": true
},
"onboardingSettings": {
"title": "Welcome to the creator program",
"perks": [
"Exclusive discount",
"Early access to launches"
]
}
}
'{
"channel": {
"_id": "6997d1b29655870ce8359c45",
"name": "nuuds",
"handle": "nuuds",
"brandKit": {
"title": "nuuds",
"description": "Comfort-first staples.",
"primaryColor": "#270803"
},
"features": {
"isWebPixelEnabled": true,
"isDefaultMessagingEnabled": true
}
}
}