v1

latestOpenAPI 3.0.12026-08-062555238.4 KB
Store API endpoints

Create a brand

Use this endpoint to create a brand.

post/brands

Headers

Authorizationstring required
User-Agentstring required

Request body

idstring required

A unique brand ID string provided by vendor or restaurant.

namestring required

The body required to create a brand

Example request

{
  "id": "KFC",
  "name": "KFC"
}

Response

Brand created successfully

idstring required

A unique brand ID string provided by vendor or restaurant. brand.

namestring required

The name of the brand.

state'UNMAPPED' | 'MAPPED' required

The state of this brand.

created_atstring required

Time RFC3339 format in UTC in which the brand has been updated

updated_atstring required

Time RFC3339 format in UTC in which the brand has been updated

Example response

{
  "id": "123004",
  "name": "KFC",
  "state": "MAPPED",
  "created_at": "2020-06-22T15:01:32.895Z",
  "updated_at": "2020-06-22T15:01:32.895Z"
}