Discussing APIs and development related to customers, discounts, and order management.
Hey,
I have a discountAutomaticBxgyUpdate mutation running on Discount code creation. The input for this mutation is basic, all it does is update the combines with shipping discounts to true.
{ id: "gid://shopify/DiscountAutomaticBxgy/198286294, automaticBxgyDiscount: { combinesWith: { shippingDiscounts: true, }, }, }
This is causing the "Also offer on Point of Sale (POS Pro Locations Only)" to be unset. This is causing issues for us.
I dont see any way of updating this value in the docs. Does it not exist? Also why is this being overwritten when I'm simply updating the combines with values.
Here are the docs for reference: https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/discountAutomaticBxgyUpdate
Any help would be appreciated.