Recerc

Update product

Updates mutable fields on an existing product.

PUT/api/products/{id}

Updates mutable fields on an existing product.

Path Parameters

id*string

Resource identifier.

Example"prod_123"

Request Body

application/json

Request payload for Update product.

handle?|

Updated stable product handle used in URLs.

sku?|

Updated product SKU.

title?|

Updated product title shown to users.

description?||

Updated long-form product description.

vendor?|

Updated vendor or manufacturer name.

category?|

Updated category name for the product.

categoryId?||

Updated category identifier for the product.

images?array<>|

Updated absolute image URLs for the product.

baseUnit?|

base unit.

alternativeUnits?array<>|

Updated alternative unit configurations for the product.

referenceUnits?array<>|

Updated reference unit configurations for the product.

basePrice?||

Updated base selling price for the product.

baseCost?||

Updated base cost for the product.

customFields?|

Updated custom field values for the product.

[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json