Initiate Order Cancel
Summary:
Q1. I wanted to understand how order cancel works.
I tried the endpoint from OCC API documentation : /ccadmin/v1/orders/cancel. But this API does not seem to work even after setting the headers and the body etc.
The response I get in Postman is :
{
"message": "HTTP 404 Not Found",
"type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4",
"status": "404"
}
I also tried using the API available in the REST API for OCC documentation: /ccagent/v1/orders/initiateCancelOrder
I added the headers and because both of the APIs are POST APIs I also modified and added their body.