Printway API Document
  • ๐ŸŽ‰Welcome to Printway API
  • ๐Ÿ”Authentication
  • ๐Ÿ›’Products
    • ๐Ÿ“‘List products
    • ๐ŸงพDetail products
    • Break of products
  • ๐Ÿ“œOrders
    • ๐Ÿ“”List order synced
    • ๐Ÿ“‹Detail Order Synced
    • ๐Ÿ“ฅCreate order
    • โž•Create order v2
    • โž•Create order v3 (Beta)
    • โ‰๏ธTest price order (Updated)
  • ๐Ÿ“คWebhook
  • โฌ†๏ธWebhook Update Status Order (New)
Powered by GitBook
On this page
  1. Orders

Create order v3 (Beta)

// In this version, We use variant_id to replace sku in order_items
// Data order items example:

 "order_items": [
        {
            "product_name" : "Product new item test 1",
            "variant_title": "DEFAULTSIZE / PACK1 / ONESIDE",
            "unfulfill_quantity": 1,
            "variant_id": 3670001,
            "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,
            "variant_id": 3670001,
            "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,
            "variant_id": 3670001,
            "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,
            "variant_id": 3670001,
            "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"
        }
    ]
}

POST https://api.printway.io/cdn/api/orders/v3/create-order

Request and response same as v1

PreviousCreate order v2NextTest price order (Updated)

Last updated 2 years ago

๐Ÿ“œ
โž•