Documentation / Product / Integrations / Shopify

Shopify: Import Products

Importing Shopify products allows you to enrich your use of Affinities with product data from your Shopify store. Serve your customers with relevant messaging and product recommendations based on how they have engaged with your brand.

Integration Details

This import utilizes the Shopify Product API to import user data. Once the import is started the job will:

  1. Import all products updated after the configured Start Date and up to the configured End Date into the shopify_products stream. If no dates are specified in the configuration, all products will be imported.
  2. If Keep Updated is selected, the workflow will import modified products daily.

Fields

The following fields are included in the default mapping of the shopify_products stream:

Source FieldLytics Content FieldDescriptionType
variants.created_atcreatedDate Createddate
variants.inventory_quantityinventory_quantityInventory Quantitynumber
variants.pricepricePricenumber
variants.skuskuSKUstring
variants.updated_atupdatedDate Updateddate
body_htmllong_descriptionstring
idshopify_product_id unique idShopify Product IDstring
set(hash(urlmain(url)))hashedurl unique id[]string
set(tags)shopify_product_tags[]string
set(tags)tags[]string
sourcesourcestring
titledescriptionstring
titleshopify_product_titlestring
url(image.src)primary_imagestring
url(url)urlstring

Configuration

Follow these steps to set up and configure an import job for Shopify in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Shopify from the list of providers.
  2. Select the Import Products job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. In the Start Date input, enter a date in format yyyy-mm-dd to begin importing from.
  7. In the End Date input, enter a date in format yyyy-mm-dd to import until.
  8. Check the Keep Updated checkbox to import products daily.
  9. Click Start Export. shopify product configuration