POST
/
brands
curl --request POST \
  --url https://api.courier.com/brands \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "settings": {
    "colors": {
      "primary": "<string>",
      "secondary": "<string>",
      "tertiary": "<string>"
    },
    "inapp": "<any>",
    "email": {
      "footer": "<any>",
      "header": "<any>"
    }
  },
  "snippets": {
    "items": [
      {
        "format": "handlebars",
        "name": "<string>",
        "value": "<string>"
      }
    ]
  }
}'
{
  "created": 123,
  "id": "<string>",
  "name": "<string>",
  "published": 123,
  "settings": {
    "colors": {
      "primary": "<string>",
      "secondary": "<string>",
      "tertiary": "<string>"
    },
    "inapp": "<any>",
    "email": {
      "footer": "<any>",
      "header": "<any>"
    }
  },
  "updated": 123,
  "snippets": {
    "items": [
      {
        "format": "handlebars",
        "name": "<string>",
        "value": "<string>"
      }
    ]
  },
  "version": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the brand.

settings
object
required
id
string | null
snippets
object

Response

200
application/json
created
integer
required

The date/time of when the brand was created. Represented in milliseconds since Unix epoch.

name
string
required

Brand name

published
integer
required

The date/time of when the brand was published. Represented in milliseconds since Unix epoch.

settings
object
required
updated
integer
required

The date/time of when the brand was updated. Represented in milliseconds since Unix epoch.

version
string
required

The version identifier for the brand

id
string | null

Brand Identifier

snippets
object