Update Product

View as Markdown

Updates a product. Supports partial updates - only the fields provided will be updated. When updating variants through this endpoint, you must include the variant ID.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token or OAuth2

Path parameters

productIdstringRequiredformat: "int64"
The product identifier

Request

This endpoint expects an object.
idlongOptional
Unique reference ID for the product
namestring or nullOptional
The name of the product
taxonomy_idinteger or nullOptional
The taxonomy ID for categorizing the product
type_idenumOptional

The product type ID (1 = Regular, 2 = Bundle)

Allowed values:
variantslist of objects or nullOptional
List of variants to update. Each variant must include an ID. Only provided fields will be updated.

Response

Success
created_ondatetime or null
Timestamp when the product was created
idlong or null
Unique identifier for the product
namestring or null
Product name
taxonomyobject or null
Product categorization information including category hierarchy
typestring or null

Product type (e.g., ‘Regular’ or ‘Bundle’)

updated_ondatetime or null
Timestamp when the product was last updated
user_idlong or null
ID of the user who owns this product
variantslist of objects or null
List of variants belonging to this product. Each variant represents a specific SKU.