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.

This blueprint includes two process flows to handle the sync of fulfillments between Shopify and Brightpearl: Shopify > Brightpearl (detailed here) and Brightpearl > Shopify. You only need to run ONE, depending on which way you want the sync to work.

Process flow snapshot

Click to view process flow snapshot

Limitations

Limitation
Summary

Tracking

The goods out note does not support tracking numbers.

Assumptions

Assumption
Summary

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.

Flow variable
Summary
Default value

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

For information on working with flow variables, please refer to our flow variables documentation.

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
Notes

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

Script
Summary

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?