Gift Card Orders Lifecycle
The Gift Card Orders Lifecycle BPM illustrates the process of fulfilling digital as well as physical gift card orders placed by customers on eCommerce.
Gift cards are stored-value cards that carry a value determined at the time of the card's purchase. They are often given as gifts or rewards and are redeemable for products up to the value stored on the card.
To explain the Gift Card Orders Lifecycle BPM, we've opted NetSuite as the ERP system, Shopify for eCommerce, and HotWax Commerce for the OMS because most of our customers use this tech stack.
What is the role of NetSuite?
NetSuite serves as an ERP system and oftentimes also as an fulfillment solution in warehouse locations.
HotWax Commerce being an Order Management System downloads all orders, including gift cards orders from Shopify. Let’s first understand how are physical and digital gift cards different from each other:
Physical Gift Cards:
Physical gift cards are tangible cards that customers can buy online or in-store. These cards come with a unique serial number that customers can use to redeem the value stored in the card. Let’s see what happens when customers place online orders for physical gift cards:
Preparation and processing: These cards are assigned a unique serial number and predefined value loaded onto them when they are processed and prepared for shipping.
Activation: After processing, gift cards are activated in Shopify so that when customers receive their physical gift card, they can use the gift card serial number to redeem their purchase.
Digital Gift Cards:
Digital gift cards, also known as e-gift cards, are virtual equivalents of physical gift cards. Customers receive them via email or text message along with a unique serial number that they can use to redeem the value stored in the card.
Preparation and processing: Customers instantly receive digital cards upon purchase via email and therefore they are immediately fulfilled.
Activation: Digital gift cards are auto-activated in Shopify.
Physical Gift Cards
1. Order Creation
As discussed in the Order Lifecycle BPM, a dedicated Import Orders job in HotWax Commerce downloads new orders from eCommerce platforms like Shopify. HotWax Commerce downloads physical gift card orders from Shopify in the same way like any other order item.
2. Order Synchronization
The process of synchronizing physical gift card orders from HotWax Commerce to NetSuite remains straightforward like any other order item. A dedicated job in HotWax Commerce prepares and exports a feed of orders marked as "Created" to NetSuite.
NetSuite's SuiteScript then consumes this order data and generates orders in the "Pending Fulfillment" status.
3. Synchronize Orders ID and Item Line IDs to HotWax Commerce
HotWax Commerce ensures confirmation of successful order item synchronization with NetSuite. To achieve this, a dedicated job in HotWax Commerce downloads NetSuite's internal IDs, while another job downloads NetSuite's item line IDs. This process triggers multiple actions in HotWax Commerce and NetSuite:
A scheduled job in HotWax Commerce also creates customer deposit records in “Undeposited” status in NetSuite.
A scheduled job in HotWax Commerce updates the order status from "Created" to "Approved".
As discussed in Order Lifecycle BPM, only orders with approved status are eligible to be brokered in HotWax Commerce and orders without approval remain in the "Created" status.
Approved physical gift card order items are brokered in HotWax Commerce, upon allocation, HotWax Commerce begins syncing them to systems that are responsible for fulfillment of those gift card items.
4. Order Brokering in HotWax Commerce
Now that physical gift card orders have been approved, they are automatically sent to the Brokering Queue
which serves as a waiting area for orders awaiting processing. Just like regular order items in this queue, gift card items are also analyzed and picked in the brokering run and subsequently the order routing engine allocates them to optimal fulfillment location.
In the event where a gift card order is allocated to a warehouse fulfillment location, HotWax Commerce synchronizes allocation details to NetSuite.
When a gift card is allocated to stores for fulfillment, they automatically show up in the HotWax Commerce Fulfillment App
.
5. Orders Allocated to Warehouse
A dedicated job in HotWax Commerce synchronizes gift card items with their respective fulfillment locations to NetSuite.
NetSuite’s SuiteScript consumes this feed and updates fulfillment location on corresponding gift card orders.
When the warehouse fulfillment team begins the fulfillment of a gift card, an item fulfillment record is created in NetSuite. As soon as the item is picked, packed and shipped multiple actions take place in NetSuite:
The item fulfillment record is marked as “Shipped”.
The initial order status is updated from “Pending Fulfillment” to “Pending Billing”.
Finally, once the invoice is auto generated, the order status is updated from “Pending Billing” to “Billed”.
6. Activation of Gift Cards
NetSuite’s script generates a feed containing gift card items, their assigned serial numbers, and values corresponding to the gift card orders.
A scheduled job in HotWax Commerce Integration Platform reads this feed, runs transformation and generates a JSON file with the relevant data required for the gift card activation, including, gift card items, their assigned serial numbers, corresponding values in NetSuite.
Finally, once the JSON is prepared, HotWax Commerce Integration Platform initiates the gift card activation process in the eCommerce platform. Because most of our customers are using Shopify as their eCommerce platform, in this scenario HotWax Commerce Integration Platform calls Shopify API to activate the gift card.
7. Order Item Shipped
NetSuite's script exports item fulfillment records marked as "Shipped". A scheduled job in HotWax Commerce consumes this feed, and following actions take place:
The fulfillment status of the corresponding gift card order item in HotWax Commerce is updated to "Shipped".
The order status is automatically updated from "Approved" to "Completed" in HotWax Commerce.
5. Orders Allocated to Store
Let's take a look at how physical gift card orders are fulfilled from stores.
When physical gift cards are allocated to a store, they automatically appear in the HotWax Commerce Fulfillment App
. The store’s fulfillment team uses the app to prepare these gift card orders for shipment.
Once a gift card item is successful picked, the fulfillment status changes to "Picked".
After packing, the status updates to "Packed".
As part of the process, store associates assign a unique serial number to each gift card and load the corresponding value onto it.
Finally, when the item is marked as shipped in the
Fulfillment App
, the fulfillment status is then updated to "Shipped".
6. Activation of Gift Cards
HotWax Commerce Fulfillment App
also enables store associates to activate gift cards directly. During fulfillment, when a unique serial number is applied and the value is loaded onto the card, HotWax Commerce runs a scheduled job to sync these codes with Shopify, where the gift cards are activated.
This activation step ensures that the gift card is fully functional and customers can use the unique serial number they received in their email to redeem the value stored in the gift card.
7. Order Item Shipped
When all items of an order are marked “Shipped” in the Fulfillment App
, the order status is automatically updated from “Approved” to “Completed” in HotWax Commerce.
In HotWax Commerce, a scheduled job prepares and exports a feed containing gift card items marked as “Shipped”. NetSuite’s script consumes these records and multiple actions take place:
The item fulfillment record is created and marked as “Shipped”.
The initial order status is updated from “Pending Fulfillment” to “Pending Billing”.
Finally, once the invoice is auto generated, the order status is updated from “Pending Billing” to “Billed”.
This marks the completion of physical gift card orders in NetSuite.
8. Synchronize Fulfillment Updates to eCommerce
Once a gift card order reaches the "Completed" status in HotWax Commerce, a scheduled job in HotWax Commerce sends the tracking details to Shopify and marks the gift card orders as “Fulfilled”.
This process remains consistent regardless of whether the gift card order fulfillment is performed in NetSuite or the Fulfillment App
.
This marks the completion of the physical gift card order lifecycle.
When walk-in customers purchase a physical gift card from the store, it is treated as a regular POS order in HotWax Commerce. HotWax Commerce syncs those orders with NetSuite in the POS sales synchronization to NetSuite.
Digital Gift Cards
1. Order Creation
When customers order a digital gift card on Shopify, after the order is created, Shopify immediately auto fulfills the order, assigns a serial number to digital gift card, loads the value to activate the gift card and consequently, when HotWax Commerce downloads that order from Shopify, it is automatically marked as “Completed”.
Digital gift cards are auto-activated and customers can directly redeem them by entering a unique serial number provided with the card.
2. Order Synchronization
Digital gift cards are already in the “Completed” status in HotWax Commerce. HotWax Commerce also synchronizes them with NetSuite so that customer deposits can be created against them and invoices can be generated.
A scheduled job in HotWax Commerce Integration Platform generates a feed gift card orders that are in “Completed” status and do not have a NetSuite order item line IDs. This helps make sure that only relevant orders are synchronized to NetSuite and regular orders that are “Completed” in HotWax Commerce are not synchronized again to NetSuite.
NetSuite’s script reads this feed and creates gift card orders in the “Pending Fulfillment” status.
3. Synchronize Orders ID and Item Line IDs to HotWax Commerce
A dedicated job in HotWax Commerce downloads NetSuite's internal IDs, while another job downloads NetSuite's item line IDs.
Once NetSuite order ID and item line IDs are synced to HotWax Commerce, a scheduled job in HotWax Commerce creates customer deposits for corresponding gift card orders in the “Undeposited” status in NetSuite.
By default non inventory items like digital gift cards are configured to be not eligible for fulfillment in NetSuite. Therefore digital gift cards are automatically fulfilled in NetSuite and their status updated from “Pending Fulfillment” to “Pending Billing”.
Subsequently, invoice is auto generated in NetSuite in the status “Paid”, and the customer deposit status is automatically updated from “Not Deposited” to “Fully Applied”.
This marks the completion of the digital gift card order lifecycle.
It's crucial to note that both physical and digital gift cards, once activated on Shopify or Shopify POS, can be redeemed by customers either online or in-store.
Last updated