Products
Update Product
Updates the specified product by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged.
put/v1/products/{productId}
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v1/products/{productId}
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or OAuth 2Implicit: https://api.voucherify.io/v1/oauth/tokenScopes: api, products
Request body
Example request
{
"name": "T-shirt",
"image_url": "https://images.com/original.jpg"
}Response
Returns an updated product object.
Example response
{
"id": "prod_0b1da8105693710357",
"source_id": "productSourceID16",
"name": "T-shirt",
"image_url": "https://images.com/original.jpg",
"created_at": "2022-05-23T06:52:55.008Z",
"updated_at": "2022-05-23T09:24:07.405Z",
"skus": {
"data": [
{
"id": "sku_0b1621b319d248b79f",
"source_id": "sku_source_id_4",
"product_id": "prod_0b15f6b9f650c16990",
"sku": "Large Pink Shirt",
"currency": "USD",
"created_at": "2022-05-17T10:36:30.187Z",
"updated_at": "2022-05-17T10:55:09.137Z"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.