Skip to content
Zaraftis
Esc
↑↓navigate↵open⌘Jpreview

List merchants

Returns the merchant entities collected so far with their offer counts. A merchant is the seller or checkout destination, not the product brand. Requires brand_id.

GET/commerce/merchants
Authorization
AuthorizationBearer token · headerrequired

API key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.

Query parameters
page_tokenstring

The next_page_token from the previous page. Send it with the same filters and limit.

limitinteger

Items per page. A route can set a lower maximum or default; its own entry says so.

min 1 · max 100 · default: 25
Responses
200

One merchant list page

successbooleanrequired
dataMerchantListPagerequired
Show properties
itemsCommerceMerchantListItem[]required
Show properties
Array of CommerceMerchantListItem
merchant_idstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
namestringrequired
min length 1
domainstring | nullrequired
Show properties
Any of:
string
string
null
null
offer_countintegerrequired
min 0 · max 9007199254740991
first_seen_atstringrequired
paginationListPaginationrequired

next_page_token is present only when has_more is true.

Show properties
has_morebooleanrequired
next_page_tokenstring
min length 1
request_idstringrequired
min length 1
400

bad_request or validation_failed

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
404

not_found: unknown id, or an id this key cannot see

successbooleanrequired
errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsobject
field_errorsobject[]
Show properties
Array of object
fieldstringrequired
codestringrequired
Allowed:requiredformattoo_smalltoo_largeunrecognized_keyinvalid
messagestringrequired
request_idRequestIdrequired
Request
curl -X GET 'https://api.zaraftis.com/v1/commerce/merchants' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "success": true,
  "data": {
    "items": [
      {
        "merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",
        "name": "string",
        "domain": "string",
        "offer_count": 0,
        "first_seen_at": "string"
      }
    ],
    "pagination": {
      "has_more": true,
      "next_page_token": "string"
    }
  },
  "request_id": "string"
}

Was this page helpful?