Update a Product
Update by ID
PUT
https://api.moltin.com/v2/products/:id
Updating an existing product.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The ID of the product you wish to update |
Headers
Name | Type | Description |
---|---|---|
X-Moltin-Language | string | If set, the system will store a record of the translation in the specific language |
Authorization | string | The Bearer token to grant the API access |
Request Body
Name | Type | Description |
---|---|---|
id | string | Represents the id of object being updated. |
type | string | Represents the type of object being updated. (should be product) |
name | string | A human readable name for this product |
slug | string | A unique slug for this product |
sku | string | A unique SKU for this product |
mange_stock | boolean | True if moltin should manage stock, false if not |
description | string | A human readable description of the product |
price | array | An array of prices, one for each currency |
price.amount | string | Value of the price |
price.currency | string | Currency of this price. (3 letter ISO) |
price.includes_tax | boolean |
|
status | string |
|
commodity_type | string | physical/digital |
Last updated