Get brand by ID
GET
/brands/{id}
const url = 'https://api.example.com/brands/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.example.com/brands/example \ --header 'Authorization: Bearer <token>'Retrieve a single brand by its unique identifier.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”The brand record.
Media type application/json
The external brand representation — what GET /brands,
GET /brands/search, and GET /brands/{id} return. Exhaustive: id,
name, and slug are the only fields ever returned to an M2M caller.
object
id
string
name
string
slug
string
Example generated
{ "id": "example", "name": "example", "slug": "example"}Authentication required or failed.
Media type application/json
object
error
Machine-readable code. Best-effort — the generic 500 path carries none.
string
message
required
string
requestId
Unique request ID for tracing.
string
details
object
key
additional properties
any
Example
{ "error": "UNAUTHORIZED", "message": "Valid authentication token required."}Insufficient permissions (missing scope or Admin role).
Media type application/json
object
error
Machine-readable code. Best-effort — the generic 500 path carries none.
string
message
required
string
requestId
Unique request ID for tracing.
string
details
object
key
additional properties
any
Example
{ "error": "FORBIDDEN", "message": "Insufficient scope for this operation."}Resource not found.
Media type application/json
object
error
Machine-readable code. Best-effort — the generic 500 path carries none.
string
message
required
string
requestId
Unique request ID for tracing.
string
details
object
key
additional properties
any
Example
{ "error": "NOT_FOUND", "message": "Product not found"}