Shopify > Brightpearl - fulfillment
Introduction
The flow retrieves fulfilled orders from Shopify and then searches for them in Brightpearl. The product, quantity and warehouse ID are sent to create a goods out note for these orders in Brightpearl.
Process flow snapshot
Limitations
Tracking
The goods out note does not support tracking numbers.
Assumptions
Brightpearl orders are up to date
This flow assumes that orders exist in both systems.
Sync direction
Running this flow assumes that you want to sync fulfillments in this direction (i.e. from Shopify to Brightpearl). If required, a flow for the reverse direction is available (Brightpearl > Shopify fulfillments). You should run one or the other.
There are no assumptions to consider for this flow.
Customisation
To ensure that this process flow runs as required, some customisation options are available. These are documented in the following sections:
Flow variables
The table below summarises flow variables defined for this process flow.
datefrom
Set the relative number of days to look back for orders. Update the default value as required. This variable is referenced in the first Shopify connector, where a filter query is defined to determine which orders to pull.
-24 hours UTC
Process flow shapes
This process flow includes some shapes that can be configured with your own settings. Please see guidelines in the table below.
Shape settings determine the outcome of process flows. Do not change shape settings unless they are listed below.
Trigger
No default schedule is defined. If you decide to sync in this direction (as opposed to syncing from Brightpearl to Shopify), you should set a schedule in line with your fulfillment requirements. For example, if warehouse activity stops at 6pm, you might run this flow at 7pm each day.
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 ffulfilled orders via graphql
Filter : The default filter references the datefrom flow variable as below:
Connector (Brightpearl)
If you did not add or select a Brightpearl instance during the blueprint installation process, the following settings must be configured:
Source instance : Set to your required Brightpearl instance
Source endpoint : Set to GET Search orders
Parameters : A default filter is defined to search (and match) on externalRef where the value is set to [[payload.name]]
Connector (Brightpearl)
If you did not add or select a Brightpearl instance during the blueprint installation process, the following settings must be configured:
Source instance : Set to your required Brightpearl instance
Source endpoint : Set to GET Order details
Id : Set to [[payload.id]]
Connector (Brightpearl)
If you did not add or select a Brightpearl instance during the blueprint installation process, the following settings must be configured:
Source instance : Set to your required Brightpearl instance
Source endpoint : Set to POST Create goods out note
Id : Set to [[meta.salesid]]
Reference
Reference information for this process flow is documented in the following sections:
Scripts in this process flow
Brightpearl determine fulfilment lines
Only outputs the lines that are fulfilled for Brightpearl.
Cross-reference lookups in this process flow
This process flow does not use cross-reference lookups.
Last updated
Was this helpful?
