Update Supplier

Updates the details of an existing supplier by its unique identifier (id).

🔒

Requires read_product access scope.

The Update Supplier API allows users to modify existing supplier information in the system using the supplier's unique identifier.

This API is especially useful for:

  1. Updating supplier contact URLs when websites change.
  2. Correcting or updating supplier metadata in the system.

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

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
idstringrequiredSupplier ID to updatesup_123456

Body Parameters

ParameterTypeRequiredDescriptionExampleExample
supplierobjectrequiredObject containing supplier details{...}"next_page_token"
supplier.urlstringoptionalURL 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 object

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!