Name | Type | Description | Notes |
---|---|---|---|
id | string | Unique product ID assigned by Voucherify. | |
source_id | string | Unique product source ID. | |
name | string | Unique user-defined product name. | |
price | int | 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`. | |
attributes | string[] | 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 | object | 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 | string | The HTTPS URL pointing to the .png or .jpg file that will be used to render the product image. | [optional] |
created_at | \DateTime | Timestamp representing the date and time when the product was created in ISO 8601 format. | [optional] |
updated_at | \DateTime | Timestamp representing the date and time when the product was updated in ISO 8601 format. | [optional] |
object | string | The type of object represented by JSON. This object stores information about the product. | [default to 'product'] |
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.