Skip to content

Files

Latest commit

a078868 · Nov 28, 2024

History

History
18 lines (12 loc) · 1.51 KB

OrderItemProduct.md

File metadata and controls

18 lines (12 loc) · 1.51 KB

OrderItemProduct

An object containing details of the related product.

Properties

Name Type Description Notes
id str A unique identifier that represents the product and is assigned by Voucherify. [optional]
source_id str 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 bool 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 str 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]

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