post https://api.loopsubscriptions.com/storefront/2023-10/subscription//discount
This endpoint allows you to apply a valid discount code to the subscription, updating the pricing based on the associated promotion.
The api apply a discount code on a specific subscription based on subscriptionId present in the path param and the code present in the request body.