Request
- Base URLhttps://api.smarkets.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Order ID to cancel
Response
Order cancelled successfully
Order cancelled successfully
Example response
{}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
the
response's property type changed fromnulltoobjectfor status - breaking
the
response's property type changed fromobjecttostringobjectfor status - breaking
the
response's property type changed fromstringtostringobjectfor status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
added the new
ORDER_CANCEL_REJECTED_ACCOUNT_SUSPENDEDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_CAPACITY_REACHEDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_INSUFFICIENT_FUNDSenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_INVALID_QUANTITYenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_MARKET_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_NOT_LIVEenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_SERVICE_TEMPORARILY_UNAVAILABLEenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_STAKE_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_THROTTLE_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_TOO_LATEenum value to theresponse property for the response status - warning
added the new
ORDER_CANCEL_REJECTED_TRADING_SUSPENDEDenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking