Create order
Create an order without a cart. The order will be placed immediately.
Request body
Example request
{
"cardID": "crd_XXXXXXXXXXXXXXXXXXXXXXXXX",
"addressID": "shp_XXXXXXXXXXXXXXXXXXXXXXXXX",
"variants": {
"var_XXXXXXXXXXXXXXXXXXXXXXXXX": 1
}
}Response
Order ID.
Example response
{
"data": "ord_XXXXXXXXXXXXXXXXXXXXXXXXX"
}Changes
Changed in 6 of the 41 revisions of this API.742
- ▲
the response's body type/format changed from
/toobject/for status400response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status401response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status429response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status500response-body-type-changed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status400response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status401response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status429response-body-all-of-removed
- ○
removed
ErrorResponsefrom the response bodyallOflist for the response status500response-body-all-of-removed
- ○
added the optional property
detailsto the response with the400statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the401statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the429statusresponse-optional-property-added
- ○
added the optional property
detailsto the response with the500statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the400statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the401statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the429statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the500statusresponse-optional-property-added
- ○
added the required property
codeto the response with the400statusresponse-required-property-added
- ○
added the required property
codeto the response with the401statusresponse-required-property-added
- ○
added the required property
codeto the response with the429statusresponse-required-property-added
- ○
added the required property
codeto the response with the500statusresponse-required-property-added
- ○
added the required property
messageto the response with the400statusresponse-required-property-added
- ○
added the required property
messageto the response with the401statusresponse-required-property-added
- ○
added the required property
messageto the response with the429statusresponse-required-property-added
- ○
added the required property
messageto the response with the500statusresponse-required-property-added
- ○
added the required property
typeto the response with the400statusresponse-required-property-added
- ○
added the required property
typeto the response with the401statusresponse-required-property-added
- ○
added the required property
typeto the response with the429statusresponse-required-property-added
- ○
added the required property
typeto the response with the500statusresponse-required-property-added
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
the
data/allOf[Order]/shippingresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ○
added the optional property
data/allOf[Order]/shipping/phoneto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/allOf[Order]/shipping/provinceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/allOf[Order]/shipping/street2to the response with the200statusresponse-optional-property-added
- ○
removed
Addressfrom thedata/allOf[Order]/shippingresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
added the required property
data/allOf[Order]/shipping/cityto the response with the200statusresponse-required-property-added
- ○
added the required property
data/allOf[Order]/shipping/countryto the response with the200statusresponse-required-property-added
- ○
added the required property
data/allOf[Order]/shipping/nameto the response with the200statusresponse-required-property-added
- ○
added the required property
data/allOf[Order]/shipping/street1to the response with the200statusresponse-required-property-added
- ○
added the required property
data/allOf[Order]/shipping/zipto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
resultfrom the response with the200statusresponse-required-property-removed
- ○
api operation id
postOrderwas addedapi-operation-id-added
- ○
the endpoint scheme security
Bearerwas removed from the APIapi-security-removed
- ○
api tag
Ordersaddedapi-tag-added
- ○
added the required property
datato the response with the200statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲