ms.order

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


Variables

items
This field contains an array of items for which the order has been placed. Array contains items_id, name, alias, discounts and other details.
email
This field contains email id of a customer.
sub_total
This field contains the total amount of the order before any shipping charges or taxes are applied on it.
total
This field contains total amount paid for the order.
item_count
This contains total numbers of items which are added to cart.
billing_address
The 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_address
The 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_total
This field contains the total tax amount charged on the order.
taxes
It is an array of object containing details of taxes applied on the order.
shipping_total
This field contains the total shipping amount charged on the order.
ecoupon
It contains the information about the coupon applied on the order.
discounts
It is an array of object containing details of the discounts applied on the order.
status
The current status of the order, like open, closed, cancelled, refunded, etc.
currency
It is an object containing name and conversion_rate of currency, at the time when order was placed.
order_id
The unique identifier of the order that has been placed.
options
It contains the information about the order options applied on the order.
payment_method
This field contains the object of payment gateway via which the order has been placed. This contains _id, name, type and settings.
shipping_method
This field contains the object of shipping method which has been applied on the order. This contains _id, name and price of shipping method.
additional_charges
It is an array of object containing details of additional charges applied on the order.
financial_status
It tells whether the order is paid or pending (COD).
metafields
It contains the additional data related to the order (if any).
created_on
Gives us information about the date and time when the order was placed.
shipping_status
It tells about the status of shipping like shipped, in transit, RTO, delivered, etc.
fulfillments
It is an array of object containing details of fulfilled items of the order.
fulfillment_status
It tells about the status of the fulfillments.
wallets
It is an array of object containing details of the wallets used while placing the order.