Skip to main content Skip to complementary content

Shopify

This page discusses creating a custom order with Shopify usingQlik Application Automation for OEM.

Create an order

Use the Snippet create line item for order to create individual line items for the order:

Creating individual line items.

an automation consisting of a Start block, a Create Line Item For Order block, a Variable: Lineitems block, and a Create Order block. The Create line Item For Order block is selected. Quantity is set to 4.

Add these line items one by one to a variable of type list:

Adding line items to a list variable.

As above, but the Variable block is selected. The variable is a list, and the data from the Create Line Item For Order block is added to the list.

If you use this in a loop, make sure to make the list empty for each new order. Finally, use the variable of type list as the input for the line items, in the Shopify block Create order:

Adding a list to an order.

As above, but the Create Order block is selected. The Line Items field contains the Line Items list from the Variable block.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!