v1

latestOpenAPI 3.0.12026-08-062555238.4 KB
Store API endpoints

Update a brand

Use this endpoint to update an existing brand.

put/brands/{brand_id}

Path parameters

brand_idstring required

A unique brand ID string provided by vendor or restaurant

Headers

Authorizationstring required
User-Agentstring required

Request body

namestring required

Example request

{
  "name": "KFC"
}

Response

Brand updated 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"
}