ops
ops-branding

Assign branding to a seller

Changed on

Assign a branding config to a seller

post/ops/branding/sellers

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/branding/sellers
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-branding:edit

Request body

branding_idstring required

ID of the branding config to assign, null to remove the branding config

seller_idstring required

ID of the seller to assign the branding config to

Example request

{
  "branding_id": "abc123",
  "seller_id": "abc123"
}

Response

OK response.

created_atstring date-time required
email_logo_urlstring

Url for the logo to display in emails, if any

enable_transactional_emailsboolean required

Whether or not to enable transactional emails

idstring regexp required

ID of branding config

info_hub_urlstring

Url for the info hub, if any

logo_urlstring

Url for the logo to display, if any

namestring required

Name of the branding config

seller_idstring required

ID of the seller for the branding config

seller_namestring required

Name of the seller

seller_pretty_namestring required

Pretty name of the seller

short_namestring

Short brand identifier (lowercase letters, digits and underscores) used to resolve brand assets

updated_atstring date-time required

Example response

{
  "brand_values": {
    "focus_color": "abc123",
    "primary_color": "abc123",
    "primary_color_hover": "abc123",
    "primary_color_muted": "abc123",
    "primary_color_pressed": "abc123",
    "primary_color_tint": "abc123",
    "text_color_on_primary": "abc123",
    "text_size_scale": 1
  },
  "created_at": "1970-01-01T00:00:01Z",
  "email_logo_url": "abc123",
  "enable_transactional_emails": false,
  "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "info_hub_url": "abc123",
  "logo_url": "abc123",
  "name": "abc123",
  "seller_id": "abc123",
  "seller_name": "abc123",
  "seller_pretty_name": "abc123",
  "short_name": "abc123",
  "updated_at": "1970-01-01T00:00:01Z"
}

Changes

    • info

      api operation id branding.assignBrandingToSeller removed and replaced with branding#assignBrandingToSeller

    • info

      api operation id branding#assignBrandingToSeller removed and replaced with branding.assignBrandingToSeller

    • info

      api tag ops-branding added