The Shopify order to NetSuite order flow now syncs the assigned location and delivery method from Shopify to NetSuite per line item. This enhances merchant visibility of these fields during item fulfillment.
Before you run the flow, certain configurations and mappings must be completed within the integration app. Follow the steps below to ensure proper configuration before executing the flow.
-
Go to Settings > Order > POS.
-
Check the Buy Online, pick up in-store setting.
Once the setting is enabled, the Get order fulfillment info from Shopify lookup is populated in the flow.
In the Shopify order to NetSuite order flow, click Mappings in the Post orders to NetSuite import step, and add the necessary mappings for the delivery method and assigned location fields as described below.
-
Create a custom field in NetSuite (at Order and Fulfillment Lines). Example, Items: Delivery Method Line. To create a transaction line custom field in NetSuite:
-
Navigate to Customization > List, Records & Fields > Transaction Line Fields > New.
-
Fill in the required fields.
-
In the Applies To, select the Sale Item and Item Fulfillment checkboxes.
-
Click Save.
-
-
Refresh the mappings at the flow level to see the custom field. Map the Shopify to NetSuite fields as shown below: line_items[*].delivery_method.method_type :: Items: Delivery Method Line
-
Map the Shopify to NetSuite fields as shown below: line_items[*].assigned_location_id :: Items: Location (InternalId)
-
Click Settings across the mapped field.
-
In the Field mapping type, select Lookup.
-
In the Options, select Static: Value to value.
-
In the Export field value textbox, add the Shopify location ID. To retrieve location IDs from Shopify:
-
Navigate to locations.json in Shopify > Admin. For example: https://admin.Shopify.com/store/<your_store>/locations.json. This URL displays all Shopify location details.
-
Use the Shopify location ID to create a static mapping between the Shopify location and the appropriate NetSuite location name. Select the desired NetSuite location name from the static mapping dropdown.
-
-
In the Import field value textbox, add the corresponding NetSuite location.
-
In the Action to take if unique match not found field, select Use empty string as default value (mandatory field selection).
-
Click Save & close.
Run the Shopify order to NetSuite order flow to sync the delivery method and assigned location fields to NetSuite.
Once the flow has run:
-
Open NetSuite and search for the synced order using the global search.
-
Review the line items to confirm that both the location and delivery method data have been synced at the line-level.