Skip to main content
POST
Reorder Patient Policies

Authorizations

X-API-Key
string
header
required

Body

application/json

Give a patient's active policies new tiers, in one transaction.

items must be EVERY active policy of the patient — one that misses one or names a foreign policy is a stale picture (409, from the service). No two items may name the same policy or claim the same tier; those are caught here, before anything is locked or written.

patient_id
string
required

The patient whose policies to reorder

items
PatientPolicyReorderItem · object[]
required

Every active policy's new tier

Response

Successful Response

List response for patient policies.

data
PatientPolicy · object[]
required
pagination
Pagination · object
required

Pagination information for list responses.

Fields:

  • has_more: Whether more items exist beyond this page
  • total: Total number of items across all pages
  • page: Current page number (1-based)
  • limit: Number of items per page