v1
latestOpenAPI 3.1.02026-07-24111224223.3 KBProducts
Updates a product
Updates a single product definition in the catalog. IMPORTANT: This is a full-replace operation (PUT semantics). Include every field expected by ProductRequest; omitted fields may be cleared. Call retrieve-a-product first, merge your changes, then submit the full body.
put/products/{product_id}
Path parameters
product_idstring required
UUID of the product to update.
Request body
Example request
{
"name": "English subscription",
"description": "Subscription to english classes",
"price": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"interval_months": 1
},
"account_code": "11112",
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
]
}Response
OK
Example response
{
"name": "English subscription",
"description": "Subscription to english classes",
"price": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"interval_months": 1
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"account_code": "11112"
}