ms.order

This widget is used to show all the information about a user's orders in his account.


Variables

itemsThis field contains an array of items for which the order has been placed. Array contains items_id, name, alias, discounts and other details.
emailThis field contains email id of a customer.
sub_totalThis field contains the total amount of the order before any shipping charges or taxes are applied on it.
totalThis field contains total amount paid for the order.
item_countThis contains total numbers of items which are added to cart.
billing_addressThe billing address associated with the payment method. This address is an optional field that will not be available on orders that do not require one. It has the following properties:
full_name: The full name of the person associated with the payment method.
address: The street address of the billing address.
city: The city of the billing address.
state: The state of the billing address.
country: The name of the country of the billing address.
zip: The zip or postal code of the billing address.
phone: The phone number at the billing address.
shipping_addressThe shipping address associated with the payment method. This address is mandatory. It has the following properties:
full_name: The full name of the person associated with the payment method.
address: The street address of the shipping address.
city: The city of the shipping address.
state: The state of the shipping address.
country: The name of the country of the shipping address.
zip: The zip or postal code of the shipping address.
phone: The phone number at the shipping address.
taxes_totalThis field contains the total tax amount charged on the order.
taxesIt is an array of object containing details of taxes applied on the order.
shipping_totalThis field contains the total shipping amount charged on the order.
ecouponIt contains the information about the coupon applied on the order.
discountsIt is an array of object containing details of the discounts applied on the order.
statusThe current status of the order, like open, closed, cancelled, refunded, etc.
currencyIt is an object containing name and conversion_rate of currency, at the time when order was placed.
order_idThe unique identifier of the order that has been placed.
optionsIt contains the information about the order options applied on the order.
payment_methodThis field contains the object of payment gateway via which the order has been placed. This contains _id, name, type and settings.
shipping_methodThis field contains the object of shipping method which has been applied on the order. This contains _id, name and price of shipping method.
additional_chargesIt is an array of object containing details of additional charges applied on the order.
financial_statusIt tells whether the order is paid or pending (COD).
metafieldsIt contains the additional data related to the order (if any).
created_onGives us information about the date and time when the order was placed.
shipping_statusIt tells about the status of shipping like shipped, in transit, RTO, delivered, etc.
fulfillmentsIt is an array of object containing details of fulfilled items of the order.
fulfillment_statusIt tells about the status of the fulfillments.
walletsIt is an array of object containing details of the wallets used while placing the order.