Apply an Offer to a subscription
Apply a direct Offer to a subscription. On a pending payment checkout it quotes or replaces the checkout discount and the existing checkout URL remains unchanged. On an active subscription it applies the Offer immediately with its discount phases starting at the next billing cycle; the call is rejected while another applied Offer still has active or upcoming discount phases. Offers with a free trial phase cannot be applied after checkout creation.
Autorizaciones
Encabezados
Unique key used to safely retry this write for 24 hours without applying it twice.
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Parámetros de ruta
Respuesta
Success
draft, pending_payment, trialing, active, past_due, paused, canceled weekly, monthly, quarterly, yearly, one_time -9007199254740991 <= x <= 9007199254740991- Option 1
- Option 2
metered, credits, balance - Option 1
- Option 2
- Option 3
- Option 4
"subscription"