v4

latestOpenAPI 3.1.02026-08-01131465.2 KB
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 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"
    }
  ]
}