Template variables
Map the numbered placeholders in your template body ({{1}}, {{2}}…) to any of the fields below. You can also use custom static values.
Customer
| Field | Example | Notes |
|---|---|---|
customer_name | Priya Sharma | Full name as Shopify has it. |
customer_first_name | Priya | Everything before the first space in customer_name. |
Order
| Field | Example | Notes |
|---|---|---|
order_number | #4521 | Shopify order name, with the leading hash. |
order_amount | INR 1299.00 | Formatted as {currency} {amount} with two decimals. |
currency | INR | ISO currency code from the order. |
Store
| Field | Example | Notes |
|---|---|---|
shop_name | kri-labs | Your myshopify handle without the .myshopify.com suffix. |
Shipping
Available on shipped and delivered stages (populated from the Shopify fulfillment).
| Field | Example | Notes |
|---|---|---|
tracking_number | 1Z999AA1 | Empty if the fulfillment has no tracking number yet. |
tracking_url | https://tracking.… | Carrier-provided URL. |
carrier_name | DHL | Carrier as reported by Shopify. |
Refund
Available on the refunded stage.
| Field | Example | Notes |
|---|---|---|
refund_amount | INR 1299.00 | Formatted like order_amount. Empty if amount is missing. |
COD confirmation button
Available on the cod_confirmation stage only. Use these in a template URL button, not the body.
| Field | Example | Notes |
|---|---|---|
confirmation_url | https://orderping.kri-labs.com/confirm/… | Full confirmation page URL for this order. |
confirmation_token | a1B2c3D4… | Just the per-order token — use this when your template’s URL button has a static base URL and a dynamic suffix. |
Custom static values
Instead of picking a field, you can set a placeholder to a static string you type in — useful for things like a fixed support contact or a brand tagline. Pick Custom value in the mapping UI and enter the text.
Fallback when a value is missingIf a resolved value comes back empty (e.g. the order has no tracking number yet), OrderPing sends the placeholder as
- so the template still validates.Was this page helpful?
Last updated 2026-04-18