Name | Type | Description | Notes |
---|---|---|---|
object | String | The type of object represented by JSON. This object stores information about the `order_item`. | [optional][default to 'order_item'] |
source_id | String | The merchant’s product/SKU ID (if it is different from the Voucherify product/SKU ID). It is useful in the integration between multiple systems. It can be an ID from an eCommerce site, a database, or a third-party service. | [optional] |
related_object | String | Used along with the source_id property, can be set to either sku or product. | [optional] |
product_id | String | A unique product ID assigned by Voucherify. | [optional] |
sku_id | String | A unique SKU ID assigned by Voucherify. | [optional] |
quantity | Integer | The quantity of the particular item in the cart. | [optional] |
discount_quantity | Integer | Number of dicounted items. | [optional] |
amount | Integer | The total amount of the order item (price * quantity). | [optional] |
discount_amount | Integer | Sum of all order-item-level discounts applied to the order. | [optional] |
applied_discount_amount | Integer | This field shows the order-level discount applied. | [optional] |
price | Integer | Unit price of an item. Value is multiplied by 100 to precisely represent 2 decimal places. For example `10000 cents` for `$100.00`. | [optional] |