Cancel an order

Note

Cancel an order by orderNo or reference. Provide at least one; when both are supplied, orderNo takes precedence. If neither is supplied, the request returns 110002 MISSING_REQUIRED_PARAM.

The response field orderNo echoes the order number when supplied, or the reference when only a reference was supplied. status is the raw cancellation status, usually CAN.

Body Params
string
required

Account ID identifying the client account for the request.

string

Provide orderNo or reference. If both are supplied, orderNo takes precedence.

string

Caller-supplied reference; alternative to orderNo.

Headers
string

Trace ID. Generated by the server if omitted.

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json