Discount applied on a Checkout Link Disappears

Topic summary

A user is experiencing an issue where discounts applied to checkout links via the Shopify API disappear after 1-2 seconds, despite appearing momentarily when the link is opened.

Technical Details:

  • Using the /admin/api/2023-07/checkouts.json API endpoint to create checkout links with discounts
  • API response confirms the discount is initially applied (screenshot provided)
  • The discount vanishes shortly after the checkout page loads

Current Status:

  • The issue remains unresolved
  • A second user reports a similar problem when applying discounts via URL parameters
  • No solutions or explanations have been provided yet
Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

We’re trying to create a checkout link with a discount applied on the cart. But the discount appears momentarily for 1-2 seconds when the checkout link is opened on the browser and then just disappears. (kindly refer the attached video)

We’re trying to create the checkout link through the API with discount.

This is the API we used to create the checkout link :-

https://store-name.myshopify.com/admin/api/2023-07/checkouts.json

In the response also, the discount is getting applied :-

Were you able to figure this out? I’m having a similar issue where I’m applying discounts via URL parameters but one disappears after a couple seconds.