You may prefer to have Infoplus reject orders based on their 'fulfillment status', such as excluding orders that have already been fulfilled.
Use Scripts to reject Shopify orders in a 'fulfilled' fulfillment status
Infoplus Support can help with general questions about how scripting works. For help with a specific script or its outputs, you will need to submit a Pro Services request for paid support. Pro Service request form can be found here.
By default, Infoplus will manually import an order from Shopify regardless of its fulfillment status. This includes automated order imports that result from a web-hook notification, as well as any orders specified for manual import using the "Import Orders" process from a Shopping Cart Connection record within Infoplus. You may prefer to have Infoplus reject orders based on their 'fulfillment status', such as excluding orders that have already been fulfilled, when importing old orders when bringing on a new client. This can be accomplished using an Infoplus Script.
The first step is creating a script with the Script Type of "Shopping Cart Connection Order". Next, populate the code section of the script with the following.
After the script is written and saved, it must be applied to the the Shopify Shopping Cart Connection record in Infoplus. Navigate to this record, select edit from the actions menu (or press the 'e' key), then in the script field select the script that was previously created. Finally, don't forget to save the connection by clicking the Save button at the bottom of the changes.
Once the script has been applied to the shopping cart connection, the script log table can be used to confirm the script is working as expected.