Summary / TL:DR: This article will introduce you to Premium Fulfillment Confirmation Emails in Blueshift.
...
Capability
Send a notification premium fulfillment confirmation email through Blueshift when a customer’s credit card is about to expire and an upcoming payment is dueto a customer after a successful renewal.
...
Description
When a customer 's credit card is about to expire and are set to auto-renew in an AMB item after the expire date, the card and order information are successfully renews a premium, the order information is sent to Decisions. The The Decisions workflow captures the update order information and generates an event to inform Blueshift about this. This event then triggers a campaign in Blueshift.
...
Event Payload Parameters
Parameters | 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] |
|
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, Mail, Etc. |
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 | |
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] | Array of items ordered |
...
Sample Payload
Code Block |
---|
{ "bill_to_address_street1": "address", "site": "14west. us", "order_total": "0.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_claim": "0", "quantity_ordered": 0, "quantity_returned": 0, "quantity_shipped": 1, "state": "", "street1": "some address 1", "street2": "ome address 2", "subscription_reference": "?", "unit_price": "0.00" } ], "product_tracking": "", "customer_title": "", "bill_to_address_postalcode": "XJR 1312", "tax_amount": "0.00", "cc_order_number": "JC000002", "bill_to_address_company": "", "_bsft_event_timestamp": "2022-02-11T15:08:18Z", "phone_number2": "", "customer_lastname": "Cooney", "order_source": "", "owning_org": "000", "bill_to_address_city": "XGHAJRA", "address_flag": "0", "timestamp_epoch": 1644592098, "timestamp": "2022-02-11T15:08:18Z", "bill_to_address_flag": "0", "order_total_less_tax": "0.00", "phone_number": "356 1234 1234", "customer_firstname": "Jason", "event": "premium_fulfillment_confirmation", "bill_to_address_street2": "", "_bsft_ts": "2022-02-11T15:08:18.280Z", "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": "", "event_uuid": "71b1e900-8b4c-11ec-bd10-0242ac110005", "email": "jcooney@14west.us", "device_id": null, "_bsft_transaction_uuid": "e70c68ca-524a-41a0-8ca3-eac77f59e748", "account_uuid": "1737ae67-d9f2-4e2b-a64c-eb793731a8ea", "control_group": "IGANAS", "bill_to_address_code": "ADDR-01", "bill_to_address_state": "", "advantage_customer_number": "000068200053", "line_items": [ "120SVPLIT" ] } |