API Reference / BrandService

BrandService

CreateBrand

Request

FieldTypeValidationDescription
brand_typeBrandType
namestringmin_len: 1
logo_urlstring
descriptionstring
account_idstringmin_len: 1

Response

FieldTypeDescription
brandBrand

GetBrand

Request

FieldTypeValidationDescription
idstringmin_len: 1ULID of the resource

Response

FieldTypeDescription
brandBrand

UpdateBrand

Request

FieldTypeValidationDescription
idstringmin_len: 1ULID of the resource
namestringmin_len: 1
logo_urlstring
descriptionstring

Response

FieldTypeDescription
brandBrand

ListBrandsByAccountID

Request

FieldTypeValidationDescription
account_idstringmin_len: 1

Response

FieldTypeDescription
brandsBrand[]

Messages

Brand

FieldTypeDescription
idstringULID of the resource
brand_typeBrandType
namestring
logo_urlstring
descriptionstring
created_attimestamp
updated_attimestamp

Enums

BrandType

Name Number
BRAND_TYPE_UNSPECIFIED 0
BRAND_TYPE_CPG 1
BRAND_TYPE_RETAIL 2
BRAND_TYPE_RESTAURANT 3