Skip to content

Discount code 'lookup' not available? #107

Closed
@louiswalch

Description

@louiswalch

I think there may be an error in the DiscountCode resource. Shopify defines a DiscountCode as a child of PriceRule in all cases except one - when "looking up" a PriceRule by it's discount code. You can see this here:
https://help.shopify.com/en/api/reference/discounts/discountcode#lookup-2019-07

There is no way with the current framework to do a lookup as it always errors, unless I'm doing it wrong.

DiscountCode is a child resource of PriceRule. Cannot be accessed directly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions