/api/v1/accounts/{accountId}/vendors (GET)
GET
/api/v1/accounts/{accountId}/vendors
const url = 'https://example.com/api/v1/accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/vendors?limit=20';const options = {method: 'GET'};
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://example.com/api/v1/accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/vendors?limit=20'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”accountId
required
string format: uuid
Query Parameters
Section titled “Query Parameters”q
string
limit
integer
cursor
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
rowVersion
required
integer
ownerAccountId
required
string format: uuid
name
required
string
kind
required
string
address
required
string | null
phone
required
string | null
website
required
string | null
next_cursor
required
string | null
Example
{ "items": [ { "kind": "store" } ]}