Development discussions around Shopify APIs
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 } } } }
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023