Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi @HitPay,
Using the REST API, the inventory_item_id doesn't have a mapping back to product or variant. The suggested approach would be to keep a local database of product and variant id mappings to inventory items if you want to identify your levels based on products instead.
Alternatively GraphQL has the ability to access both the product IDs and inventory IDs in the same call.
The webhooks you listed in your post are the ones that you would use to keep inventory numbers, specifically inventory_levels/update will fire any time the level changes on that item.
I encourage you to check our guide on updating inventory, and exploring GraphQL solutions as well.
Ryan | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Ryan,
We have submitted our app. I was wondering if we can get in touch with the app review team to potentially expedite the app review as a lot of Shopify merchants in Singapore have requested this app from us.
Best,
Team HitPay
Unfortunately I don't have the ability to expedite app reviews. I'll mention it to the APAC team but no promises.
Ryan | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Ryan,
Thank you very much for your help. Greatly appreciated 🙂
Best,
Aditya
Hi Ryan,
Our app got rejected a couple of times due to errors in our submission ( Its our first time!). I was wondering if it would be possible to nudge the APAC review team again?
Best
Aditya
Team HitPay
Hi Aditya,
Make sure you address the concerns that failed you, and reply to the reviewer via the email!
Cheers,
Ryan
Ryan | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Ryan,
Our review reference is 12897.
We have been been given some feedback points which we are working on, however we would like to clarify with the reviewer on one of the points that he/she has raised. How can we go about doing this?
Also the reviewer has added a 2FA authentication to the test account details that we have provided and as a result, we are unable to login to our own test account.
Appreciate your help!
Best,
Aditya
I believe you can respond to the email to contact the reviewer!
Ryan | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Ryan!
Thank you for patiently answering our questions. The app is now available on Shopify!
I'll be sure to reach out if I have any questions.
Best,
Aditya
Hi Ryan,
Yes that is the static API call limit for all apps platform wide, plus stores get it doubled. As for the access token, my guess is that those shops are uninstalling the app, if it fails - check that you are still installed.
Ryan | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Ryan,
We have run into an issue while performing a product and inventory sync from a Shopify Store.
The Shopify store has 1004 products, however, we are seeing only 930 products synced to our platform. The code that we are using is below:
$keepGoing = true;
$sinceId = null;
$config['limit'] = 250;
do {
if (!is_null($sinceId)) {
$config['since_id'] = $sinceId;
}
// 'https://{myshopify-domain}/admin/api/2020-01/products.json'
$response = $shopify->products($config);
if (count($response['products']) < $config['limit']) {
$keepGoing = false;
}
foreach ($response['products'] as $product) {
$sinceId = $product['id'];
$products->add($product);
}
} while ($keepGoing);
The below api is giving us the correct number of products which is 1004
// 'https://{myshopify-domain}/admin/api/2020-01/products/count.json'
I was hoping you could assist us with this.
Best,
Aditya
Wondering if anyone can help here?