Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissionupdate:store-config to the store service_store_configs_widgets document for the store widgetwidgetID linkage remains service-only and is not exposed in the partner responsetitle is required when isEnabled is true and is limited to 32 characterswidgetID and widget._id must not be sent by clients502{
"isEnabled": true,
"title": "Rewards Store",
"description": "<p>Redeem community rewards.</p>",
"cover": {
"isEnabled": false,
"light": "",
"dark": ""
},
"currency": {
"isEnabled": false,
"name": "Coins",
"light": "",
"dark": ""
},
"widget": {
"isEnabled": true,
"allowedDomains": [
"example.com"
],
"accessMode": "development",
"testUsers": [],
"testRoles": [],
"size": {
"mode": "dynamic",
"width": 400,
"height": 400
},
"appearance": {
"light": {
"name": "white-smoke",
"palette": {}
},
"dark": {
"name": "black-beauty",
"palette": {}
},
"useCommunityTheme": false
},
"callToAction": {
"isEnabled": false,
"text": "",
"link": ""
},
"userIdentifierFields": []
}
}curl --location --request PUT 'https://adss-integration.returning.ai/apis/stores' \
--header 'Authorization: Bearer XXXXXX' \
--header 'Content-Type: application/json' \
--data '{
"isEnabled": true,
"title": "Rewards Store",
"description": "<p>Redeem community rewards.</p>",
"cover": {
"isEnabled": false,
"light": "",
"dark": ""
},
"currency": {
"isEnabled": false,
"name": "Coins",
"light": "",
"dark": ""
},
"widget": {
"isEnabled": true,
"allowedDomains": [
"example.com"
],
"accessMode": "development",
"testUsers": [],
"testRoles": [],
"size": {
"mode": "dynamic",
"width": 400,
"height": 400
},
"appearance": {
"light": {
"name": "white-smoke",
"palette": {}
},
"dark": {
"name": "black-beauty",
"palette": {}
},
"useCommunityTheme": false
},
"callToAction": {
"isEnabled": false,
"text": "",
"link": ""
},
"userIdentifierFields": []
}
}'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Update store config success.",
"data": {
"_id": "650a619360e8475d8ce4b2d4",
"communityID": "6502c9e514a3e564c5c09c0a",
"isEnabled": true,
"title": "The Concept Trading update",
"description": "<p>Redeem community rewards.</p>",
"cover": {
"isEnabled": false,
"light": "",
"dark": ""
},
"currency": {
"isEnabled": false,
"name": "Coins",
"light": "",
"dark": ""
},
"i18n": {
"isTranslationEnabled": false,
"titleTranslations": [],
"descriptionTranslations": [],
"translationPrompt": "",
"translationIgnoreList": []
},
"widget": {
"isEnabled": true,
"allowedDomains": [],
"accessMode": "live",
"testUsers": [],
"testRoles": [],
"size": {
"mode": "dynamic",
"width": 400,
"height": 400
},
"appearance": {
"light": {
"name": "violet-dream",
"palette": {}
},
"dark": {
"name": "black-beauty",
"palette": {
"accent": "rgb(3, 169, 244)",
"text": "rgb(0, 150, 218)",
"background": "rgb(3, 23, 38)",
"divider": "rgb(19, 71, 95)",
"shadow": "rgba(26, 38, 43, .5)"
}
},
"useCommunityTheme": false
},
"callToAction": {
"isEnabled": false,
"text": "",
"link": ""
},
"userIdentifierFields": [],
"apiKey": "9d644e64ce43b0cfd4b428b03fb0f962f0f093078b2b618fbf1aaf7d8b668b06",
"createdAt": "2026-04-15T12:41:45.223Z",
"updatedAt": "2026-04-15T12:42:22.024Z",
"__v": 0
},
"createdAt": "2026-04-15T12:41:45.223Z",
"updatedAt": "2026-04-15T12:42:22.024Z",
"__v": 0
}
}