ArchFindrDevelopers
API reference

Brands

GET
/api/v1/key/brands

The vendor's brands, searchable with q.

Requires the brands:read scope.

Authorization

apiKey brands:read
headerAuthorizationBearer <token>

An API key created in the vendor workspace. Send it as Authorization: Bearer afk_....

Scope: brands:read

Query Parameters

q?string
Lengthlength <= 255
page?integer
Range1 <= value
perPage?integer
Range1 <= value <= 100

Response Body

Success

application/json
  1. response
data*array<>
metadata*
curl -X GET "https://example.com/api/v1/key/brands"
{  "data": [    {      "provider": {        "id": "string",        "name": "string",        "slug": "string",        "status": "pending",        "logoUrl": "string"      },      "createdAt": "string",      "description": "string",      "id": "string",      "isFeatured": true,      "name": "string",      "slug": "string",      "city": "string",      "country": "string",      "coverUrl": "string",      "logoUrl": "string",      "website": "string",      "productsCount": 0    }  ],  "metadata": {    "total": 0,    "perPage": 0,    "currentPage": 0,    "lastPage": 0,    "firstPage": 0,    "firstPageUrl": "string",    "lastPageUrl": "string",    "nextPageUrl": "string",    "previousPageUrl": "string"  }}
GET
/api/v1/key/brands/{id}

One brand with its translations and links.

Requires the brands:read scope.

Authorization

apiKey brands:read
headerAuthorizationBearer <token>

An API key created in the vendor workspace. Send it as Authorization: Bearer afk_....

Scope: brands:read

Path Parameters

id*string

Response Body

Success

application/json
  1. response
data*
curl -X GET "https://example.com/api/v1/key/brands/string"
{  "data": {    "provider": {      "id": "string",      "name": "string",      "slug": "string",      "status": "pending",      "logoUrl": "string"    },    "createdAt": "string",    "description": "string",    "id": "string",    "isFeatured": true,    "name": "string",    "slug": "string",    "translations": {},    "city": "string",    "country": "string",    "coverUrl": "string",    "logoUrl": "string",    "website": "string",    "productsCount": 0  }}
PUT
/api/v1/key/brands/{id}

Edits one of the vendor's brands.

Requires the brands:write scope.

Authorization

apiKey brands:write
headerAuthorizationBearer <token>

An API key created in the vendor workspace. Send it as Authorization: Bearer afk_....

Scope: brands:write

Path Parameters

id*string

Request Body

application/json
  1. body
name?string
Length1 <= length
slug?string
Lengthlength <= 150
logoUrl?|
Lengthlength <= 1024
coverUrl?|
Lengthlength <= 1024
country?string|null
city?string|null
website?string|null
description?string|null
translations?unknown

Response Body

Success

application/json
  1. response
data*
curl -X PUT "https://example.com/api/v1/key/brands/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "provider": {      "id": "string",      "name": "string",      "slug": "string",      "status": "pending",      "logoUrl": "string"    },    "createdAt": "string",    "description": "string",    "id": "string",    "isFeatured": true,    "name": "string",    "slug": "string",    "translations": {},    "city": "string",    "country": "string",    "coverUrl": "string",    "logoUrl": "string",    "website": "string",    "productsCount": 0  }}