branding

Get an anonymized offer's branding

Changed on

Fetch the branding info for a specific anonymized offer to display in the app

get/branding/offers/{id}/anonymized

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/branding/offers/{id}/anonymized
  • Auth
    none declared

Path parameters

idstring regexp required

Offer ID

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Query parameters

tokenstring required

the shared token

Example:abc123

Response

OK response.

is_co_brandingboolean

Whether the shop has a brand of its own, shown in addition to the platform brand

logo_urlstring

Url for the logo to display, if any

short_namestring

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

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
  },
  "is_co_branding": false,
  "logo_url": "abc123",
  "short_name": "abc123"
}

Changes

    • info

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

    • info

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