Shipping Discount API - Allow to discount single deliveryOption into FunctionResult deliveryGroups #400
Closed
AndreaMorone
started this conversation in
Feedback: Discounts APIs
Replies: 1 comment 4 replies
-
As per the new Shopify api version these seems now possible https://shopify.dev/docs/api/functions/reference/shipping-discounts/graphql/common-objects/target |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there! Just wanted to drop a suggestion for the Shipping Discount functions API. It would be great if we could allow discounts on single delivery options within the FunctionResult, rather than discounting all the deliveries within the delivery groups. This would give us more flexibility and fine-grained control over applying discounts.
In the following example I wanted to discount only the STANDARD shipping rate by half price, but also Express Shipping is getting discounted.
Would be great if we could change the output passing out to the function an array of deliveryGroups with an array of deliveryOptions to discount 👇🏻
From This
To This
Beta Was this translation helpful? Give feedback.
All reactions