Create Supplier

Allows users to add a new supplier to the system.

🔒

Requires read_product access scope.

The Create Supplier API allows users to add a new supplier to the system, establishing a record for vendors that provide products or services.

This API is especially useful for:

  1. Onboarding new vendors into the procurement system.
  2. Creating detailed supplier profiles with basic contact information.
  3. Establishing a centralized supplier database for supply chain management.

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

📘

Body Parameters

ParameterTypeRequiredDescriptionExampleExample
supplierobjectYesObject containing supplier details{...}"next_page_token"
supplier.titlestringYesSupplier's name, must be unique within the storeAcme Corporation["sup_123", "sup_456"]
supplier.urlstringNoURL associated with the supplierhttps://acme.com

Response Description

Public Response Fields

📘

Success Response

FieldTypeExampleDescription
codestring"success"Response status code
messagestringDescriptive message of the response
data.supplierSupplier objectsupplier

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!