Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.52 KB

OrderBase.md

File metadata and controls

33 lines (21 loc) · 1.52 KB

OrderBase

Properties

Name Type Description Notes
status StatusEnum The order status. [optional]
amount Integer 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 Integer Sum of all order-level discounts applied to the order. [optional]
initialAmount Integer 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]
items List<OrderItem> Array of items applied to the order. [optional]
customer Customer [optional]
customerId String Unique customer ID of the customer making the purchase. [optional]
referrer Referrer [optional]
referrerId String Unique referrer ID. [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. [optional]

Enum: StatusEnum

Name Value
CREATED "CREATED"
PAID "PAID"
CANCELED "CANCELED"
FULFILLED "FULFILLED"