Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.99 KB

ProductsCreateResponseBody.md

File metadata and controls

23 lines (17 loc) · 1.99 KB

ProductsCreateResponseBody

Response body schema for POST v1/products.

Properties

Name Type Description Notes
id str Unique product ID assigned by Voucherify. [optional]
source_id str Unique product source ID. [optional]
name str Unique user-defined product name. [optional]
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`. [optional]
attributes List[str] 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. [optional]
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. It can be used to create product collections. [optional]
image_url str 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. The value is shown in the ISO 8601 format. [optional]
updated_at datetime Timestamp representing the date and time when the product was updated. The value is shown in the ISO 8601 format. [optional]
object str The type of the object represented by JSON. This object stores information about the product. [optional] [default to 'product']
skus SkusListForProduct [optional]

[Back to Model list] [Back to API list] [Back to README]