Product Object

Data model description

AttributesDescriptionExample
id

Unique product ID assigned by Voucherify.

prod_0b1da8105693710357

source_id

Unique product source ID from your inventory system.

productSourceID16

name

Unique user-defined product name.

T-shirt

price

Product unit price. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 is written as 10000.

attributes

A list of product attributes whose values you can customize for given SKUs: ["color","size","ranking"]. Each child SKU can have a unique value for a given attribute.

metadata

The metadata object stores all custom attributes assigned to the product. A set of key/value pairs that you can attach to a product object. It can be useful for storing additional information about the product in a structured format.

image_url

The HTTPS URL pointing to the .png or .jpg file that will be used to render the product image.

https://images.com/original.jpg

created_at

Timestamp representing the date and time when the product was created in ISO 8601 format.

2022-05-23T06:52:55.008Z

updated_at

Timestamp representing the date and time when the product was updated in ISO 8601 format.

2022-05-23T09:24:07.405Z

object

The type of object represented by JSON. This object stores information about the product.

skus
Language
URL
Click Try It! to start a request and see the response here!