MobiariDocs

Save the e-mail brand kit

PUT
/stores/{store_id}/brand-kit

Replaces the stored kit. Templates with a block design pick it up the next time they are saved or rendered.

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

store_id*string

Store id

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

kit*object

The whole kit; unknown fields are dropped, missing ones take defaults.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/brand-kit" \  -H "Content-Type: application/json" \  -d '{    "kit": {}  }'
{
  "font_presets": [
    {}
  ],
  "kit": {}
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}