Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.33 KB

OrderItemProduct.md

File metadata and controls

13 lines (10 loc) · 1.33 KB

VoucherifySdk::OrderItemProduct

Properties

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. It can be used to create product collections. [optional]
price Float Product price. A positive integer in the smallest currency unit (e.g. 100 cents for $1.00). [optional]