Skip to main content

Order

Class name: Order

PropertyTypeDescriptionRequired
customerIdstringThe ID of the customer who placed the orderYes
vendorIdstringThe ID of the vendor who fulfils the orderYes
productIdstringThe ID of the product orderedYes
variationIdstringThe ID of the variation of the product ordered (if this is a variable product)No
quantityintThe quantity of the product orderedYes
completedAtstringThe date and time the order was completed in UTC ISO 8601 formatNo
platformenumThe platform where the order was placed. Options: web, android, iosYes
statusenumThe status of the order. Options: pending, confirmed, readyToShip, shipping, shipped, delivered, canceled, returnedYes
orderTrackingInfoOrderTrackingInfo[]The tracking information of the orderYes
currencystringThe currency the order was placed inYes
subTotaldoubleThe sub total of the orderYes
shippingCostdoubleThe shipping cost of the orderYes
totaldoubleThe total of the orderYes
paymentMethodenumThe payment method used to pay for the order. Options: stripe, paypalYes
shippingMethodenumThe shipping method used to ship the order. Options: freeShipping, more to be addedYes
shippingAddressAddressThe shipping address of the orderYes
expectedDeliveryDatestringThe expected delivery date of the order in UTC ISO 8601 formatYes