---
title: "POST /api/public/v1/purchase/updateSelection"
method: POST
path: "/api/public/v1/purchase/updateSelection"
---

# POST /api/public/v1/purchase/updateSelection

`POST /api/public/v1/purchase/updateSelection`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/purchase/updateSelection`
- Auth: none declared

Replaces the accepted terms of the caller's live purchase `intentId` with the plan, period and base license count the review shows, at the `choiceRevision` it holds and with the `quoteId` it was shown. The server re-prices the selection, from the confirmed business's own offer once the business and its country are confirmed and from the brand's reference market before; only the business's own offer prices more than one license. Refused with PRECONDITION_FAILED as `quantityUnsupported` when `baseQuantity` is above one while `pricing-multi-license` is off (checked before the purchase is read, so nothing is written), `organizationUnconfirmed` for more than one license before both confirmations, `selectionChanged` for another revision, `offerChanged` unless `quoteId` still signs to the re-priced terms, `planNotOffered`, `checkoutInProgress` and `purchaseIntentClosed`; with NOT_FOUND when the caller has no such purchase. No Stripe call.

## Request body

- object
  - `planCode` string
  - `interval` 'month' | 'year', required
  - `intervalCount` integer
  - `addons` object[]
    - `code` string, required
    - `quantity` integer
  - `baseQuantity` integer
  - `intentId` string, uuid, required
  - `quoteId` string, required
  - `choiceRevision` integer, required

## Response `200`

OK

- object
  - `choiceRevision` number, required

## Changes

- **2026-11-01** `f4aad1c0698b`: 1 info
  - added the new optional request property `baseQuantity`
- **2026-10-26** `1a72f117ce4a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/purchase/updateSelection/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
