Shipsidekick LogoShipsidekick Docs
API/Orders

Create a new order

Create a new order in the system. Optionally include a return order to be created simultaneously (useful for pre-paid return labels included with outbound orders). Requires full write access to orders.

POST
/orders

Request Body

application/jsonRequired
nameRequiredstring

Order name prefix - the system will generate a unique order name using this prefix

aliasstring

Alternative identifier for the order

priceRequirednumber

Total price of the order

Format: "float"
compareAtPricenumber

Original price before discounts

Format: "float"
currencyRequiredstring

Currency code for the order

Default: "usd"
financialStatusRequiredstring

Payment status of the order

Default: "pending"Value in: "authorized" | "expired" | "paid" | "partially-paid" | "partially-refunded" | "pending" | "refunded" | "voided"
fulfillmentStatusRequiredstring

Fulfillment status of the order

Default: "open"Value in: "scheduled" | "open" | "confirmed" | "on-hold" | "partially-fulfilled" | "fulfilled"
orderDateRequiredstring

Date the order was placed

Format: "date-time"
targetDeliveryDatestring

Target date for delivery

Format: "date-time"
shipToAddressobject

Shipping address details

customerIdstring

ID of the customer placing the order

Format: "uuid"
lineItemsarray<object>

Products to include in the order

tagsarray<string>

Tags to associate with the order

notesarray<string>

Notes to attach to the order

returnOrderobject

Return order information to be created with this order (useful for pre-paid return labels included with outbound orders)

curl -X POST "https://www.shipsidekick.com/api/v1/orders" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "ORD",
    "alias": "CONT-789",
    "price": 42.98,
    "compareAtPrice": 52.98,
    "currency": "usd",
    "financialStatus": "paid",
    "fulfillmentStatus": "open",
    "orderDate": "2025-03-06T14:30:00Z",
    "targetDeliveryDate": "2025-03-09T14:30:00Z",
    "customerId": "cust-9876-5432-abcd",
    "shipToAddress": {
      "name": "John Wick",
      "company": "The Continental",
      "street1": "345 California St.",
      "street2": "",
      "city": "San Francisco",
      "state": "CA",
      "postalCode": "94104",
      "country": "US",
      "phone": "2504806765",
      "email": "johnwick@example.com",
      "isResidential": false
    },
    "lineItems": [
      {
        "price": 19.99,
        "quantity": 1,
        "productVariantSku": "RCT-RED-S"
      },
      {
        "price": 22.99,
        "quantity": 1,
        "productVariantTitle": "Retro Crew Tee - Blue, Small"
      }
    ],
    "tags": [
      "VIP",
      "Priority"
    ],
    "notes": [
      "Customer requested expedited shipping",
      "Package should be handled with care"
    ]
  }'

Order created successfully

{
  "object": "order",
  "data": {
    "id": "abcd1234-e89b-12d3-a456-426614174000",
    "organizationId": "org-5678-1234-abcd-efgh-987654321000",
    "name": "ORD-12345",
    "alias": "CONT-789",
    "price": 42.98,
    "compareAtPrice": 52.98,
    "currency": "usd",
    "financialStatus": "paid",
    "fulfillmentStatus": "open",
    "orderDate": "2025-03-06T14:30:00Z",
    "targetDeliveryDate": "2025-03-09T14:30:00Z",
    "shipToAddress": {
      "name": "John Wick",
      "company": "The Continental",
      "street1": "345 California St.",
      "street2": "",
      "city": "San Francisco",
      "state": "CA",
      "postalCode": "94104",
      "country": "US",
      "phone": "2504806765",
      "email": "johnwick@example.com",
      "isResidential": false
    },
    "shipMethod": null,
    "insuranceRequest": null,
    "createdAt": "2025-03-06T14:32:15Z",
    "updatedAt": "2025-03-06T14:32:15Z",
    "archivedAt": null,
    "customer": {
      "id": "cust-9876-5432-abcd",
      "name": "John Wick",
      "email": "johnwick@example.com",
      "phone": "2504806765",
      "company": "The Continental"
    },
    "lineItems": [
      {
        "id": "li-1234-5678-9abc-def0",
        "price": 19.99,
        "compareAtPrice": null,
        "currency": "usd",
        "quantity": 1,
        "productVariant": {
          "id": "pv-abcd-1234-efgh-5678",
          "productId": "prod-1234-5678-abcd",
          "title": "Red / Small",
          "sku": "RCT-RED-S",
          "skuAliases": [],
          "barcode": "1234567890123",
          "price": 19.99,
          "compareAtPrice": null,
          "currency": "usd",
          "weight": 0.5,
          "weightUnit": "lb",
          "dimensions": {
            "length": 10,
            "width": 8,
            "height": 2
          },
          "dimensionsUnit": "in",
          "tracksInventory": true,
          "product": {
            "name": "Retro Crew Tee"
          }
        }
      },
      {
        "id": "li-5678-9abc-def0-1234",
        "price": 22.99,
        "compareAtPrice": null,
        "currency": "usd",
        "quantity": 1,
        "productVariant": {
          "id": "pv-efgh-5678-ijkl-9012",
          "productId": "prod-1234-5678-abcd",
          "title": "Blue / Small",
          "sku": "RCT-BLUE-S",
          "skuAliases": [],
          "barcode": "1234567890124",
          "price": 22.99,
          "compareAtPrice": null,
          "currency": "usd",
          "weight": 0.5,
          "weightUnit": "lb",
          "dimensions": {
            "length": 10,
            "width": 8,
            "height": 2
          },
          "dimensionsUnit": "in",
          "tracksInventory": true,
          "product": {
            "name": "Retro Crew Tee"
          }
        }
      }
    ],
    "tags": [
      {
        "id": "tag-1234-5678",
        "name": "VIP"
      },
      {
        "id": "tag-5678-9012",
        "name": "Priority"
      }
    ],
    "notes": [
      {
        "id": "note-1234-5678",
        "content": "Customer requested expedited shipping",
        "createdAt": "2025-03-06T14:32:20Z",
        "user": {
          "id": "user-1234-5678",
          "name": "Admin User",
          "email": "admin@example.com"
        }
      },
      {
        "id": "note-5678-9012",
        "content": "Package should be handled with care",
        "createdAt": "2025-03-06T14:32:22Z",
        "user": {
          "id": "user-1234-5678",
          "name": "Admin User",
          "email": "admin@example.com"
        }
      }
    ],
    "shipments": [],
    "tasks": [],
    "returnOrders": []
  }
}