Products
Update SKU
Updates the specified SKU by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged.
Fields other than the ones listed in the request body schema won't be modified. Even if provided, they will be silently skipped.
put/v1/products/{productId}/skus/{skuId}
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v1/products/{productId}/skus/{skuId}
- 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
{
"sku": "Large Pink Shirt"
}Response
Returns the SKU object with the updated parameters.
Example response
{
"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.