Update a product
Updates a product in the store.
shop and user are stripped and cannot be reassigned. Supplying variants merges by variant _id (existing) or adds new ones. Requires the WRITE_INVENTORY scope.Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Path Parameters
ObjectId of the product to update.
Body
Product name.
Product description (max 10000 chars).
Base price (>= 0).
Weight (>= 0).
Stock quantity (>= 0).
Sale/promotional price (>= 0); nullable.
Category ObjectId.
Array of image URLs.
Video URL; nullable.
Whether the product is featured.
Whether the product is listed in the storefront.
Low-stock threshold (>= 0).
Product variants; merged by variant _id or appended. Each variant: attributes (required), price (required), promoPrice, quantity, weight, sku.
Product barcode; nullable.
Response
Update a product — success.
200
true
"Update a product"
An ecommerce catalog product.
{
"_id": "66a1f2c4e1b3a40012ab34cd",
"name": "Classic Tee",
"slug": "classic-tee",
"description": "Soft cotton t-shirt",
"price": 17.99,
"promoPrice": 14.99,
"weight": 0.3,
"quantity": 95,
"category": {
"_id": "66a1f0aae1b3a40012ab1100",
"name": "Apparel"
},
"images": [
"https://cdn.salesive.com/p/classic-tee.jpg"
],
"featured": false,
"listed": true,
"hasVariants": false,
"variants": [],
"shop": {
"_id": "66a1eee0e1b3a40012ab0001",
"name": "Acme Store",
"currency": { "symbol": "$", "code": "USD" }
},
"updatedAt": "2026-06-28T09:15:00.000Z"
}
