Version 1.0
Returns the value of the first_name field of the customer.
<input type="text" name="first_name" require="1" value="{{response.customer.billing_address.first_name}}" >
{{ response.customer.first_name }}
José
Version 1.0
Returns the value of the last_name field of the customer.
<input type="text" name="last_name" require="1" value="{{response.customer.billing_address.last_name}}" >
{{ response.customer.last_name }}
Matos
Version 1.0
Returns the value of the name field of the customer.
<input type="text" name="name" require="1" value="{{response.customer.billing_address.name}}" >
{{ response.customer.name }}
José Miguel Guimarães Matos
Version 1.0
Returns the value of the email field of the customer.
<input type="text" name="name" require="1" value="{{response.customer.billing_address.name}}" >
{{ response.customer.email }}
jose.matos@redicom.pt
Version 1.0
Returns the value of the phone field of the customer.
<input type="text" name="phone" require="1" value="{{response.customer.billing_address.phone}}" >
{{ response.customer.phone }}
913151917
Version 1.0
Returns 1 if the email associated with an order is also tied to a Customer Account. Returns 0 if it is not.
{{ response.customer.has_account }}
1
Version 1.0
Returns 1 if the customer accepts marketing, returns 0 if the customer does not.
{{ response.customer.accepts_marketing }}
1
Version 1.0
Returns all of the line default_address in the customer.
Version 1.0
Returns the number of addresses associated with a customer.
{{ response.customer.addresses_count }}
2
Version 1.0
Returns an array of all of the addresses associated with a customer. See customer_address for a full list of available attributes.
Version 1.0
Returns the billing billing_address of a customer.
Version 1.0
Returns the total number of orders a customer has placed since ever.
{{ response.customer.orders_count }}
4
Version 1.0
Returns the total number of orders a customer has placed in the last year.
{{ response.customer.recent_orders_count }}
2
Version 1.0
Returns all of the line recent_order in the customer.
Version 1.0
Returns the total amount spent on all orders.
{{ response.customer.total_spent }}
350.40
Version 1.0
Returns all of the line country in the customer.
Version 1.0
Returns the value of the birthdate field of the customer.
<input type="text" name="birthdate" require="1" value="{{response.customer.billing_address.birthdate}}" >
{{ response.customer.birthdate }}
1988-10-10
Version 1.0
Returns the value of the gender field of the customer.
{{ response.customer.gender }}