Phone Mail Order Confirmation
Summary / TL:DR: This article will introduce you to Phone Mail Order Confirmation Emails in Blueshift.
Capability
Send a confirmation email through Blueshift when a customer has placed an order via phone or snail mail
Description
When a customer places an order either via phone or snail mail, the order information is sent to Decisions. The Decisions workflow captures the order information and generates an event to inform Blueshift about this. This event then triggers a campaign in Blueshift.
Blueshift Event Name
phone_mail_order_confirmation
Event Payload Parameters
Parameter | Description |
---|---|
bill_to_address_street1 | The customers bill-to address primary street |
order_total | Total amount due for the order |
customer_suffix | The customers suffix, if applicable (i.e. Sr., Jr., II, Etc.) |
line_item [Array] | Array of objects that include item description, item number, item quantity, subscription expire, subscription start, unit price, etc. |
city | City of customer that is stored in Advantage |
country | County of customer that is stored in Advantage |
item_description | Description of the item ordered |
item_number | Code associated with the item in Advantage |
item_system_name | Name of the item ordered |
item_warehouse_number | Warehouse code associated with the item in Advantage |
post_code | Postal code of customer that is stored in Advantage |
promotion_choice | Promotion choice customer ordered on |
promotion_code | Promotion code customer ordered on |
quantity_back_ordered | Number of items ordered that are on backorder |
quantity_ordered | Number of items ordered |
quantity_returned | Number of items returned |
quantity_shipped | Number of items shipped |
state | State of customer that is stored in Advantage |
street1 | The primary street address of the customer |
street2 | The secondary street address of the customer |
subscription_reference | Unique identifier for customer subscription |
unit_price | Cost (rate) of the item ordered |
product_tracking | Tracking number, if applicable |
customer_title | The customers title, if applicable (i.e. Ms., Mr., Etc.) |
bill_to_address_postalcode | The customers bill-to address postal code |
tax_amount | The amount of tax applied to the order total |
cc_order_number | Order number that was generated by the transaction |
bill_to_address_company | The customers bill-to address company name (if applicable) |
phone_number2 | The customers secondary phone number |
customer_lastname | The last name of the customer |
order_source | How the order was placed. i.e. Phone or Mail |
owning_org | Code for the legal entity associated with the subscription |
bill_to_address_city | The customers bill-to address city |
address_flag | The customers address flag from Advantage |
bill_to_address_flag | The customers bill-to address flag from Advantage |
order_total_less_tax | The amount due before tax is applied |
phone_number | The customers primary phone number |
customer_firstname | The first name of the customer |
bill_to_address_street2 | The customers bill-to address secondary street |
tax_percentage | The percentage used to calculate the tax owed |
address_code | Code associated with the customers address in Advantage |
cc_order_date | Date the order was taken |
billing_currency | Type of currency used to place the order |
bill_to_address_country | The customers bill-to address country |
customer_middlename | The middle name of the customer |
Email address of bill-to customer | |
control_group | The control group used to place the order |
bill_to_address_code | Code associated with the customers bill-to address in Advantage |
bill_to_address_state | The customers bill-to address state |
advantage_customer_number | The customer number associated with that customer in Advantage |
line_items | Array of items ordered |
Sample Payload
Â
{
"bill_to_address_street1": "address",
"order_total": "200.00",
"customer_suffix": "",
"line_item": [
{
"city": "XGHAJRA",
"country": "MALTA",
"item_description": null,
"item_number": "120SVPLIT",
"item_system_name": null,
"item_warehouse_number": null,
"post_code": "XJR 1312",
"promotion_choice": "PLIT79",
"promotion_code": "W120W1XC",
"quantity_back_ordered": 0,
"quantity_ordered": 0,
"quantity_returned": 0,
"quantity_shipped": 1,
"state": "",
"street1": "some address 1",
"street2": "ome address 2",
"subscription_reference": "?",
"unit_price": "200.00"
}
],
"product_tracking": "",
"customer_title": "",
"bill_to_address_postalcode": "XJR 1312",
"tax_amount": "0.00",
"cc_order_number": "JC000001",
"bill_to_address_company": "",
"phone_number2": "",
"customer_lastname": "Cooney",
"order_source": "PHONE",
"owning_org": "000",
"bill_to_address_city": "XGHAJRA",
"address_flag": "0",
"bill_to_address_flag": "0",
"order_total_less_tax": "200.00",
"phone_number": "356 1234 1234",
"customer_firstname": "Jason",
"bill_to_address_street2": "",
"tax_percentage": "0.00",
"address_code": "ADDR-01",
"cc_order_date": "2021-09-10T04:00:00Z",
"billing_currency": "US$",
"bill_to_address_country": "MALTA",
"customer_middlename": "",
"email": "jcooney@14west.us",
"device_id": null,
"control_group": "IGANAS",
"bill_to_address_code": "ADDR-01",
"bill_to_address_state": "",
"advantage_customer_number": "000068200053",
"line_items": [
"120SVPLIT"
]
}
Â