1. APIs
Help for ShipSage
  • 中文版 V2.0
    • 接口集成
      • OMS API
        • 入门指南
        • 接口
          • 店铺
          • 仓库
          • 产品
          • 库存
          • 订单
          • 包裹
          • 物流跟踪
          • 发货计划
          • 转运
          • 增值服务
          • 退货
          • 文件上传
  • English V2.0
    • API Integration
      • OMS API
        • Getting Started
        • APIs
          • Account
          • Warehouse
          • Product
          • Inventory
          • Order
          • Shipping
          • Tracking
          • ASN
          • Transfer
          • VAS
          • Return
          • File Upload
  1. APIs

Order

Endpoints#

MethodEndpointDescription
GET/api/v202105/ordersRetrieves a list of orders
POST/api/v202105/ordersCreate a new order
POST/api/v202105/ordersCancel an order

Header#

KeyValue
AuthorizationBearer eyJ0eXAiOiJKV1QiLCJhbGciOi ...

GET /api/v202105/orders#

Request#

Params#
TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type

Available Values:
index.by-default
requiredenum
querynext_tokenThe next page dataoptionalstring
queryplatform_order_idThe platform order numberoptionalstring
querycustomer_order_idThe customer order numberoptionalstring
queryaccount_idThe sales account IDoptionalinteger
queryaccount_nameThe sales account nameoptionalstring
querycreate_time_startThe shipsage order create time start timezone:PSToptionaldatetime
querycreate_time_endThe shipsage order create time end timezone:PSToptionaldatetime
queryupdate_time_startThe shipsage order update time start timezone:PSToptionaldatetime
queryupdate_time_endThe shipsage order update time end timezone:PSToptionaldatetime
querystatusThe shipsage order status

Available Values:
Synced, To Be Confirmed, Confirmed, Processing, Cancelled, Fulfillment, Shipped
optional(If the status parameter is filled,the create_time_start parameter is required )enum

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
trx_idThe shipsage order numberstring
platform_order_idThe platform order numberstring
customer_order_idThe customer order numberstring
account_nameThe sales account namestring
order_timeThe customer order created time timezone:PSTdatetime
paid_timeThe customer order paid time timezone:PSTdatetime
shipped_timeThe customer order shipped time timezone:PST If an order contains multiple packages, the shipping time of the earliest package will be takendatetime
ship_to_nameThe recipient's namestring
ship_to_address1The recipient's address onestring
ship_to_address2The recipient's address twostring
ship_to_phoneThe recipient's phonestring
ship_to_cityThe recipient's address citystring
ship_to_stateThe recipient's address statestring
ship_to_countryThe recipient's address countrystring
ship_to_postal_codeThe recipient's address postal codestring
selling_skuThe selling skustring
customer_skuThe customer skustring
item_idThe shipsage listing idstring
titleThe order titlestring
quantityThe selling sku quantityinteger
statusThe shipsage order status

Available Values:
Synced, To Be Confirmed, Confirmed, Processing, Cancelled, Fulfillment, Shipped
enum
create_timeThe shipsage order create time timezone:PSTdatetime
update_timeThe shipsage order update time timezone:PSTdatetime
Data Demo#
[
    {
        "trx_id": "33693018972994",
        "platform_order_id": null,
        "customer_order_id": null,
        "account_name": "DemoSeller",
        "created_date": "2022-03-02 20:31:36",
        "paid_time": "2022-03-03 07:09:43",
        "shipped_time": "2022-03-03 13:09:43",
        "ship_to_name": "John Doe",
        "ship_to_address1": "123 Main Street",
        "ship_to_address2": "Suite 100",
        "ship_to_phone": null,
        "ship_to_city": "Springfield",
        "ship_to_state": "CA",
        "ship_to_country": "US",
        "ship_to_postal_code": "90001"
        "seller_sku": "123456",
        "customer_sku": "130798",
        "item_id": "1234QSWZBYK",
        "title": "Sample Product",
        "quantity": 1,
        "status": "Synced",
        "create_time": "2022-03-03 01:00:28",
        "update_time": "2022-03-03 02:00:33"
    },
    {
        "trx_id": "33693018972994",
        "platform_order_id": null,
        "customer_order_id": null,
        "account_name": "DemoSeller",
        "created_date": "2022-03-02 20:31:36",
        "paid_time": "2022-03-03 07:09:43",
        "ship_to_name": "John Doe",
        "ship_to_address1": "123 Main Street",
        "ship_to_address2": "Suite 100",
        "ship_to_phone": null,
        "ship_to_city": "Springfield",
        "ship_to_state": "CA",
        "ship_to_country": "US",
        "ship_to_postal_code": "90001"
        "seller_sku": "123456",
        "customer_sku": "130798",
        "item_id": "1234QSWZBYK",
        "title": "Sample Product",
        "quantity": 1,
        "status": "Synced",
        "create_time": "2022-03-03 01:00:28",
        "update_time": "2022-03-03 02:00:33"
    }
]

POST /api/v202105/orders#

Request#

Params#
TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type Available Values: index.by-defaultrequiredenum
bodyaccount_nameThe sales account namerequiredstring
bodyplatform_order_idThe platform order numberrequiredstring
bodycustomer_order_idThe customer order numberoptionalstring
bodyorder_timeThe customer order created time timezone:PSTrequireddatetime
bodypaid_timeThe customer order paid time timezone:PSTrequireddatetime
bodyship_to_nameThe recipient's namerequiredstring
bodyship_to_address1The recipient's address onerequiredstring
bodyship_to_address2The recipient's address twooptionalstring
bodyship_to_phoneThe recipient's phonerequiredstring
bodyship_to_cityThe recipient's address cityrequiredstring
bodyship_to_stateThe recipient's address staterequiredstring
bodyship_to_countryThe recipient's address countryrequiredstring
bodyship_to_postal_codeThe recipient's address postal coderequiredstring
bodyplatformThe order platformoptionalstring
bodywarehouse_idThe order’s assigned warehouse id
Available Values:
100: SG-MDW1(Bolingbrook);
101: SG-SMF1(Tracy);
103: SG-MEM1(Southaven);
109: SG-ABE1(Allentown);
112: SG-ATL1 (ShipSage-ATL1);
113: SG-ONT1(Ontario);
114: SG-ONT2(Corona);
116: SG-IAH1(Houston);
117: SG-ONT3(Jurupa Valley);
118:SG-IAH2(Houston)
optionalstring
bodylatest_ship_datethe latest ship date ship out from warehouseoptionaldate
bodycarriercarrier The order ’s shipping carrier;
such as: UPS, USPS, DHL, FedEx...etc.
optionalstring
bodycarrier_servicecarrier service
such as UPS Ground, UPS Sure Post, Fedex Ground Home Delivery, Fedex Ground...etc.
optionalstring
bodyprimeprime: 0 or 1optionalinteger
bodyshipping_itemsThe order ’s shipping carrier;
such as: UPS, USPS, DHL, FedEx...etc.
optionalshipping_items
bodyproduct_itemsThe order product itemsrequiredarray
bodyproduct_items.*.selling_skuThe selling skurequiredstring
bodyproduct_items.*.quantityThe selling sku quantityrequiredinteger
bodyproduct_items.*.unit_priceThe selling sku unit_priceoptionaldouble
bodyproduct_items.*.order_item_idThe order item idoptionalstring
shipping_items
TypeNameDescriptionRequired/OptionalSchema
bodypacking_slipThe order’s shipping packing slip attachmentoptionalarray
bodybolThe order’s shipping bol attachmentoptionalarray
bodylabelsThe order’s shipping label datarequiredarray
bodylabels.*.tracking_numbershipping label ‘s tracking numberrequiredstring
bodylabels.*.shipping_carriershipping carrier, like UPS/FedEx/DHL/USPS…etc.
"If provided, this value takes priority. If omitted, the system auto-detects from tracking_number. If auto-detection fails, the top-level carrier is used as fallback."
optionalstring
bodylabels.*.shipping_methodShipping method, like UPS Ground, UPS Sure Post…etc.
"If provided, this value takes priority. If omitted, the system auto-detects from tracking_number. If auto-detection fails, the top-level carrier_service is used as fallback."
optionalstring
bodylabels.*.with_packing_slipIndicates whether labels.*.url is a merged multi-page PDF containing the shipping label, packing slip, and (optionally) BOL. When true, the system splits the PDF by physical page: Page 1 → shipping label, Page 2 → packing slip, Page 3 → BOL. In this mode, do not submit packing_slip.url. Defaults to false.requiredstring
bodylabels.*.urlShipping item’s shipping label url. url or base64 must be providedoptionalstring
bodylabels.*.base64Shipping item’s shipping label file base64. url or base64 must be provided.optionalbase64
bodylabels.*.detailslabel shipping items.requiredarray
bodylabels.*.details.selling_skulabel shipping item’s product.requiredstring
bodylabels.*.details.quantitylabel shipping item’s product quantity.requiredinteger
Body Demo#
{
    "account_name":"ShipSageTest",
    "platform_order_id":"PON-01",
    "customer_order_id":"CON-01",
    "order_time":"2023-01-14 18:12:34",
    "paid_time":"2023-01-14 14:23:32",
    "ship_to_name":"Jackson",
    "ship_to_address1":"address_1",
    "ship_to_address2":"address_2",
    "ship_to_phone":"1234567890",
    "ship_to_city":"CityName",
    "ship_to_state":"State",
    "ship_to_country":"Country",
    "ship_to_postal_code":"1111",
    "platform":"Wayfair",
    "warehouse_id":"100",
    "shipping_items":{
        "packing_slip": {
            "url": "https:/ss..."
        },
        "bol": {
            "url": "https:/SS...."
        },
        "labels":
        [
            {
                "tracking_number": "111",
                "shipping_carrier": "UPS",
                "shipping_method":"UPS Ground",
                "url": "https://www.XXXXX.com/xx1.PDF",
                "base64":""
                "details": [
                    {
                        "selling_sku":"Test-100001",
                        "quantity": "1"
                    }
                ]
            },
            {
                "tracking_number": "111",
                "shipping_carrier": "UPS",
                "shipping_method":"UPS Ground",
                "url": "",
                "base64":"JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZS..."
                "details": [
                    {
                        "selling_sku":"Test-100001",
                        "quantity": "1"
                    }
                ]
            }
        ]
    }
    "product_items":
    [
        {
            "selling_sku":"Test-100001",
            "quantity": "1",
            "unit_price": "101",
            "order_item_id": "166527415163201"
        }
    ]
}

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
account_nameThe sales account namestring
platform_order_idThe platform order numberstring
customer_order_idThe customer order numberstring
order_timeThe customer order created time timezone:PSTdatetime
paid_timeThe customer order paid time timezone:PSTdatetime
ship_to_nameThe recipient's namestring
ship_to_address1The recipient's address onestring
ship_to_address2The recipient's address twostring
ship_to_phoneThe recipient's phonestring
ship_to_cityThe recipient's address citystring
ship_to_stateThe recipient's address statestring
ship_to_countryThe recipient's address countrystring
ship_to_postal_codeThe recipient's address postal codestring
trx_itemsThe shipsage order detailarray
trx_items.*.trx_idThe shipsage order numberstring
trx_items.*.item_idThe shipsage lisnting idstring
trx_items.*.order_idThe platform order numberstring
trx_items.*.account_nameThe sales account namestring
trx_items.*.selling_skuThe selling skustring
trx_items.*.product_nameThe selling sku namestring
trx_items.*.quantityThe selling sku quantityinteger
trx_items.*.unit_priceThe selling sku unit_pricedouble
Data Demo#
{
    "errcode": 0,
    "errmsg": "ok",
    "data": {
        "account_name": "account1",
        "platform_order_id": "23432342341",
        "customer_order_id": null,
        "order_time": "2026-01-20T00:00:00",
        "ship_to_name": "1",
        "ship_to_phone": "1",
        "ship_to_address1": "1",
        "ship_to_address2": null,
        "ship_to_city": "1",
        "ship_to_state": "1",
        "ship_to_country": "1",
        "ship_to_postal_code": "1",
        "trx_items": [
            {
                "trx_id": "AMA-SA-1897-295455-23432342341",
                "item_id": "YYM-295455-202502-1",
                "order_id": "23432342341",
                "account_name": "account1",
                "quantity": 1,
                "unit_price": 1,
                "selling_sku": "TEST1",
                "product_name": "TEST1"
            }
        ]
    }
}

POST /api/v202105/orders#

Request#

Params#
TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type

Available Values:
store.by-cancel-order
requiredenum
bodyplatform_order_idThe platform order number,platform_order_id and customer_order_id must fill in oneoptionalstring
bodycustomer_order_idThe customer order number,platform_order_id and customer_order_id must fill in oneoptionalstring
Body Demo#
{
  
      "platform_order_id": "PON-01"
}

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
trx_idThe shipsage order numberstring
account_nameThe sales account namestring
platform_order_idThe platform order numberstring
customer_order_idThe customer order numberstring
Data Demo#
{
  "errcode": 0,
  "errmsg": "ok",
  "data": [
    {
      "trx_id": "YC-PON-01-310001",
      "account_name": "ShipSageTest",
      "platform_order_id": "PON-01",
      "customer_order_id": "CON-01"
    },
    {
      "trx_id": "YC-PON-01-310002",
      "account_name": "ShipSageTest",
      "platform_order_id": "PON-01",
      "customer_order_id": "CON-01"
    }
  ]
}

#

Modified at 2026-10-21 01:47:11
Previous
Inventory
Next
Shipping
Built with