App reviews, troubleshooting, and recommendations
I am new to Shopify, with referrence of Dev. docs an app developed using .Net Framework and installed it in partner api to get total products count with the client request uri as "xxxx.myshopify.com/admin/api/2023-10/products/count.json".
There is no error on the request but getting always with "count":0 as response, though the store is having many products . Anybody can help me to figure out the code/configuration where I'm doing wrong to get the total products count.
Here's the C# code to get products count.
var client = new RestClient("https://xxx.myshopify.com/");
var request = new RestRequest("admin/api/2023-10/products/count.json", Method.Get);
request.RequestFormat = DataFormat.Json;
request.AddHeader("X-Shopify-Access-Token", "xxxtoaken");
var response = client.ExecuteAsync<string>(request);
var r = JsonConvert.DeserializeObject<dynamic>(response.Result.Content);
var count = r.count; // here r.count={0}
Hi @ds_
Can you share the store URL.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024