Skip to main content
DELETE
/
nbx
/
v2
/
emm
/
orders
/
{orderId}
Cancel order
curl --request DELETE \
  --url https://api.novig.us/nbx/v2/emm/orders/{orderId}
{
  "id": "123e4567-e89b-12d3-a456-426614174002",
  "outcomeId": "123e4567-e89b-12d3-a456-426614174000",
  "marketId": "123e4567-e89b-12d3-a456-426614174003",
  "price": 0.125,
  "qty": 4200,
  "originalQty": 4200,
  "currency": "COIN",
  "timestamp": "2023-10-05T12:00:00Z",
  "status": "FILLED",
  "flags": "ABC12345"
}

Path Parameters

orderId
string
required

The server-generated UUID of the order to be cancelled

Response

Order cancelled successfully.

id
string

The unique identifier of the order

Example:

"123e4567-e89b-12d3-a456-426614174002"

outcomeId
string

The ID of the outcome associated with this order

Example:

"123e4567-e89b-12d3-a456-426614174000"

marketId
string

The ID of the market associated with this order

Example:

"123e4567-e89b-12d3-a456-426614174003"

price
number

The limit price at which the order is placed

Example:

0.125

qty
number

The remaining quantity of the order, denominated in Minimum Currency Units

Example:

4200

originalQty
number

The original quantity of the order, denominated in Minimum Currency Units

Example:

4200

currency
string

The currency in which the order is denominated

Example:

"COIN"

timestamp
string

The timestamp when the order was placed

Example:

"2023-10-05T12:00:00Z"

status
string

The current status of the order

Example:

"FILLED"

flags
string

The trader-specified metadata associated with the order

Example:

"ABC12345"