Redicom Help Center

order

order.order_number

Version 1.0

Returns the value of the order_number field of the order.

Input

{{ response.order.order_number }}

Output

1245

order.name

Version 1.0

Returns the value of the name field of the order.

{% for item in response.orders %}
<h2>{{item.name}}</h2>
{% endfor %}

Input

{{ response.order.name }}

Output

ST2014/001254

order.email

Version 1.0

Returns the value of the email field of the order.

{% for item in response.orders %}
<p>{{item.email}}</p>
{% endfor %}

Input

{{ response.order.email }}

Output

info@redicom.pt

order.created_at

Version 1.0

Returns the value of the created_at field of the order.

{% for item in response.orders %}
<span>{{item.created_at|date("Y-m-d")}}</span>
{% endfor %}

Input

{{ response.order.created_at }}

Output

2015-02-05 10:40:25

order.customer

Version 1.0

Returns all of the line customer in the order.

order.discounts

Version 1.0

Returns all of the line discounts in the order.

order.fulfillment_status

Version 1.0

Returns the value of the fulfillment_status field of the order.

Input

{{ response.order.fulfillment_status }}

Output

1

order.fulfillment_status_label

Version 1.0

Returns the value of the fulfillment_status_label field of the order.

{% for item in response.orders %}
<p>{{item.fulfillment_status_label}}</p>
{% endfor %}

Input

{{ response.order.fulfillment_status_label }}

Output

Em Transito

order.financial_status

Version 1.0

Returns the value of the financial_status field of the order.

Input

{{ response.order.financial_status }}

Output

1

order.financial_status_label

Version 1.0

Returns the value of the financial_status_label field of the order.

{% for item in response.orders %}
<p>{{item.financial_status_label}}</p>
{% endfor %}

Input

{{ response.order.financial_status_label }}

Output

Pagamento efectuado

order.lines

Version 1.0

Returns all of the line lines in the order.

order.billing_address

Version 1.0

Returns all of the line billing_address in the order.

order.shipping_address

Version 1.0

Returns all of the line shipping_address in the order.

order.shipping_price

Version 1.0

Returns all of the line shipping_price in the order.

order.subtotal_amount

Version 1.0

Returns all of the line subtotal_amount in the order.

order.tax_amount

Version 1.0

Returns all of the line tax_amount in the order.

order.total_price

Version 1.0

Returns all of the line total_price in the order.

order.transactions

Version 1.0

Returns all of the line transactions in the order.

order.fulfillment

Version 1.0

Returns all of the line fulfillment in the order.