Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hi,
I am trying to use this API endpoint: https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#lookup-2020-01
It does not work when trying to look up a code that is a "Buy X get Y" when the customer spend is set to "Minimum purchase amount" it does oddly work when the customer spend is set to "Minimum quantity of items"
I am also trying to use GraphQL to do it but I am getting this error:
Field 'codeDiscountNodeByCode' doesn't exist on type 'QueryRoot'
With this query:
{ codeDiscountNodeByCode(code: "SOME_CODE") { edges { node { id } } } }
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022