Update a product
products:writeRate limit writesIdempotent with Idempotency-KeySend only what changes. Sending options rebuilds the variant grid: combinations that survive keep their ids, prices and stock; base_price and variants then apply only to new combinations. Without options, base_price and variants are ignored — edit a variant with PATCH /variants/{id}. The handle changes only when sent; renaming does not move it. The options may make at most 250 combinations (variants); more is a 422.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredBody
application/jsonnamestring≤ 255 charsdescriptionstringnullable≤ 65000 charscurrencystring≥ 3 chars≤ 3 charsISO code.
folder_idintegernullableA product folder of this project.
statusstringOne of draft, active, archived
handlestringnullable≤ 255 charsStorefront URL segment; slugged and made unique. Empty or left out = unchanged.
product_typestringnullable≤ 255 charsvendor_namestringnullable≤ 255 charsseo_titlestringnullable≤ 255 charsseo_descriptionstringnullable≤ 500 charsis_physicalbooleantrack_inventorybooleanweightnumbernullable≥ 0weight_unitstringOne of kg, g, lb, oz
lengthnumbernullable≥ 0Box size; counts only with width and height.
widthnumbernullable≥ 0heightnumbernullable≥ 0dimension_unitstringOne of cm, in
shipping_profile_idintegernullableA shipping profile of this project; null = the general profile.
gatewaysarray of stringnullableGateways the product is sold through; null or empty = every connected one.
One of stripe, paypal, razorpay, square, easy_pay_direct, paystack, polar
base_pricenumbernullable≥ 0Used only together with options: the price of newly created combinations.
optionsarray of objectnullable≤ 3 itemsSending options rebuilds the variant grid: combinations that survive keep their id, price and stock; vanished ones are removed; new ones are created. At most 250 combinations.
Show 2 fields
namestringrequired≤ 64 charsvaluesarray of stringrequired≤ 100 itemsvariantsarray of objectnullableOnly with options, and only for newly created combinations. To change an existing variant use PATCH /variants/{id}.
Show 9 fields
option_valuesarray of stringrequiredpricenumber≥ 0skustring≤ 255 charscompare_at_pricenumber≥ 0cost_amountnumber≥ 0weightnumber≥ 0lengthnumber≥ 0widthnumber≥ 0heightnumber≥ 0published_atstringnullabledate-timeHeaders
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
curl --request PATCH \ --url 'https://api.estage.com/v1/products/product-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "name": "Classic Tee (organic)", "status": "active", "seo_title": "Organic cotton classic tee" }'
{
"data": {
"id": 5012,
"name": "Classic Tee",
"description": "Heavyweight cotton tee.",
"currency": "USD",
"cover": null,
"handle": "classic-tee",
"status": "active",
"product_type": "T-Shirts",
"vendor_name": "Northwind",
"seo_title": null,
"seo_description": null,
"is_physical": true,
"track_inventory": true,
"weight": 0.25,
"weight_unit": "kg",
"dimensions": {
"length": null,
"width": null,
"height": null,
"unit": "cm"
},
"gateways": null,
"shipping_profile_id": null,
"published_at": null,
"options": [
{
"id": 811,
"name": "Size",
"values": [
"M",
"L"
]
}
],
"variants": [
{
"id": 30441,
"product_id": 5012,
"title": "M",
"sku": null,
"barcode": null,
"price": "25.00",
"compare_at_price": null,
"cost_amount": null,
"position": 0,
"image_id": null,
"weight": null,
"inventory_policy": "deny",
"is_default": false,
"option_values": [
"M"
],
"inventory": {
"on_hand": 12,
"reserved": 1,
"available": 11
}
},
{
"id": 30442,
"product_id": 5012,
"title": "L",
"sku": "TEE-L",
"barcode": null,
"price": "27.00",
"compare_at_price": null,
"cost_amount": null,
"position": 0,
"image_id": null,
"weight": null,
"inventory_policy": "deny",
"is_default": false,
"option_values": [
"L"
],
"inventory": {
"on_hand": 8,
"reserved": 0,
"available": 8
}
}
],
"images": [
{
"id": 9120,
"src": "https://cdn.example.com/tee-front.jpg",
"alt": "Front",
"position": 0
}
],
"collections": [
{
"id": 31,
"title": "Summer picks",
"handle": "summer-picks"
}
],
"created_at": "2026-11-02T14:05:31Z",
"updated_at": "2026-11-10T09:12:44Z"
}
}{ error: { code, message, details } }.