Cannot create more than 5 automatic discount with discountAutomaticAppCreate

Topic summary

Issue: A developer building a custom product bundle discount app using discountAutomaticAppCreate reports failures when trying to create more than 5 automatic discounts; no specific error details were provided.

Follow-up requested: A responder asked for the exact error message and an X-request-ID to diagnose the problem.

Additional questions from the developer:

  • How to create a product bundle discount app.
  • How to apply bundle discounts to cart items.
  • Why combining discountAutomaticAppCreate with a discount function extension isn’t working for multiple product bundle discounts.

Key terms:

  • discountAutomaticAppCreate: API mutation to create automatic discounts.
  • Discount function extension: A Shopify function used to calculate/apply discounts in cart/checkout.

Status: Unresolved/ongoing. Next steps depend on the developer providing the error message and X-request-ID; guidance on implementing multiple bundle discounts is also sought.

Summarized with AI on January 8. AI used: gpt-5.

how can i create such an product bundle discount app ?? how do i apply bundle discounts to cart product? i trying to discountAutomaticAppCreate with discount function extension but its not working multiple product bundle discount