Decrease Order
POST/portfolio/orders/:order_id/decrease
Endpoint for decreasing the number of contracts in an existing order. This is the only kind of edit available on order quantity. Cancelling an order is equivalent to decreasing an order amount to zero.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Order decreased successfully
Bad request - invalid input
Unauthorized - authentication required
Resource not found
Internal server error