To view this content in our official product documentation, click here.
Introduction
Locations must be synced between Shopify and NetSuite (otherwise the Shopify > NetSuite - sales order creation flow will fail).
This blueprint includes two process flows to handle this - you only need to run ONE, depending on which way you want the sync to work:
- Shopify > NetSuite - sync locations
- NetSuite > Shopify - sync locations (this flow)
The NetSuite > Shopify - sync locations flow retrieves all locations from NetSuite, then runs a script to check if they exist in Shopify. New locations are created (via the first branch), and address details for existing locations are updated (via the second branch).
Limitations
No limitations to note.
Assumptions
No assumptions to note.
Customisation
To ensure that this process flow runs as required, some customisation options are available. These are documented in the following sections:
Flow variables
This process flow does not use flow variables.
Process flow shapes
This process flow includes some shapes that can be configured with your own settings. Please see guidelines in the table below.
{% hint style="warning" %} Shape settings determine the outcome of process flows. Do not change shape settings unless they are listed below. {% endhint %}
| Shape | Notes |
|---|---|
| Trigger | The default setting is to run hourly, which is recommended. You can change the schedule if required. |
| Connector (NetSuite) |
If you did not add or select a NetSuite instance during the blueprint installation process, the following settings must be configured:
|
| Connector (Shopify) | If you did not add or select a Shopify instance during the blueprint installation process, the following settings must be configured:Source instance : Set to your required Shopify instance.Source endpoint : Set to POST Get all locations via graphql
|
| Connector (Shopify) Route: New location
|
If you did not add or select a Shopify instance during the blueprint installation process, the following settings must be configured:Source instance : Set to your required Shopify instance.Source endpoint : Set to POST Add location via graphql
|
| Connector (Shopify) Route: Update location
|
If you did not add or select a Shopify instance during the blueprint installation process, the following settings must be configured:Source instance : Set to your required Shopify instance.Source endpoint : Set to POST Upate location via graphql
|
Reference
Reference information for this process flow is documented in the following sections:
- Operations count
- Scripts used in this process flow
- Cross-reference lookups used in this process flow
Operations count
The operations count for this process flow is: x per order.
Scripts in this process flow
| Script | Summary |
|---|---|
| NS to Shopify - determine new and updated locations | Compares shopify and netsuite locations and outputs graphQL payloads for those that are new and those that are to be updated. No mappings are required - these payloads are consumed directly. |
Cross-reference lookups in this process flow
No cross-reference lookups to note.
Comments
0 comments
Please sign in to leave a comment.