cURL
curl --request DELETE \ --url https://api.rivermarkets.com/v1/orders/{order_id} \ --header 'x-api-key: <api-key>'
{ "cancelled_river_order_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "failed_cancelled_reasons": {} }
Cancel an existing order.
Request cancellation of an order. Returns 202 Accepted with order state - cancellation is processed asynchronously.
API key for programmatic access. Generate one at app.rivermarkets.com under Settings → API Keys.
Successful Response
Schema for cancel order response
List of cancelled river order identifiers
Dictionary of failed to cancel river order identifiers and reasons
Show child attributes