Create a new order
Headers
Optional key to ensure idempotent order creation
Request body
Example request
{
"instance_type": "h100i",
"quantity": 10,
"start_at": "NOW",
"end_at": "NOW",
"price": 1600,
"colocate_with": [
"cont_k3R-nX9vLm7Qp2Yw5Jd8F"
],
"cluster": "richmond"
}Response
Order created successfully
Example response
{
"object": "order",
"status": "pending",
"id": "order_xyz789",
"idempotency_key": "key_123"
}Changes
Changed in 4 of the 44 revisions of this API.26112
- ▲
removed the required property
detailsfrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the404statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the426statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the500statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the404statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the426statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the500statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the404statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the426statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the500statusresponse-required-property-removed
- ○
added the required property
errorto the response with the400statusresponse-required-property-added
- ○
added the required property
errorto the response with the401statusresponse-required-property-added
- ○
added the required property
errorto the response with the403statusresponse-required-property-added
- ○
added the required property
errorto the response with the404statusresponse-required-property-added
- ○
added the required property
errorto the response with the426statusresponse-required-property-added
- ○
added the required property
errorto the response with the500statusresponse-required-property-added
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
changed the pattern of the request property
colocate_with/items/from"cont"_[0-9a-zA-Z]+tocont_[0-9a-zA-Z_-]{1,21}request-property-pattern-changed
- ○
the
idresponse's property pattern was changed from"ordr"_[0-9a-zA-Z]+toordr_[0-9a-zA-Z_-]{1,21}for the status201response-property-pattern-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
added the new required request property
end_atnew-required-request-property
- ▲
added the new required request property
pricenew-required-request-property
- ▲
added the new required request property
quantitynew-required-request-property
- ▲
added the new required request property
sidenew-required-request-property
- ▲
added the new required request property
start_atnew-required-request-property
- ▲
removed
subschema #1: Buy Ordersubschema #2: Sell Orderfrom the request bodyoneOflistrequest-body-one-of-removed
- ▲
the request's body type/format changed from
/toobject/request-body-type-changed
- ○
added the new optional request property
clusternew-optional-request-property
- ○
added the new optional request property
colocate_withnew-optional-request-property
- ○
added the new optional request property
flagsnew-optional-request-property
- ○
added the new optional request property
instance_typenew-optional-request-property
- ▲
- ▲
removed
market-api_ClusterNamefrom theoneOf[subschema #1: Buy Order]/clusterrequest propertyoneOflistrequest-property-one-of-removed
- ○
added
market-api_ZoneNameto theoneOf[subschema #1: Buy Order]/clusterrequest propertyoneOflistrequest-property-one-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲