Get Supplier List

Allows users to retrieve a list of suppliers with optional filtering by specific supplier IDs.

🔒

Requires read_product access scope.

The List Suppliers API allows users to retrieve a list of suppliers with optional filtering by specific supplier IDs. The API supports pagination to handle large datasets and returns detailed information about suppliers, including their metadata.

This API is especially useful for:

  1. Fetching a list of suppliers for inventory and procurement purposes.
  2. Retrieving specific suppliers by their unique IDs.
  3. Supporting pagination for managing large supplier datasets.

Note: The operation is scoped to a specific shop, identified by its unique domain prefix (shopdomain), ensuring all updates are applied to the correct store.

Request Parameters

Public Request Parameters

📘

Query Parameters

ParameterTypeRequiredDefaultDescriptionExample
cursorstringNonullPagination cursor for next page"next_page_token"
page_sizeint32No10Number of results per page (1-100)25
idsarray[string]No[]Filter by specific supplier IDs["sup_123", "sup_456"]

Response Description

Public Response Fields

📘

Success Response

FieldTypeExampleDescription
codestring"success"Response status code
messagestringDescriptive message of the response
data.cursorstring"cursor_123"Pagination token
data.has_morebooleantrueMore results available
data.suppliersarray of Supplier objectList of addresses

Supplier Object

ParameterTypeExampleDescription
idstring"sup_123"Unique supplier identifier
titlestring"Acme Supplies"Name of the supplier
urlstring"https://acme.example.com"Supplier website URL
created_atstring"2025-01-01T00:00:00Z"Creation timestamp (ISO 8601)
updated_atstring"2025-01-02T12:00:00Z"Last update timestamp (ISO 8601)

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!