Fulfillments (Shopify & Virtualstock Supplier)

Introduction

Patchworks pulls fulfilled orders from Shopify and the dispatch is then sent to Virtualstock Supplier, with the associated tracking number.

We pull newly updated orders with a fulfilled or partially-fulfilled status and filters on source_name = VS_Patchworks for sales orders.

Process flow snapshot

Process flow snapshot

Operations count

The operations count for this process flow is: 2 per fulfillment.

Process flow shapes

For reference, all shapes in this process flow are documented below. Do not change shape settings unless advised to do so in our installation guide.

ShapeNotes

Trigger

Having installed the blueprint, edit this shape and define your preferred run schedule. Please see the installation guide for specific notes.

Connector

This shape includes parameters that you should review/update. Please see the installation guide for specific notes. Source instance: Shopify Source endpoint: GET Retrieve a list of orders Parameters: created_at_min financial_status status fulfillment_status updated_at_min

Filter

There should be no need to change any settings for this shape. For reference, required settings are:

Source instance: N/A Source endpoint: N/A Filters: Set as: *.source_name string equals VS_Patchworks Keep matching: ON

Flow control

There should be no need to change any settings for this shape. For reference, required settings are: Source instance: N/A Source endpoint: N/A

Batch level: * Batch size: 1

Script

These settings should not be changed. For reference, required settings are: Script: Save Order URI ID to Meta Var Version: v5 (latest)

Flow control

There should be no need to change any settings for this shape. For reference, required settings are: Source instance: N/A Source endpoint: N/A

Batch level: *.fulfillments Batch size: 1

De-dupe

There should be no need to change any settings for this shape. For reference, required settings are: Source instance: N/A Source endpoint: N/A

Entity: Fulfillments Behaviour: Filter records

Data Pool: FulfillmentOrder Key field: *.id Behaviour: JSON

Add to cache

These settings should not be changed. For reference, required settings are: Cache: (Flow run) FulfillmentOrder Cache key: FulfillmentOrder Append: OFF Save all pages: ON

Map

Generally, field mappings should not be changed. However please refer to the installation guidelines for this process flow for any fields that are noted for special attention. Source instance: None Source endpoint: None

Connector

If instance credentials are provided as part of the blueprint installation, there should be no need to change any settings for this shape. For reference, the required settings are: Source instance: Virtualstock Supplier Source endpoint: POST Dispatch an order Variables: Set as OrderURI / [[meta.JLorderId]]

Load from cache

These settings should not be changed. For reference, required settings are: Cache: (Flow run) FulfillmentOrder Cache key: FulfillmentOrder Fail on cache miss: OFF Load all pages: ON

De-dupe

There should be no need to change any settings for this shape. For reference, required settings are: Source instance: N/A Source endpoint: N/A

Entity: Fulfillments Behaviour: Track records

Data Pool: FulfillmentOrder Key field: *.id Behaviour: JSON

Scripts used in this process flow

ScriptSummary

Save Order URI ID to Meta Var

Extracts URI from Shopify notes.

Cross-reference lookups used in this process flow

Cross-reference lookupSummary

Carrier map

Maps Shopify tracking companies to Virtualstock carriers (and vice versa). You need to update this table with your own values - please see the installation guide for details.

SKU Lookup

Maps Virtualstock Supplier part numbers to Shopify SKUs. You need to update this table with your own values - please see the installation guide for details.

Last updated