SwiftPOD
  1. Api
SwiftPOD
  • Api
    • Webhook
      • List Webhooks
      • Subscribe to Webhook
      • Unsubcribe to webhook
      • Webhook Notification - Order Status Change Example
      • Webhook Notification - Tracking Number Example
      • Webhook Notification - In Transit and Delivered Status Example
      • Webhook Notification - Stock Status Change Example
    • Orders
      GET
    • Create Order
      POST
    • Create Multiple Orders
      POST
    • Get Order
      GET
    • Update Order
      PUT
    • Update Order Status
      PUT
    • Cancel Order
      POST
    • Catalogs
      GET
  • Changelog
  1. Api

Create Multiple Orders

POST
/v1/orders/bulk

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
[
    {
        "order_id": "OD-ZA-123",
        "test_order": false,
        "line_items": [
            {
                "order_item_id": 1,
                "sku": "BCMTP800M",
                "name": "Line Item 1",
                "quantity": 3,
                "print_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ],
                "preview_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ]
            }
        ],
        "address": {
            "name": "John Smith",
            "email": "johnsmith@demo.com",
            "company": "DEMO",
            "phone": "(330) 638-1331",
            "street1": "4736 Phillips Rice Rd",
            "street2": "",
            "city": "Cortland",
            "state": "OH",
            "country": "US",
            "zip": "44410",
            "force_verified_status": true
        },
        "shipping_method": "standard"
        
    },
    {
        "order_id": "OD-ZA-134",
        "test_order": false,
        "line_items": [
            {
                "order_item_id": 2,
                "sku": "BCMTP800M",
                "name": "Line Item 1",
                "quantity": 3,
                "print_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ],
                "preview_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ]
            }
        ],
        "address": {
            "name": "John Smith",
            "email": "johnsmith@demo.com",
            "company": "DEMO",
            "phone": "(330) 638-1331",
            "street1": "4736 Phillips Rice Rd",
            "street2": "",
            "city": "Cortland",
            "state": "OH",
            "country": "US",
            "zip": "44410",
            "force_verified_status": true
        },
        "shipping_method": "standard"        
    }
]

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.swiftpod.com/v1/orders/bulk' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "order_id": "OD-ZA-123",
        "test_order": false,
        "line_items": [
            {
                "order_item_id": 1,
                "sku": "BCMTP800M",
                "name": "Line Item 1",
                "quantity": 3,
                "print_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ],
                "preview_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ]
            }
        ],
        "address": {
            "name": "John Smith",
            "email": "johnsmith@demo.com",
            "company": "DEMO",
            "phone": "(330) 638-1331",
            "street1": "4736 Phillips Rice Rd",
            "street2": "",
            "city": "Cortland",
            "state": "OH",
            "country": "US",
            "zip": "44410",
            "force_verified_status": true
        },
        "shipping_method": "standard"
        
    },
    {
        "order_id": "OD-ZA-134",
        "test_order": false,
        "line_items": [
            {
                "order_item_id": 2,
                "sku": "BCMTP800M",
                "name": "Line Item 1",
                "quantity": 3,
                "print_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ],
                "preview_files": [
                    {
                        "key": "front",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    },
                    {
                        "key": "back",
                        "url": "https://via.placeholder.com/2400/09f/fff.png"
                    }
                ]
            }
        ],
        "address": {
            "name": "John Smith",
            "email": "johnsmith@demo.com",
            "company": "DEMO",
            "phone": "(330) 638-1331",
            "street1": "4736 Phillips Rice Rd",
            "street2": "",
            "city": "Cortland",
            "state": "OH",
            "country": "US",
            "zip": "44410",
            "force_verified_status": true
        },
        "shipping_method": "standard"        
    }
]'

Responses

🟢200Create Multiple Orders
application/json
Body

Example
[
    {
        "status": true,
        "message": "Success.",
        "data": {
            "id": "06lz3a10",
            "order_id": "OD-ZA-30"
        }
    },
    {
        "status": true,
        "message": "Success.",
        "data": {
            "id": "06lz3b09",
            "order_id": "OD-ZA-31"
        }
    }
]
Modified at 2025-08-04 03:29:18
Previous
Create Order
Next
Get Order
Built with