POST /api/public/v1/purchase/changePlan
Changed onSaves the review's plan choice on the caller's live purchase intentId for the business it holds and has confirmed with its country, answering the choiceRevision the review continues from; the review then shows that business's own terms for the buyer to accept again before any Checkout. It is startFromPricing's fresh choice: the same choice changes nothing and the confirmations stand. A purchase frozen for an unpaid Checkout has its sessions closed in Stripe first, and is refused checkoutCheckFailed when Stripe cannot confirm one closed, checkoutAlreadyPaid for one the business's standing subscription paid, leaving the Checkout as it was. Refused with FORBIDDEN when the caller may not manage the business's billing; with PRECONDITION_FAILED as selectionChanged unless intentId holds that business with both confirmations and the business is still in the confirmed country, or when another edit won, as businessRegionNotSold when the confirmed country is not one purchases are sold in, as quantityUnsupported when baseQuantity is not the base license count the purchase holds (checked on the locked purchase before anything is written, so its quantity and terms stay as they were; the quoteId is signed for that count) and, before anything is read, when baseQuantity is above one while pricing-multi-license is off, and with every other refusal of startFromPricing.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the new optional request property
baseQuantity
- info
- info
endpoint added
- info