Bulk import products with metafields with graphql API with jsonl file

I am working on APP and want to import bulk product into shopify store with the help of graphql API. I got the solution for import simple product but did not find any jsonl format by which i can import product with meta fields with graphql API

1 Like

Hello @vinodk

As per our knowledge and expertise, this is the query where you can get bulk Product according to using filter first and last element.

query{
  products(first:15) {
		edges{
                    node{
                         id
			 title
			 description
        metafields(first:15){
          edges{
            node{
              key
            }
          }
        }
      }
    }
  }
}

If you want to get the bulk Products, you can refer this link :

https://shopify.dev/docs/api/usage/bulk-operations/imports

You can also refer this Urls :

https://help.shopify.com/en/manual/customers/manage-customers

https://help.shopify.com/en/manual/promoting-marketing/create-marketing/customer-contact-information

Thank You!!

Thanks for your reply.
I do not want to get meta fields I want to create product with bulk import with meta fields

1 Like

Hello @vinodk
Both are different things We can create product with mutation, also we need to create one more query for bulk import with meta fields i.e Query