v1
latestOpenAPI 3.1.02026-07-14460151.1 KBCreate a order
Create a new order. If your order includes products that ship from multiple facilities, each facility’s products will be processed as a separate shipment within the overarching order.
post/v2/orders
Headers
Idempotency-Keystring
Request body
Response
201
Example response
{
"data": {
"id": 2,
"first_name": "firstname",
"last_name": "lastname",
"company": "company",
"phone": "0000000000",
"email": "email@company.com",
"address1": "line 1",
"address2": "line 2",
"city": "city",
"state": "state",
"zip_code": "000000",
"country": "country",
"status": "status",
"created_at": "2021-08-11T19:58:29+00:00",
"notecard": {
"id": 1,
"name": "test",
"message": "content",
"logo": {
"id": 1,
"src": "https://corporatemerch.com/image1.png",
"created_at": "2025-01-26T05:43:03+00:00"
}
},
"shipment_cost": {
"products": "0",
"notecard": "1.75",
"shipping": "8",
"tax": "0",
"duty": "0",
"other": "0",
"total_cost": "9.75"
},
"shipments": [
{
"id": 1,
"order_id": 2,
"status": "status",
"created_at": "2025-01-18T21:39:27.000000Z",
"products": [
{
"id": 100,
"variant_id": 200,
"quantity": 1,
"unit_price": "10.00"
}
]
}
]
}
}