Skip to Content
Docs
Products

Update a product

PATCH/products/{product_id}

Updates the fields you send. Set active to false to stop selling it. Orders keep the name and details they were sold with.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Path parameters

product_idstringRequired

The product's ID (prod_).

Parameters

namestring
descriptionstring or null
imagesarray of strings
tax_codestring or null
shippableboolean
activeboolean
metadataobject

Your key-value pairs. Up to 50 keys of 40 characters, with string values of up to 500 characters.

Returns

The updated product.

idstring
resourcestring
referencestring or null
namestring
descriptionstring or null
imagesarray of strings
tax_codestring or null
shippableboolean
Show 7 more attributesShow fewer attributes
managed_bystring

One of api or dashboard.

review_statusstring or null

When Pay.com sells the product: screened automatically, then reviewed by a person. null for a product only you sell.

One of screened, approved or refused.

activeboolean
metadataobject

Your key-value pairs. Up to 50 keys of 40 characters, with string values of up to 500 characters.

createdstring
updatedstring
test_modeboolean

Errors

400
The request is invalid.
401
The API key is missing or wrong.
403
The key's permissions don't allow this route.
404
No such object in this workspace and environment.
Was this page helpful?