Name | Type | Description | Notes |
---|---|---|---|
id | String | A unique identifier that represents the product and is assigned by Voucherify. | [optional] |
source_id | String | The merchant's product ID (if it is different than Voucherify's product ID). It is really useful in case of integration between multiple systems. It can be an ID from an eCommerce site, a database or a 3rd party service. | [optional] |
override | Boolean | The override set to `true` is used to store the product information in the system. If the product does not exist, it will be created with a source_id; if it does exist, the provided values for the name, price, and metadata will replace those already stored in the system. Override works only for endpoints that create an order in the database. | [optional] |
name | String | Product name. | [optional] |
metadata | Object | A set of custom key/value pairs that you can attach to a product. It can be useful for storing additional information about the product in a structured format. | [optional] |
price | Float | Product price. A positive integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |