📥Create order
POST
https://api.printway.io/cdn/api/orders/v1/create
Headers
PW-ACCESS-TOKEN*
String
The Access Token
Request Body
order_id*
String
Your Order ID: (Min : 5 characters)
shipping_name*
String
Shipping name
shipping_email*
String
Shipping Email
shipping_phone*
String
Shipping Phone
shipping_address1*
String
Shipping address1
shipping_address2*
String
Shipping address2
shipping_city*
String
Shipping City
shipping_zip*
String
Shipping ZipCode
shipping_povince*
String
Shipping Province (State)
shipping_province_code*
String
Shipping Province Code (StateCode)
(Max Length : 4 characters)
shipping_country*
String
Shipping Country
shipping_country_code*
String
Shipping Country Code
(Country Code ISO Alpha-2)
order_items*
Array
Data items in order.
method
Number
Shipping Method (US):
1 : (Express (Fastship 1-3 days. Note: shipping services for destinations within the US))
2 : (Ground (3-5 business days delivery. Note: shipping services for destinations within the U.S))
Shipping Method (AU):
1: (Express - Fast ship. Note: shipping services for destinations within the AU)
Default Shipping: null (Standard)
{
"status": 200,
"message": "Create order successfully!",
"result": {
"order_id": "PWW1222366-11",
"updated_at": "2022-01-22 10:04:13",
"order_items": [
{
"pw_id": 192348,
"product_name": "Product new item test 1",
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"unfulfill_quantity": 1
},
{
"pw_id": 192349,
"product_name": "Product new item test 2",
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"unfulfill_quantity": 5
}
]
}
}
Data item in
order_items
:
product_name (
String
) : Item name / Requiredvariant_title (
String
) : Variant Title / Requireditem_sku (String) : SKU in our system / Required
unfulfill_quantity (
Number
) : Item quantity / Requiredartwork_front (
url
) : Link artwork front / Optionalartwork_back (
url
) : Link artwork back / Optionalurl_mockup (
url
) : Link Mockup / Optionalvariant_note (
String
) : Item Note / Optional
// Data order items example:
"order_items": [
{
"product_name" : "Product new item test 1",
"variant_title": "DEFAULTSIZE / PACK1 / ONESIDE",
"unfulfill_quantity": 1,
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"artwork_front" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"artwork_back" : "",
"url_mockup" : "",
"variant_note": "test"
},
{
"product_name" : "Product new item test 2",
"variant_title": "DEFAULTSIZE / PACK1 / ONESIDE",
"unfulfill_quantity": 5,
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"artwork_front" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"artwork_back" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"url_mockup" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"variant_note": "test"
}
]
// Data send order example:
{
"order_id": "PWW1211112",
"shipping_name": "American Auth",
"shipping_phone": "+(807) 939 3211",
"shipping_email": "localce12@gmail.com",
"shipping_address1": "12 Adobe N Auth",
"shipping_address2": "",
"shipping_city": "Altamonte Springs",
"shipping_zip": "15750",
"shipping_province": "Florida",
"shipping_province_code": "FL",
"shipping_country": "United States",
"shipping_country_code": "US",
"order_items": [
{
"product_name" : "Product new item test 1",
"variant_title": "DEFAULTSIZE / PACK1 / ONESIDE",
"unfulfill_quantity": 1,
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"artwork_front" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"artwork_back" : "",
"url_mockup" : "",
"variant_note": "test"
},
{
"product_name" : "Product new item test 2",
"variant_title": "DEFAULTSIZE / PACK1 / ONESIDE",
"unfulfill_quantity": 5,
"item_sku": "PW-MALORM-DEFAULTSIZE-PACK1-ONESIDE",
"artwork_front" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"artwork_back" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"url_mockup" : "https://aws-test-printway.s3.ap-southeast-1.amazonaws.com/1002318-0-1633669018925.png",
"variant_note": "test"
}
]
}
Last updated