Order information.
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | Unique identifier of an existing order that will be linked to the redemption of this request. | [optional] |
| SourceId | string | Unique source identifier of an existing order that will be linked to the redemption of this request. | [optional] |
| Status | string | The order status. | [optional] |
| CustomerId | string | Unique customer identifier of the customer making the purchase. The ID is assigned by Voucherify. | [optional] |
| ReferrerId | string | Unique identifier of the referrer assigned by Voucherify. | [optional] |
| Amount | int? | A positive integer in the smallest currency unit (e.g. 100 cents for $1.00) representing the total amount of the order. This is the sum of the order items' amounts. | [optional] |
| DiscountAmount | int? | Sum of all order-level discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |
| AppliedDiscountAmount | int? | This field shows the order-level discount applied. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |
| ItemsDiscountAmount | int? | Sum of all product-specific discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |
| ItemsAppliedDiscountAmount | int? | Sum of all product-specific discounts applied in a particular request. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). `sum(items, i => i.applied_discount_amount)` | [optional] |
| TotalDiscountAmount | int? | Sum of all order-level AND all product-specific discounts applied to the order. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |
| TotalAppliedDiscountAmount | int? | Sum of all order-level AND all product-specific discounts applied in a particular request. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). `total_applied_discount_amount` = `applied_discount_amount` + `items_applied_discount_amount` | [optional] |
| TotalAmount | int? | Order amount after undoing all the discounts through the rollback redemption. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). | [optional] |
| Items | List<SimpleOrderItem> | Array of items applied to the order. It can include up to 500 items. | [optional] |
| Metadata | Object | A set of custom key/value pairs that you can attach to an order. It can be useful for storing additional information about the order in a structured format. It can be used to define business validation rules or discount formulas. | [optional] |
| Object | string | The type of the object represented by JSON. | [optional] |