Q: In the Shopify-NetSuite Integration App, is the gift card amount redeemed transaction held in the original order record?
A: Placing an order in Shopify with a Gift Card redemption creates a separate transaction record for the Gift Card redeemed amount and the created order record does not hold this information. To get this information by any 3rd party application, it would require you to make a call to the transaction resource API for the order.
Whenever the Integration App Order import flow runs for an order, it first checks the Integration App advanced setting "NetSuite item to track Shopify gift card redemption as a line item" for a set value. If it finds a value is set for the setting, it makes a call to Transaction resource API for the order and filters out all the successful Gift_Card transactions. It then creates a custom line-level item with the same price as the total of all the successful GIft_cards transaction's amount. Along with this, it also creates a custom property (transactions.gift_Card) in the received order data that holds the value for the summed amount and comma separates all the successful Gift_card ids.
Comments
Please sign in to leave a comment.