Motorbase
V1Brands

Get Brand by id

Get the details of a brand

GET
/api/v1/{organizationSlug}/brands/{id}
AuthorizationBearer <token>

In: header

Scope: *

Path Parameters

idstring

Response Body

curl -X GET "https://api.motorbase.io/api/v1/{organizationSlug}/brands/string"
{
  "id": "string",
  "name": "string",
  "image": "string",
  "organizationId": "string",
  "createdAt": "2019-08-24",
  "updatedAt": "2019-08-24"
}
{
  "message": "Organization slug is missing"
}
{
  "message": "Unauthorized"
}
{
  "message": "Not Found"
}
{
  "success": false,
  "error": {
    "name": "ZodError",
    "issues": [
      {
        "code": "invalid_type",
        "path": [
          "id"
        ],
        "message": "Invalid input: expected string, received undefined"
      }
    ]
  }
}