Apply a discount code
Checks status, expiration, redemption limit, office and plan, then re-prices the quote on the server. Any ineligible code returns 422 discount_not_applicable (one reason for all); repeated failures are rate limited. The redemption is counted when the FieldRoutes subscription is created.
Authentication
X-Link-Tokenstring
Random token from createSignup or the resume link. Stored hashed; expires.
Path parameters
signupId
Request
This endpoint expects an object.
code
Response
New quote
quoteId
catalogVersion
lines
initialTotalCents
Amount in US cents.
recurringTotalCents
Amount in US cents.
recurringPeriod
Allowed values:
termsVersion
discountCode
expiresAt
Errors
404
Not Found Error
409
Conflict Error
410
Gone Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error