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
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Path parameters
product_idstringRequiredThe product's ID (prod_).
Parameters
namestringdescriptionstring or nullimagesarray of stringstax_codestring or nullshippablebooleanactivebooleanmetadataobjectYour key-value pairs. Up to 50 keys of 40 characters, with string values of up to 500 characters.
Returns
The updated product.
idstringresourcestringreferencestring or nullnamestringdescriptionstring or nullimagesarray of stringstax_codestring or nullshippablebooleanShow 7 more attributesShow fewer attributes
managed_bystringreview_statusstring or nullWhen Pay.com sells the product: screened automatically, then reviewed by a person. null for a product only you sell.
activebooleanmetadataobjectYour key-value pairs. Up to 50 keys of 40 characters, with string values of up to 500 characters.
createdstringupdatedstringtest_modebooleanErrors
400The request is invalid.
401The API key is missing or wrong.
403The key's permissions don't allow this route.
404No such object in this workspace and environment.
Was this page helpful?