Buy Orders
Update buy orders
Updates the spend cap, FDV cap, or expiry of one or more active buy orders.
Each item is processed independently. The response is always HTTP 200 once authenticated and the body is valid — check the per-item ok flag in results (index-aligned to your request) for each outcome.
patch/api/public/v1/orders
Request
- Base URLhttps://thefirm.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"items": [
{
"slug": "thefirm",
"maxSpendUsdc": "50",
"maxFdvUsdc": "5000000",
"expiresInMs": 86400000
}
]
}Response
Per-item results for the batch.
Example response
{
"results": [
{
"slug": "thefirm",
"status": "created"
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.