Submit a new order.
POST
/api/v1/ordersSubmit an order for fulfillment. If everthing is good with the data provided, you will be provided an order number. Submitted orders does not reflect instantly in your account. It might take a couple of minutes because submitted orders are processed through a queue.
Request
The external id or order number of the order.
The store id to create the order under.
The shipping method to use for the order. If not provided, the default (cheapest) shipping method will be used.
The production time to use for the order.
Special instructions for the order.
Printouts to include in the order. Maximum of 3 printouts. URLs must be publicly available.
The recipient of the order.
The order items of the order.
The subcategory of the order item.
The line item id of the order item.
The quantity of the order item.
The width of the order item.
The height of the order item.
The ID of options of the order item. If no option/s is provided, the default options will be used.
The hex color code of solid color wrap in #xxxxxx format. Only needed if you provided option id 3 (Solid Color Wrap) in order item options. If no hex color is provided, black (#000000) default color will be used.
{
"externalId": "186898732",
"storeId": 818,
"shippingMethod": "default",
"productionTime": "regular",
"specialInstructions": "This is a special order.",
"printouts": [
"https://www.example.com/printout1.jpg",
"https://www.example.com/printout2.jpg",
"https://www.example.com/printout3.jpg"
],
"recipient": {
"firstName": "John",
"lastName": "Smith",
"addressLine1": "123 Main St.",
"addressLine2": "Apt. 123",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"country": "US",
"phone": "123-456-7890",
"company": "ABC Company"
},
"orderItems": [
{
"externalItemId": "123456789",
"subcategoryId": 103001,
"quantity": 1,
"width": 8,
"height": 10,
"file": {
"imageUrl": "https://www.example.com/image.jpg"
},
"orderItemOptions": [
11,
51,
23
],
"solidColorHexCode": null
}
]
}
Request samples
Responses
{
"message": "The preliminary checks for the order submission were successful. It has now been placed in the queue for processing.",
"orderNumber": 10000001440
}