LS Central Scheduler for Shopify

When pulling and updating data to and from Shopify, use the LS Central Scheduler.

There are a few code units that can be scheduled to handle this. They all run against all stores defined in the Shopify Administration page. In case of multi-store setup, the Scheduler jobs can also run against one store by adding the Store Code into the Code field in the Scheduler Job card.

Scheduler Job Name Code Unit ID Code Unit Name Info
SHOPIFY-CUSTOMER 10034384 LSCShopifySchContact Pulls a customer from Shopify and creates member contacts in LS Central. Sends Customer or Member Contacts from LS Central and create Customers in Shopify.

Last Customer Update in Shopify Admin filter out which customers to pull.

SHOPIFY-IMAGE 10034385 LSCShopifySchImage Sends images for Items and Variants and Collections to Shopify products.

Note: Keep Image Display Order in sequence from 0 and up. Only one image can be assigned to Item Variant, but main Item can have many images.

SHOPIFY-INV 10034380 LSCShopifySchInventory Calculates inventory and sends to Shopify. Data is taken from the Inventory Lookup Table in LS Central.

To use Sourcing Locations, activate Create Inventory for Sourcing Location in the LS Commerce section in the Store card. Inventory qty will then be the total of Net Inventory and Sourcing Location Inventory.

Boolean value, under Object Setup in the Scheduler Job card, is used to tell the job to reset and initialize Inventory data. Set to true to Reset inventory status or it can be done from the Action menu in the Administration page.

Note: Initialize inventory is needed the first time the job is run.

SHOPIFY-ITEM 10034382 LSCShopifySchItem Send items and variants as products to Shopify.
SHOPIFY-ORDER 10034381 LSCShopifySchOrder Pulls orders from Shopify and create Customer Orders in LS Central. This will also pull Fulfilled and Canceled orders from Shopify and process them in LS Central.

Last Order Pull in Shopify Admin filter out which orders to pull.

SHOPIFY-PRICE 10034383 LSCShopifySchPrice Updates the Sales Price in Shopify. Prices are taken from the WI Price table.

If Send Discount is selected, this will also send Discount offers and Multi-buy discounts to Shopify.

Uses Last Action Entry No. in the Store card for processing of Pre-Actions and Last Price Update in the Shopify Admin to filter which items to update.

Note: The COMMERCE_INIT Scheduler job needs to be executed once before Price updates can be done.

You can run these code units directly from the Shopify Administration page.

Note: Running from the Administration page is for test runs and some of the calls do not update the latest counter that is registered to the Scheduler job.

  • Click Actions, and select the appropriate sub-menu.
    • Update: To run item, inventory, and price updates.
    • Pull: To pull orders or customers
    • Item: To send one item and delete one item in Shopify.
      Note: If the item is not part of Item Distribution for the Shopify store, inventory and prices will not be updated for that item when those update code units are executed.