REST API DOCS

Remove Order (Cancel Order)

DELETE
/backend/api/v1/orders/place/{ref_id}/

Cancels an open order by its reference ID.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ref_id*string

Reference ID of the order to cancel

Response Body

application/json

curl -X DELETE "https://example.com/backend/api/v1/orders/place/3MI7366T020RXLF/"
{  "message": "success",  "data": [    {      "id": 38,      "firm_name": "DORRS",      "origin": "WSAX",      "symbol_name": "USDT",      "quote_condition": "c",      "mpid": "MPID20",      "side": "b",      "quantity": "400.0000000000000000",      "price": "4.0000000000000000",      "uti": "011720241425-0000-A0037",      "ref_id": "3MI7366T020RXLF",      "status": "closed",      "company_profile": {        "id": 6,        "logo": "/media/company_profile_logo/logo.jpg",        "security_name": "USDT",        "company_name": "FIMR",        "business_description": "",        "street_address_1": "1",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "is_approved": true,        "status": "approved",        "created_at": "2023-10-04T14:22:24.248943Z",        "updated_at": "2023-11-03T18:25:33.539997Z",        "symbol": 1,        "user": null      },      "created_at": "2024-01-17T14:25:08.969451Z",      "updated_at": "2024-01-17T14:30:16.723107Z"    }  ],  "code": 200}