Cancel Product Orders

Cancels all orders from being triggered for specified products for a given subaccount. Cancels all orders when no products provided.

Request

POST [TRIGGER_ENDPOINT]/execute

Body

{
  "cancel_product_orders": {
    "tx": {
      "sender": "0x7a5ec2748e9065794491a8d29dcf3f9edb8d7c43746573743000000000000000",
      "productIds": [0],
      "nonce": "1"
    },
    "signature": "0x",
    "digest": "0x"
  }
}

Request Parameters

See Core > Executes > Cancel Product Orders

Response

Success

{
  "status": "success",
  "signature": {signature},
  "request_type": "execute_cancel_product_orders"
}

Failure

{
  "status": "failure",
  "signature": {signature},
  "error": "{error_msg}",
  "error_code": {error_code},
  "request_type": "execute_cancel_product_orders"
}

Last updated