Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
Specify the parameters to be updated.
Request body schema for PUT v1/products/{productId}/skus/{skuId}
.
Unique user-defined SKU name.
"Large Pink Shirt"
SKU unit price. The value is multiplied by 100 to represent 2 decimal places. For example 10000 cents
for $100.00
.
SKU price currency.
The attributes object stores values for all custom attributes inherited by the SKU from the parent product. A set of key/value pairs that are attached to a SKU object and are unique to each SKU within a product family.
The HTTPS URL pointing to the .png or .jpg file that will be used to render the SKU image.
The metadata object stores all custom attributes assigned to the SKU. A set of key/value pairs that you can attach to a SKU object. It can be useful for storing additional information about the SKU in a structured format.
Response
Returns the SKU object with the updated parameters.
Response body schema for PUT v1/products/{productId}/skus/{skuId}
.
This is an object representing a product SKU.
A unique identifier that represents the SKU and is assigned by Voucherify.
"sku_0b1621b319d248b79f"
A unique SKU identifier from your inventory system.
"sku_source_id_4"
The parent product's unique ID.
"prod_0b15f6b9f650c16990"
Unique user-defined SKU name.
"Large Pink Shirt"
Unit price. It is represented by a value multiplied by 100 to accurately reflect 2 decimal places, such as $100.00
being expressed as 10000
.
The attributes object stores values for all custom attributes inherited by the SKU from the parent product. A set of key/value pairs that are attached to a SKU object and are unique to each SKU within a product family.
The HTTPS URL pointing to the .png or .jpg file that will be used to render the SKU image.
The metadata object stores all custom attributes assigned to the SKU. A set of key/value pairs that you can attach to a SKU object. It can be useful for storing additional information about the SKU in a structured format. It can be used to create product collections.
Timestamp representing the date and time when the SKU was created. The value is shown in the ISO 8601 format.
"2022-05-17T10:36:30.187Z"
Timestamp representing the date and time when the SKU was updated. The value is shown in the ISO 8601 format.
"2022-05-17T10:55:09.137Z"
The type of the object represented by JSON. This object stores information about the SKU
.
sku
SKU price currency.
"USD"