Create or replace an entity’s theme kit
partner:theme-kits:manageFull replacement, optimistically concurrent: pass the version you read back as expectedVersion and the write is rejected if someone else changed the kit meanwhile.
AuthorizationBearer <token>WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.
Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected
with 401 Invalid or expired token; send it in X-API-Key instead.
WorkOS organization API keys are not accepted yet.
entityExternalId*stringExternal id of that organization, brand, or property.
entityType*stringThe kind of entity the kit is attached to.
"organization""brand""property"organizationId?stringGlobal (Journey staff) callers name the organization they act within.
length <= 100application/json- body
colors*array<>items <= 24expectedVersion*numberThe version that was loaded; 0 when the owner had no kit of its own.
0 <= valuefavicons*array<>items <= 10fonts*array<>items <= 10logos*array<>items <= 10name*string1 <= length <= 255The stored theme kit.
curl -X PUT 'https://api-prd.cf.journey.com/v1/partner/theme-kits/organization/string' \ -H 'Content-Type: application/json' \ -d '{ "colors": [ { "hex": "string", "label": "string" } ], "expectedVersion": 0, "favicons": [ { "isDefault": true, "label": "string", "url": "http://example.com" } ], "fonts": [ { "font": { "family": "string", "source": "custom" }, "label": "string" } ], "logos": [ { "isDefault": true, "label": "string", "url": "http://example.com" } ], "name": "string"}'