Set Campaign Notifications
curl --request PUT \
--url https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true})
};
fetch('https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications"
payload = { "enabled": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"enabled": true
}Campaigns
Set Campaign Notifications
Set only the executing actor’s campaign notification preference. Does not change campaign delivery or other members’ preferences.
Requires promotions:read. API keys and delegated Computer credentials resolve organization scope without browser cookies; optional organizationId must match that scope.
PUT
/
api
/
v1
/
campaigns
/
{campaignId}
/
notifications
Set Campaign Notifications
curl --request PUT \
--url https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({enabled: true})
};
fetch('https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications"
payload = { "enabled": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"enabled": true
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Body
application/json
Response
Canonical operation result. Inspect aggregate and per-target success and marketplace delivery evidence.