iotoms Docs

Get a brand

GET
/api/v1/catalog/attributes/brands/{id}

Returns one brand by its id. The response is the bare object, without the standard {status, message, data} envelope.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

*/*
  1. response
id?|

Unique ID of the brand. Set by the server; use it as brandId on items.

Formatint64
name*string

Brand name. Required, must not be blank and must be unique for the merchant.

modifiedTime*string

When the brand was last saved. Filled in with the current time when you leave it out.

Formatdate-time
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/brands/0'
Example Response
{  "id": 0,  "name": "string",  "modifiedTime": "2019-08-24T14:15:22Z"}