Skip to content

API for order

Import order by file CSV

API: /api/integration/order/import.json

Method: POST

Request Header

keyvalue
X-pawdo-access-tokenAPI KEY

Request Body

keytype
order_namestring
namestring
quantityuint64
image_previewstring
designstring
emailstring
address1string
address2string
citystring
countrystring
full_namestring
phonestring
provincestring
zipstring
companystring
province_codestring
ioss_numstring
sku_codestring
propertiesstring
variant_idstring
variant_option1string
variant_option2string
variant_option3string
financial_statusstring
shipping_linestring
notestring
resourcestring

Example

json
{
    "note": "25/05/25 afternoon import",
    "data": [
        {
            "mockup_front": "https://example.com/images/sample-document.png",
            "mockup_back": "",
            "design_front": "https://example.com/images/sample-document.png",
            "design_back": "",
            "design_left": "",
            "design_right": "",
            "order_number": "ORDER-0012",
            "type": "T-Shirt",
            "title": "Limited Edition Graphic Tee",
            "sku": "TEE-001-BLK-M",
            "system_sku": "THS-L9",
            "option1": "M",
            "option2": "Black",
            "option3": "",
            "quantity": 2,
            "tag": "summer-collection",
            "name": "Alex Sanchez",
            "address1": "1234 county",
            "address2": "",
            "option_ship": "standard",
            "city": "Lacona",
            "state": "New York",
            "province_code": "FL",
            "country": "United States",
            "country_code": "US",
            "phone": "",
            "email": "",
            "postal_code": "13083",
            "thank_card": "",
            "brand_kit_a5": "",
            "brand_kit_a5_clothes": "",
            "brand_kit_a6": ""
        },
        {
            "mockup_front": "https://example.com/images/sample-document.png",
            "mockup_back": "",
            "design_front": "https://example.com/images/sample-document.png",
            "design_back": "",
            "design_left": "",
            "design_right": "",
            "order_number": "ORDER-0012",
            "type": "T-Shirt",
            "title": "Limited Edition Graphic Tee",
            "sku": "TEE-002-XL",
            "system_sku": "WXN-XL",
            "option1": "M",
            "option2": "White",
            "option3": "",
            "quantity": 2,
            "tag": "summer-collection",
            "name": "Alex Sanchez",
            "address1": "1234 county route 17",
            "address2": "",
            "option_ship": "standard",
            "city": "Lacona",
            "state": "New York",
            "province_code": "FL",
            "country": "United States",
            "country_code": "US",
            "phone": "",
            "email": "",
            "postal_code": "13083",
            "thank_card": "",
            "brand_kit_a5": "",
            "brand_kit_a5_clothes": "",
            "brand_kit_a6": ""
        }
    ]
}
  • Upon successful order creation, navigate to the Order List interface to verify the information.
  • Alternatively, retrieve the order list using the API documented below.

Create Order Manually

API: /api/integration/orders.json

Method: POST

Request Header

keyvalue
X-pawdo-access-tokenAPI KEY

Request Body (JSON - raw)

  • Content-Type: application/json
keytyperequirednote
order_numberstringRequiredOrder number / reference – must be unique
external_transaction_idstringOptionalExternal transaction ID (from another system)
skip_verify_addressbooleanOptionalSkip address verification step
line_itemsarray of objectsRequiredList of products (maximum 500 items)
addressobjectRequiredShipping address information

Field Details

address

keytyperequirednote
namestringRequiredRecipient's name
option_shipstringRequiredShipping method: standard, express, fast, tiktok
label_shipurlConditionalShipping label URL – required when option_ship is tiktok
address1stringOptionalAddress line 1
address2stringOptionalAddress line 2
citystringOptionalCity
province_codestringOptionalState / Province code
countrystringOptionalCountry name
country_codestringRequiredCountry code (ISO 3166-1 alpha-2)
postal_codestringOptionalZIP / Postal code
emailstringOptionalRecipient's email
phonestringOptionalPhone number

line_items

keytyperequirednote
skustringOptionalSKU from external system
system_skustringOptionalInternal system SKU
quantitynumberRequiredQuantity (min > 0, max < 1000)
titlestringOptionalProduct title / name
notestringOptionalInternal note / remark
mockup1..mockup4urlOptionalMockup image URLs (1 to 4)
design1..design4urlOptionalDesign file URLs (1 to 4)
option1..option3stringOptionalProduct variant options
external_line_item_idstringOptionalExternal line item ID (from another system)

Constraints / Validation Rules

keyrule
order_numberMust be unique – used as idempotency key
line_itemsMaximum 500 items
line_items[].quantityMust be > 0 and < 1000

Example (Request)

json
{
  "order_number": "#ORDER-056487",
  "external_transaction_id": "TS-9283023921",
  "skip_verify_address": true,
  "line_items": [
    {
      "sku": "QTR-XS2",
      "system_sku": "QTR-XS2",
      "quantity": 5,
      "title": "",
      "note": "",
      "mockup1": "https://example.com/mockup1.png",
      "mockup2": "",
      "mockup3": "",
      "mockup4": "",
      "design1": "https://example.com/design1.png",
      "design2": "",
      "design3": "",
      "design4": "",
      "option1": "",
      "option2": "",
      "option3": "",
      "external_line_item_id": "LI-1048273842"
    }
  ],
  "address": {
    "name": "John Doe",
    "option_ship": "standard",
    "label_ship": "",
    "address1": "123 Main Street",
    "address2": "Apartment 4B",
    "city": "Los Angeles",
    "province_code": "CA",
    "country": "United States",
    "country_code": "US",
    "postal_code": "90001",
    "email": "[email protected]",
    "phone": ""
  }
}

Example (Response successfully)

json
{
  "data": {
    "order_id": "d33e0745-e700-4d49-9fb1-01ac3e5135c3"
  },
  "message": "ok",
  "status": true
}