nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
742 stars 309 forks source link

ProductListing API for Sales Channel app #173

Open marcel-silva opened 6 years ago

marcel-silva commented 6 years ago

Hi Guys,

Great work here, but I could't find the ProductListing API to use with Sales Channels apps. See doc: https://help.shopify.com/api/reference/productlisting

At the moment I'm doing the old fashion way, but it would be nice to keep all using ShopifySharp.

var client = new HttpClient(); client.DefaultRequestHeaders.Add("X-Shopify-Access-Token",token); HttpResponseMessage response = await client.GetAsync("https://"+shop+"/admin/product_listings.json?limit=250");

Please let me know if there is a way to retrieve only products assigned to Sales Channel app via ShopifySharp.

thanks

nozzlegear commented 6 years ago

Hey, thanks for filing this issue! I'll be happy to add support for the Product Listing API, but I can't promise a time frame. If you want to take a shot at this with a pull request I'd be happy to review it and offer guidance if wanted. Otherwise I'll get it in as soon as I have some extra time.

marcel-silva commented 6 years ago

Sorry I'm busy as well. Maybe once (and if) I finish this app I'm working on. :) thanks