Order

order

The order object has the following attributes:

order.id

Returns the id of the order.

order.order_no

Returns the order number of the order.

order.create_time

Returns the create_time of the order.

order.post_sale_status

Returns the post_sale_status of the order.

order.email_status

Returns the email status of the order.

order.recovery_status

Returns the recovery status of the order.

order.note

Returns the note of the order.

order.customer_note

Returns the customer note of the order.

order.currency_code

Returns the currency code of the order.

order.sub_total

Returns the total price of products .

order.shipping_total

Returns the logistics fee of the order.

order.tax_total

Returns the tax of the order.

order.discount_total

Returns the discount price of the order.

order.discount_applications

Returns the order discount information of applications.

order.discount_code

Returns the discount code of the order.

order.total

Returns the actual price of the order.

order.shipping_address_editable

Bool, return true or false.

order.browser_ip

Returns the browser ip of the order.

order.source

Returns the first visit landing page URL.

order.source_name

Returns the source name of the order.

order.sales_platform

Returns the sales platform of the order.

order.device

Returns the device of the order.

order.shipping_line.name

Returns the shipping profile's title of the order.

order.customer

Returns the order's customer object.

order.shipping_address

Returns the order's shipping_address object.

order.line_items

Returns the order's line_items object.

order.payment_line

Returns the order's payment_line object.