Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Discount Update is removing Point Of Sale Availability

Discount Update is removing Point Of Sale Availability

j-riv
Shopify Partner
12 1 0

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.

jriv_0-1725651451580.png

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.

 

Replies 0 (0)