Get a brand
Retrieve a brand by its brandId or slug, for example, /v1/brands/123 or /v1/brands/abc
Path parameters
brandId or brand slug
Query parameters
When forceSlug is set to true (e.g. /v1/brands/33?forceSlug=true), the response will be the brand with the slug "33" not the brand with the ID 33.
Response
request successful
Example response
{
"id": 21,
"slug": "fashion",
"name": "Fashion",
"customData": {
"localizedJson": [
{
"key1": "value1"
}
],
"localizedString": "keyValue"
},
"createdAt": "2023-01-26T09:30:15+00:00",
"updatedAt": "2023-01-26T09:30:15+00:00",
"indexedAt": "2023-01-26T09:30:15+00:00"
}Changes
Changed in 1 of the 3 revisions of this API.316
- ▲
for the
pathrequest parameterbrand, the type/format was changed fromstring/tointeger/request-parameter-type-changed
- ▲
the response property
customDatabecame optional for the status200response-property-became-optional
- ▲
the response property
externalReferencebecame optional for the status200response-property-became-optional
- ●
deleted the
queryrequest parameterforceSlugrequest-parameter-removed
- ○
added the new optional
queryrequest parameterlocalenew-optional-request-parameter
- ○
added the optional property
customData/floatDatato the response with the200statusresponse-optional-property-added
- ○
added the optional property
customData/localizedJsonto the response with the200statusresponse-optional-property-added
- ○
added the optional property
customData/localizedStringto the response with the200statusresponse-optional-property-added
- ○
added the optional property
customData/nonLocalizedJsonto the response with the200statusresponse-optional-property-added
- ○
added the optional property
customData/nonLocalizedStringto the response with the200statusresponse-optional-property-added
This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲