Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 4.55 KB

File metadata and controls

54 lines (33 loc) · 4.55 KB

Voucherify.MemberActivityDataRedemptionOrder

Properties

Name Type Description Notes
id String [optional]
sourceId String [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 [optional]
amount Number 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. and This is the sum of the order items' amounts. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). [optional]
discountAmount Number 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 Number 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 Number 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). and 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 Number 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 Number 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 Number 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` and 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 Number 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 [MemberActivityDataRedemptionOrderItemsItem] 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] [default to 'order']
initialAmount Number This is the sum of the order items' amounts before any discount or other effect (e.g. add missing units) is applied. It is expressed as an integer in the smallest currency unit (e.g. 100 cents for $1.00). [optional]
createdAt Date Timestamp representing the date and time when the order was created. The value is shown in the ISO 8601 format. [optional]
updatedAt Date Timestamp representing the date and time when the order was last updated in ISO 8601 format. [optional]
customer MemberActivityDataRedemptionOrderCustomer [optional]
referrer MemberActivityDataRedemptionOrderReferrer [optional]
redemptions {String: OrderRedemptionsEntry} [optional]

Enum: StatusEnum

  • CREATED (value: "CREATED")

  • PAID (value: "PAID")

  • CANCELED (value: "CANCELED")

  • FULFILLED (value: "FULFILLED")

Enum: ObjectEnum

  • order (value: "order")