pthieu
Excursionist
Contact Me
Status
Offline
Last Activity
‎04-11-2019 01:54 PM
Topic Started
3
Topics Started
Topic Solutions
1
Solution
Post Count
24
Posts
Post Kudos
11
Likes

Community Badges

I have a bit of an unconventional pricing model. I want to charge per product each month as my app is essential a product manager. In the App Listing's "Plan pricing" section, I can't set a ...
I want to find the last time a product was restocked, checking the Product API schema, there's no field that directly tells me this and no combination of fields either. I could use the `last...
I have a react app that, as far as I know, does not do any `.postMessage` calls. This is posted on a different domain than my server that handles the authentication (which causes it to be different f...
I've submitted my app and it was recently rejected. One of the reasons was this: Upon installing the app, I am being redirected to a non-embedded version. When accessing the app from the in...
I've tried added 100, just an array of `product_id`'s. Sometimes it's all 100, sometimes it's 50. I don't really see other numbers though, just 100 or 50. I then tried to segment the 100 int...
I want to have a pop-up on storefronts with a product in a shop's catalog. I don't want to save all the information in my DB, only the product_id and variant_id. Is it possible to refer to t...
In the Products API (https://help.shopify.com/en/api/reference/products/product) you can get a list of products: GET /admin/products.json In the returned payload of a single product, there ar...
I am following these two tutorials: https://help.shopify.com/en/api/tutorials/build-a-shopify-app-with-node-and-express https://help.shopify.com/en/api/tutorials/build-a-shopify-app-with-n...
No content to show

User Activity

@Zameer thanks for the answers. It's looking like I'll have to monitor the products and their inventory levels in my DB based on the strategy in your comments. Do you think it's possible for me to use the `inventory_levels/update` webhook and then im...
@Zameer: a few questions: Do you suggest I keep track of all products with zero inventory quantity and when this webhook comes in, check, to see if the quantity has changed and if it has gone from 0 to n, then perform some business logic?What do you ...
@Zameer I'm looking at the `inventory_levels/update` webhook response: { "inventory_item_id": 271878346596884015, "location_id": 48752903, "available": null, "updated_at": "2019-04-09T11:04:38-04:00", "admin_graphql_api_id": "gid:\/\/shopif...
I would like to know when a product's `inventory_quantity` changes from 0 to non-zero. I've taken a look at the webhooks documentation: https://help.shopify.com/en/api/reference/events/webhook It seems that there are `old_inventory_quantity` and `inv...
I ended up just using the Product API to get all products and filtering out all products that have `inventory_quantity = 0`. It's a bit less efficient than having the shopify api do it, but i can optimize in the future
@KarlOffenberger: thanks for the reply. I ended up getting all the orders (I've been approved for the `read_all_orders` permission) and then getting products and comparing the variant IDs to the ones from the Order API calls. What is weird is that I ...
@KarlOffenberger: Looks like there's no other way to use `available_for_sale` unless I use the GraphQL API, which I was avoiding since my infrastructure isn't ready for it right now but for a 1-off kind of call it may be possible to write this as a t...
I want to grab all products that have inventory because for my application, it does not make sense on out-of-stock products. Is it possible to get all products with inventory count greater than zero? if so, how do I do this?
I would like to get all products in a merchant's catalog and get the inventory and last time it was purchased. I know with the Products API, I am able to get all the products and their inventory and with the Order API, I am able to retrieve all the o...
This widget could not be displayed.
This widget could not be displayed.
Likes given to