skip to Main Content

Shopify API how to do a search query with like

Hey guys I try to do some searching functions but it is not possible with shopifyAPI gem ShopifyAPI::Product.find(:all, conditions: ["title LIKE ?", "%#search%"], params: {limit: 20, page: 1}) With this function I got all products. ShopifyAPI::Product.find(:all, conditions: ["title LIKE ?",…

VIEW QUESTION

Shopify API upload a local image via python

import shopify from base64 import b64encode #omitted the shopify key shopify.ShopifyResource.set_site(shop_url) path = "product.jpg" new_product = shopify.Product() new_product.title = "title" new_product.body_html = "This is a test" image = shopify.Image() with open(path, "rb") as f: filename = path.split("/")[-1:][0] #encoded = b64encode(f.read())…

VIEW QUESTION

Working with Shopify API

Is is possible to create a customer in Shopify via their API? To elaborate, I want to use Shopify to manage my customers and orders and so on. But my website registration page, for a particular reason, isn't on Shopify…

VIEW QUESTION
Back To Top
Search