Skip to main content
POST
Reorder contracts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

tenant-id
string
required

Specifies the tenant context for the request. All endpoints operate within this tenant scope.

Example:

"tnt_pfh0haxfpzowht3oi213cqos"

Body

application/json

Request body that defines the target order for contracts.

Request body that defines the target order for contracts.

clientId
string
required

Unique identifier of the client.

Minimum string length: 1
Example:

"clnt_z2b3mo8qa5kzptgsu26q2wmh"

ids
string[]
required

Ordered list of contract IDs representing the desired sort order.

The ID of the contract.

Example:

Response

Default Response

Standard success response payload wrapped in a data property.

data
string[]
required

Ordered list of contract IDs after the reorder operation is applied.

The ID of the contract.