Modify Multiple Orders
Type: TRADE
Weight: 5
PUT /fapi/v1/batchOrders
Modify up to 5 orders in one request.
Request
PUT /fapi/v1/batchOrders?batchOrders=<url-encoded JSON array>×tamp=<ms>&signature=<hex>
Query params
| Name | Type | Required | Notes |
|---|---|---|---|
batchOrders | string | yes | JSON-encoded array of Modify Order body objects, max 5, in the query string. |
Response — 200 — array of order responses or {code, msg} objects, in request order. Each entry is processed through the same logic as PUT /fapi/v1/order; failures do not abort the batch.
Same sharding caveat as Place Multiple Orders.
Errors
| HTTP | code | msg |
|---|---|---|
400 | -1102 | batchOrders missing / invalid / empty / more than 5. |
Authentication failures (INVALID_API_KEY, API_KEY_DISABLED, IP_NOT_ALLOWED, SIGNATURE_INVALID) apply to every signed endpoint and use Sparky's {"success":false,"error":{...}} envelope; see Error Codes.