Quotes an order and returns a quote_id that is used to confirm the order.
POST
/order/create
order
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/2/order/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"models": [
{
"material_id": 0,
"model_id": 0,
"options": {
"orientation": true
},
"quantity": 0,
"units": "string"
}
],
"notes": "string",
"shipping_address": {
"city": "string",
"country": "string",
"email": "string",
"name": "string",
"state": "string",
"street1": "string",
"street2": "string",
"zip": "string"
},
"shipping_service": "string"
}'
Response Response Example
{
"address": {
"city": "Brooklyn",
"country": "USA",
"email": "oortlieb@gmail.com",
"name": "Oliver Ortlieb",
"state": "NY",
"street1": "361 Stagg St",
"street2": "Suite 408",
"zip": "11206"
},
"delivery_date": "2023-08-16T02:30:55.843Z",
"due_date": "2023-08-16T02:30:55.843Z",
"notes": "First run of prototypes",
"order_items": [
{
"material_id": 3,
"model_id": 1,
"options": {
"orientation": true
},
"quantity": 3,
"units": "mm"
}
],
"quote": {
"after_credits": {
"chargeAmt": 48.14,
"shipping": 16.08,
"success": true,
"tax": 0,
"userCredit": 0
},
"errors": [],
"grand_total": 48.14,
"items": 32.06,
"options": {
"orientation": 15
},
"shipping": 16.08,
"tax": 0,
"total": 48.14
},
"quote_id": "e0c90c1d8e1c89084899fbb94dc2fd30d2f8e42d4a6d408d8e0834d7922e30b9",
"shipping_service": "PRIORITY_OVERNIGHT"
}
Request
Body Params application/json
Responses
Modified at 2023-08-16 02:30:56