PATCH /manager/platform-config
curl \
-X PATCH https://domain.tld/api/v2/manager/platform-config \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"global":{"forceBlogRedirect":true,"pickingURL":"string","enableGuestMessaging":true,"assetsFolderName":"string"},"ai":{"copilotMessageRewordingAssistantId":"string"},"theme":{"text_color_1":"string","text_color_2":"string","text_color_3":"string","text_color_4":"string","background_color_1":"string","background_color_2":"string","background_color_3":"string","background_color_4":"string","white_toolbar_on_mobile":true}}'
Request examples
{
"global": {
"forceBlogRedirect": true,
"pickingURL": "string",
"enableGuestMessaging": true,
"assetsFolderName": "string"
},
"ai": {
"copilotMessageRewordingAssistantId": "string"
},
"theme": {
"text_color_1": "string",
"text_color_2": "string",
"text_color_3": "string",
"text_color_4": "string",
"background_color_1": "string",
"background_color_2": "string",
"background_color_3": "string",
"background_color_4": "string",
"white_toolbar_on_mobile": true
}
}
Response examples (200)
{
"global": {
"forceBlogRedirect": true,
"pickingURL": "string",
"enableGuestMessaging": true,
"assetsFolderName": "string"
},
"ai": {
"copilotMessageRewordingAssistantId": "string"
},
"theme": {
"text_color_1": "string",
"text_color_2": "string",
"text_color_3": "string",
"text_color_4": "string",
"background_color_1": "string",
"background_color_2": "string",
"background_color_3": "string",
"background_color_4": "string",
"white_toolbar_on_mobile": true
}
}
Response examples (401)
{
"message": "Unauthorized."
}
Response examples (422)
{
"message": "field is required! (and 3 more error)",
"errors": {
"field": [
"Error message details here"
],
"additionalProperty1": [
"Error message details here"
],
"additionalProperty2": [
"Error message details here"
]
}
}