BigCommerce macros variables

Updated 2 weeks ago by philippe Roireau

BigCommerce macros variables

Here is the complete list of BigCommerce macros variables you can use in your macros

Data format for macros

Big Commerce Data

{{ticket.customer.data}}

First Name

{{ticket.customer.data.first_name}}

Last Name

{{ticket.customer.data.last_name}}

phone

{{ticket.customer.data.phone}}

Big Commerce Customer

{{ticket.customer.customer}}

Order 

{{ticket.customer.data.orders[0].id}}

Big Commerce Order

{{ticket.customer.data.orders[0].id}}

Customer message

{{ticket.customer.data.orders[0].message}}

Order Date created

{{ticket.customer.data.orders[0].date_created}}

Order Date shipped

{{ticket.customer.data.orders[0].date_shipped}}

Items shipped

{{ticket.customer.data.orders[0].shipments[0].date_created}}

Items total

{{ticket.customer.data.orders[0].shipments[0].items_total}}

Refunded amount

{{ticket.customer.data.orders[0].refunded_amount}}

Staff notes

{{ticket.customer.data.orders[0].staff_notes}}

Status

{{ticket.customer.data.orders[0].status}}

Total inc tax

{{ticket.customer.data.orders[0].total_inc_tax}}

Shipments

{{ticket.customer.data.orders[0].shipments[0]}}

Date created

{{ticket.customer.data.orders[0].shipments[0].date_created}}

Shipping provider

{{ticket.customer.data.orders[0].shipments[0].shipping_provider}}

Tracking link

{{ticket.customer.data.orders[0].shipments[0].tracking_link}}

Tracking number

{{ticket.customer.data.orders[0].shipments[0].tracking_number}}

Shipping address

{{ticket.customer.data.orders[0].shipping_addresses[0]}}

City

{{ticket.customer.data.orders[0].shipping_addresses[0].city}}

Company

{{ticket.customer.data.orders[0].shipping_addresses[0].company}}

Country

{{ticket.customer.data.orders[0].shipping_addresses[0].country}}

Country iso2

{{ticket.customer.data.orders[0].shipping_addresses[0].country_iso2}}

Email

{{ticket.customer.data.orders[0].shipping_addresses[0].email}}

First name

{{ticket.customer.data.orders[0].shipping_addresses[0].first_name}}

Last name

{{ticket.customer.data.orders[0].shipping_addresses[0].last_name}}

Phone

{{ticket.customer.data.orders[0].shipping_addresses[0].phone}}

State

{{ticket.customer.data.orders[0].shipping_addresses[0].state}}

Street 1

{{ticket.customer.data.orders[0].shipping_addresses[0].street_1}}

Street 2

{{ticket.customer.data.orders[0].shipping_addresses[0].street_2}}

Zip

{{ticket.customer.data.orders[0].shipping_addresses[0].zip}}


How did we do?


Powered by HelpDocs (opens in a new tab)