Focusing on managing products, variants, and collections through the API.
I'm trying to get product information with Postman
"https://{{api_key}}:{{api_password}}@{{store_name}}.myshopify.com/admin/api/{{api_version}}/product_listings.json?limit=250"
and response is "Not Found 404".
But this request with products.json work perfect.
"https://{{api_key}}:{{api_password}}@{{store_name}}.myshopify.com/admin/api/{{api_version}}/products.json?limit=250"
What should I do to fix request with product_listings method?
Credentials for app looks fine:
View or manage product or collection listings:
View or manage products, variants, and collections
Hi there 👋
Is your app currently a sales channel?A ProductListing resource represents a Product which is available to your sales channel. If your app is not a sales channel, it will not have product listings to query, and return 404 not found.
To learn more visit the Shopify Help Center or the Community Blog.
Hi, Lizk.
Thank you for your answer!
In my case, I didn't add in Storefront API access scopes credentials for:
Read products, variants, and collections
If the product is not in channel you get 200 but the [product_listings] is empty.