Skip to main content
POST
Decrease an order's quantity (absolute target)

Authorizations

DX-ACCESS-KEY
string
header
required

The API key id (decimal string).

DX-ACCESS-TIMESTAMP
string
header
required

Request timestamp, Unix milliseconds (decimal). ±5000 ms replay window.

DX-ACCESS-SIGNATURE
string
header
required

base64(HMAC-SHA256(secret, "timestamp\nMETHOD\npath?query\nbody")). For the WS handshake the body is empty and the path is /v1/ws.

Path Parameters

order_id
string
required

A u64-domain value rendered as a decimal string (api.md §1).

Pattern: ^[0-9]+$
Example:

"182390"

Body

application/json
new_qty
integer
required

absolute target (api.md §6.7)

Required range: x >= 0

Response

Order decreased (api.md §6.7).

status
enum<string>
required
Available options:
decreased
new_qty
integer
required
seq
string
required

A u64-domain value rendered as a decimal string (api.md §1).

Pattern: ^[0-9]+$
Example:

"182390"