Help Center

Shopify Feed Template

Yesenia DeSalle
Yesenia DeSalle
  • Updated

With GoDataFeed's Feed Template operations, you can easily manage your Shopify products by performing tasks like product insertion, update, and deletion, using our data sources available through various e-commerce channels, including Walmart, Amazon, and more.

 

Key Terms

Bulk Operations: Bulk Operations refer to a group of product insertions, updates, or deletions that are processed together as a single task, instead of performed individually.

Parentage: In Shopify, a parent product is a template for a product that can have multiple variations, which are known as variant products

Jsonl Files: Json Lines (Jsonl) is a data format utilized by Shopify for importing and exporting their data, where each line in the file represents a single Json object.

 

Required Shopify Credentials for Product Imports

  • Base URL: The Shopify store's web address, such as https://your- development-store.myshopify.com.

  • Admin Access Token: A secure and unique token that provides access to the Shopify store's admin API, enabling product imports and updates. This token is generated by the store's admin and must be kept confidential to prevent unauthorized access.

    If the user already has a Shopify import set up, they can easily retrieve the Admin Access Token from it by following these steps:

  1. Navigate to the GoDataFeed app.

  2. Click on "Import" and then select "Primary Source".

  3. Click on "OAuth Token" to retrieve the Admin Access Token associated with the Shopify import.

Required Shopify Credentials for Product Imports

  • Base URL: The Shopify store's web address, such as https://your- development-store.myshopify.com.

  • Admin Access Token: A secure and unique token that provides access to the Shopify store's admin API, enabling product imports and updates. This token is generated by the store's admin and must be kept confidential to prevent unauthorized access.

    If the user already has a Shopify import set up, they can easily retrieve the Admin Access Token from it by following these steps:

  1. Navigate to the GoDataFeed app.

  2. Click on "Import" and then select "Primary Source".

  3. Click on "OAuth Token" to retrieve the Admin Access Token associated with the Shopify import.

Obtaining your Admin Access Token

Log in to your Shopify account and navigate to Settings:

 

Picture1.png

Go to App and sales channels:

Picture2.png

Develop Apps:Picture3.png

Create an app and give it a name:Picture4.png

Under Configuration select “Admin API integration”:

Picture5.png

Select the permissions for this Access Token. The required permissions for our Feed Template are the following:

  • Read/Write Metaobject Definitions

  • Read/Write Metaobject entries

  • Read/Write Product Feeds

  • Read/Write Product Listings

  • Read/Write Products

After having selected your permissions press save:

Picture6.png

Go to API Credentials and Install App:

Picture7.png

Finally, copy your access token and save it somewhere.

Feed Submission Parameters

Populate your Base URL and Admin Access Token:

Picture8.png

Advanced Settings

To prevent duplicate products, it's important to note that Shopify doesn't automatically check for duplicates during product insertion. If the same product is inserted multiple times, it will result in duplicated products.

To avoid this, we've added a checkbox that must be enabled before initiating the product insertion operation. This ensures that products are not inserted repeatedly and helps maintain a clean and organized product catalog.

Picture9.png

Import Source Setup

Product Insertion: To successfully insert products, ensure that your Shopify store has the "Allow Create Product" feature enabled and the import source is not set to Shopify.

Product Mapping for Shopify

Product Update and Deletion: To update or delete products, the Shopify store's import source must be set to Shopify as it requires the product IDs that are only available through Shopify's API.

If you're submitting products to Shopify, there are several key fields to keep in mind. Here are some important details about these fields:

 

Id and ParentId: 

  • ID and Parent ID fields are necessary when updating products in Shopify, and are only available if the import source is Shopify.

  • ID corresponds to "id" and Parent ID corresponds to "product_id" in the Shopify import.

  • Providing correct values for both fields is crucial to ensure a successful update.

Images:

  • Use "imgSrc" field for new product insertion to specify image URL for each product.

  • Use "imageId" property instead of "imgSrc" when updating existing products, only available when importing from Shopify, to efficiently reference existing images.

Quantity:

  • Shopify supports multiple inventory locations, but Godatafeed only allows up to 5 locations to be mapped for submitting to Shopify.

  • Each location ID in Godatafeed corresponds to an availableQuantity field, and both must be mapped if one or the other is populated.

  • Additionally, the "inventoryItemTracked" field in Godatafeed must be mapped to indicate whether the item's inventory will be tracked in Shopify.

    For fields that are not mentioned in this list, please carefully read their descriptions before mapping them and submitting products to Shopify.

The Delta functionality in GoDataFeed allows you to determine how to submit each SKU to your chosen e-commerce channel - as an insert, update, or delete. This is useful in cases where you no longer want to sell a particular SKU on the channel, as ending the product import for that SKU will automatically trigger a delete operation. This helps keep your product catalog updated and prevents the sale of products that are no longer available in your inventory.

Action Field

These values can be selected in GoDataFeed when submitting your product data to Shopify, allowing you to efficiently manage and update your product catalog on the platform.

Shopify.png

Things to Remember

Product Insert:

  • When inserting products, it is possible for duplicates to be created if the same products are inserted more than once.

  • The import source cannot be Shopify when inserting products.

     

Product Update:

  • When updating products, the import source MUST be Shopify, as we require the Shopify product and image IDs to properly update products.

  • When the import source is Shopify, the customer cannot insert products to Shopify.

     

Updating Parent Products

In Shopify, a parent product is the container of its variants, which means that all variants of a product inherit the title and other information from the parent product.

If a customer wants to modify product data, for example, to update the parent product's title, they can follow these steps:

  • Create a rule in GoDataFeed that sets the title field to the new value.

  • Make sure that the Parent ID field matches the parent product in Shopify.

  • Note that the Parent ID field is only available if Shopify is the import

    source, as it is specific to Shopify's product architecture.

  • Updating the parent product's title will update the titles of all its variants.

page10image59304720 page10image59304512 page10image59303680page10image59305552

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.