Unofficial CSFloat API
API referenceBuying

Update a buy order

Changes an open buy order.

PATCH/buy-orders/{order_id}

Changes an open buy order. Send only the fields to change; quantity already matched into a trade is unaffected.

Authorization

ApiKeyAuth
Authorization<token>

CSFloat developer API key. Do not prefix with Bearer.

In: header

Path Parameters

order_id*string

Numeric identifier serialized as a string.

Match^\\d+$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Updates price, quantity, and item constraints on an open order.

Constraints are sent flat here, not nested under hybrid_properties as on creation, and they are absolute rather than a patch: the client sends every constraint field on every update, using null to clear one. A field left out is not preserved.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/buy-orders/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z",  "market_hash_name": "string",  "price": 0,  "qty": 0,  "bought_item_count": 0,  "hybrid_properties": {    "min_float": 0,    "max_float": 0,    "paint_index": 0,    "paint_seeds": [      0    ],    "applied_stickers": [      {        "sId": 0      }    ],    "applied_keychains": [      {        "sId": 0      }    ],    "min_keychain_pattern": 0,    "max_keychain_pattern": 0  }}