| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v202206/asns | Retrieves a list of ASNs |
| POST | /api/v202206/asn/products | Create a new ASN whose handling unit is skus |
| POST | /api/v202206/asn/pallets | Create a new ASN whose handling unit is pallets |
| PUT | /api/v202206/asn/products/{item_id} | Update an ASN whose handling unit is skus |
| PUT | /api/v202206/asn/pallets/{item_id} | Update an ASN whose handling unit is pallets |
| DELETE | /api/v202206/asns/{itemId} | Cancel an ASN (only Draft status can be cancelled) |
| GET | /api/v202206/asn-docs | Retrieve ASN attachment list |
| POST | /api/v202206/asn-docs | Upload ASN attachment (single) |
| DELETE | /api/v202206/asn-docs/{itemId} | Delete ASN attachment (own uploads only) |
[NEW] v202206 Patch (2026-09): Existing GET /api/v202206/asnsresponse now includes a newfeesfield (populated only when the ASN reaches Completed status).New DELETE /api/v202206/asns/{itemId}: cancel ASN (Draft status only).New 3 attachment endpoints: GET / POST / DELETE /api/v202206/asn-docs.Details of the additions follow below.
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| query | api | The API type Available Values: index.by-default | required | enum |
| query | asn_id | ASN ID | optional | integer |
| query | warehouse_id | The warehouse id | ||
| query | handling_unit_id | The inventory management level Availabel Values: 0:Legacy data, 1:sku,3:pallet | optional | enum (integer) |
| query | shipping_method_id | The shipping method id Available Values: 1: By Express 2: By Air 3: By Sea(FCL) 6: By Ground 7: By Truck 8:By Sea (LCL) | optional | enum (integer) |
| query | delivery_method_id | The shipping method id Available Values: 1: SPD 2: LTL 3: FTL 4: FCL | optional | enum (integer) |
| query | is_palletized | Is it palletized? Available Values: 0:No 1:Yes | optional | enum (integer) |
| query | status | The status Available Values: 1:Draft, 2:In Transit, 3:Open, 4:In Progress,5:Billing Audit,6:Completed | optional | enum (interger) |
| query | created_at_from | The shipsage order create time start timezone:PST | optional | datetime |
| query | created_at_to | The shipsage ASN create time end timezone:PST | optional | datetime |
| query | updated_at_from | The shipsage ASN update time start timezone:PST | optional | datetime |
| query | updated_at_to | The shipsage ASN update time end timezone:PST | optional | datetime |
| query | next_token | Show next page data | optional | string |
| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | schema |
|---|---|---|
| asn_id | The shipsage asn id | integer |
| title | The title | string |
| estimate_start_date | The estimate earliest arrival date | datetime |
| estimate_end_date | The estimate latest arrival date | datetime |
| warehouse_id | The warehouse id | integer |
| warehouse_name | The destination warehouse | string |
| status | The status Available Values: 1:Draft, 2:In Transit, 3:Open, 4:In Progress,5:Billing Audit,6:Completed | enum (interger) |
| status_name | The sattus description | |
| handling_unit_id | The inventory management level Availabel Values: 0:Legacy data, 1:sku,3:pallet | enum (interger) |
| fifo | The cross-docking Availabel Values: 0:not fast in fast out, 1:fast in fast out | enum (interger) |
| tracking_info | The tracking information | string |
| shipping_method_id | The shipping method id Available Values: 1: By Express 2: By Air 3: By Sea(FCL) 6: By Ground 7: By Truck 8:By Sea (LCL) | enum (interger) |
| shipping_method_name | The shipping method | string |
| delivery_method_id | The shipping method id Available Values: 1: SPD 2: LTL 3: FTL 4: FCL | enum (interger) |
| container_number | The container number | string |
| ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | enum (interger) |
| ship_container_size_desc | The description of ship container size | string |
| is_palletized | Is it palletized? Available Values: 0:No 1:Yes | enum (interger) |
| hbl | The house bill of loading | string |
| mbl | The master bill of lading | string |
| create_time | The ASN's create time timezone:PST | datetime |
| update_time | The ASN's last update time timezone:PST | datetime |
| manifest_items | The Packing List items | array |
| manifest_items.*.asn_id | The asn id | integer |
| manifest_items.*.pallet_num | The pallet number | string |
| manifest_items.*.pallet_barcode | The pallet barcode | string |
| manifest_items.*.pallet_weight | The pallet weight (kg) | double |
| manifest_items.*.pallet_length | The pallet length (cm) | double |
| manifest_items.*.pallet_width | The pallet width (cm) | double |
| manifest_items.*.pallet_height | The pallet height (cm) | double |
| manifest_items.*.carton_num | The carton num | string |
| manifest_items.*.carton_barcode | The carton barcode | string |
| manifest_items.*.content | The physical content in the carton or in the pallet | string |
| manifest_items.*.carton_weight | The carton weight (kg) | double |
| manifest_items.*.carton_length | The carton length (cm) | double |
| manifest_items.*.carton_width | The carton width (cm) | double |
| manifest_items.*.carton_height | The carton height (cm) | double |
| manifest_items.*.carton_tracking_number | The carton tracking number | string |
| manifest_items.*.content | The physical content in the carton or in the pallet | string |
| manifest_items.*.customer_sku | The customer sku | string |
| manifest_items.*.qty | The qty per carton of this customer sku | integer |
| manifest_items.*.purchase_order | The purchase order number | string |
| manifest_items.*.vendor_id | The vendor ID | integer |
| manifest_items.*.lot_attr_01 | The lot attributes 1 | string |
| manifest_items.*.lot_attr_02 | The lot attributes 2 | string |
| manifest_items.*.lot_attr_03 | The lot attributes 3 | string |
| manifest_items.*.lot_attr_04 | The lot attributes 4 | string |
| manifest_items.*.lot_attr_05 | The lot attributes 5 | string |
| manifest_items.*.lot_attr_06 | The lot attributes 6 | string |
| manifest_items.*.lot_attr_07 | The lot attributes 7 | string |
| manifest_items.*.lot_attr_08 | The lot attributes 8 | string |
| manifest_items.*.lot_attr_09 | The lot attributes 9 | string |
| manifest_items.*.lot_attr_10 | The lot attributes 10 | string |
| manifest_items.*.lot_attr_11 | The lot attributes 11 | string |
| manifest_items.*.lot_attr_12 | The lot attributes 12 | string |
| manifest_items.*.lot_attr_13 | The lot attributes 13 | string |
| manifest_items.*.lot_attr_14 | The lot attributes 14 | string |
| manifest_items.*.lot_attr_15 | The lot attributes 15 | string |
| receiving_items | The sku detail items of asn | array |
| receiving_items.*.line_id | The receiving item id | integer |
| receiving_items.*.asn_id | The shipsage asn id | integer |
| receiving_items.*.status | 1: Open, 2: Close | integer |
| receiving_items.*.sku | The shipsage sku | integer |
| receiving_items.*.customer_sku | The customer sku | string |
| receiving_items.*.display_code | The received qty | integer |
| receiving_items.*.qty | The sku qty | integer |
| receiving_items.*.qty_defective | The defective qty | integer |
| receiving_items.*.qty_inventory | The inbound qty | integer |
| receiving_items.*.lot_attr_01 | The lot attributes 1 | string |
| receiving_items.*.lot_attr_02 | The lot attributes 2 | string |
| receiving_items.*.lot_attr_03 | The lot attributes 3 | string |
| receiving_items.*.lot_attr_04 | The lot attributes 4 | string |
| receiving_items.*.lot_attr_05 | The lot attributes 5 | string |
| receiving_items.*.lot_attr_06 | The lot attributes 6 | string |
| receiving_items.*.lot_attr_07 | The lot attributes 7 | string |
| receiving_items.*.lot_attr_08 | The lot attributes 8 | string |
| receiving_items.*.lot_attr_09 | The lot attributes 9 | string |
| receiving_items.*.lot_attr_10 | The lot attributes 10 | string |
| receiving_items.*.lot_attr_11 | The lot attributes 11 | string |
| receiving_items.*.lot_attr_12 | The lot attributes 12 | string |
| receiving_items.*.lot_attr_13 | The lot attributes 13 | string |
| receiving_items.*.lot_attr_14 | The lot attributes 14 | string |
| receiving_items.*.lot_attr_15 | The lot attributes 15 | string |
[
{
"asn_id": 17078,
"title": "TSF-FBA-Partsam-PLN20220905 Southaven",
"handling_unit_id": 1,
"estimate_start_date": null,
"estimate_end_date": "2022-09-28",
"warehouse_id": 9,
"warehouse_name": "Amazon-FBA_US",
"status": 2,
"status_name": "Shipped",
"shipping_method_id": 1,
"shipping_method_name": "By Express",
"delivery_method_id": 1,
"fifo": 0,
"ship_container_size": null,
"is_palletized": 0,
"tracking_info": null,
"container_number": null,
"hbl": null,
"mbl": null,
"create_time": "2022-09-07 18:44:21",
"update_time": "2022-09-07 18:44:21",
"manifest_items": [],
"receiving_items": [
{
"line_id": 705535,
"asn_id": 17078,
"status": 1,
"customer_sku": "176085",
"sku": 176085,
"display_code": "",
"qty": 19,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
}
]
},
{
"asn_id": 17077,
"title": "TSF-FBA-Partsam-PLN20220829 Tracy-2",
"handling_unit_id": 1,
"estimate_start_date": null,
"estimate_end_date": "2022-09-28",
"warehouse_id": 9,
"warehouse_name": "Amazon-FBA_US",
"status": 2,
"status_name": "Shipped",
"shipping_method_id": 1,
"shipping_method_name": "By Express",
"fifo": 0,
"ship_container_size": null,
"tracking_info": null,
"container_number": null,
"hbl": null,
"mbl": null,
"create_time": "2022-09-07 18:32:39",
"update_time": "2022-09-07 18:32:39",
"manifest_items": [],
"receiving_items": [
{
"line_id": 705530,
"asn_id": 17077,
"status": 1,
"customer_sku": "111880",
"sku": 111880,
"display_code": "",
"qty": 7,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
},
{
"line_id": 705531,
"asn_id": 17077,
"status": 1,
"customer_sku": "162259",
"sku": 162259,
"display_code": "",
"qty": 12,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
},
{
"line_id": 705532,
"asn_id": 17077,
"status": 1,
"customer_sku": "165903",
"sku": 165903,
"display_code": "",
"qty": 89,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
},
{
"line_id": 705533,
"asn_id": 17077,
"status": 1,
"customer_sku": "192087",
"sku": 192087,
"display_code": "",
"qty": 4,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
},
{
"line_id": 705534,
"asn_id": 17077,
"status": 1,
"customer_sku": "144139",
"sku": 144139,
"display_code": "",
"qty": 9,
"qty_defective": 0,
"qty_inventory": null,
"lot_attr_01": null,
"lot_attr_02": null,
"lot_attr_03": null,
"lot_attr_04": null,
"lot_attr_05": null,
"lot_attr_06": null,
"lot_attr_07": null,
"lot_attr_08": null,
"lot_attr_09": null,
"lot_attr_10": null,
"lot_attr_11": null,
"lot_attr_12": null,
"lot_attr_13": null,
"lot_attr_14": null,
"lot_attr_15": null
}
]
}
]| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| query | api | The API type Available Values: index.by-default | required | enum |
| body | fifo | The cross-docking Availabel Values: 0:not fast in fast out, 1:fast in fast out | required | enum |
| body | warehouse_id | The destination 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) | required | enum (interger) |
| body | estimate_start_date | The estimated earliest arrival date | required | datetime |
| body | estimate_end_date | The estimated latest arrival date | required | datetime |
| body | status | The status default 0 Available Values: 1:Draft 2:In Transit | optional | enum (interger) |
| body | manifest_items | Packing List items | required | array |
| body | manifest_items.*.pallet_num | The pallet number | optional | string |
| body | manifest_items.*.pallet_weight | The pallet weight (kg) | optional | double |
| body | manifest_items.*.pallet_length | The pallet length (cm) | optional | double |
| body | manifest_items.*.pallet_width | The pallet width (cm) | optional | double |
| body | manifest_items.*.pallet_height | The pallet height (cm) | optional | double |
| body | manifest_items.*.carton_num | The carton num | required | string |
| body | manifest_items.*.carton_weight | The carton weight (kg) | required | double |
| body | manifest_items.*.carton_length | The carton length (cm) | required | double |
| body | manifest_items.*.carton_width | The carton width (cm) | required | double |
| body | manifest_items.*.carton_height | The carton height (cm) | required | double |
| body | manifest_items.*.carton_tracking_number | The carton tracking number | optional | string |
| body | manifest_items.*.customer_sku | The customer sku | required | string |
| body | manifest_items.*.packed_qty | The qty per carton of this customer sku | required | integer |
| body | manifest_items.*.packing_standard_qty | The standard packaging quantity of the product, that is, the product is packed in several; it can only be filled in if the system maintains the standard packaging standard, otherwise please leave it blank | optional | integer |
| body | manifest_items.*.lot_attr_01 | The lot attributes 1 | optional | string |
| body | manifest_items.*.lot_attr_02 | The lot attributes 2 | optional | string |
| body | manifest_items.*.lot_attr_03 | The lot attributes 3 | optional | string |
| body | manifest_items.*.lot_attr_04 | The lot attributes 4 | optional | string |
| body | manifest_items.*.lot_attr_05 | The lot attributes 5 | optional | string |
| body | manifest_items.*.lot_attr_06 | The lot attributes 6 | optional | string |
| body | manifest_items.*.lot_attr_07 | The lot attributes 7 | optional | string |
| body | manifest_items.*.lot_attr_08 | The lot attributes 8 | optional | string |
| body | manifest_items.*.lot_attr_09 | The lot attributes 9 | optional | string |
| body | manifest_items.*.lot_attr_10 | The lot attributes 10 | optional | string |
| body | manifest_items.*.lot_attr_11 | The lot attributes 11 | optional | string |
| body | manifest_items.*.lot_attr_12 | The lot attributes 12 | optional | string |
| body | manifest_items.*.lot_attr_13 | The lot attributes 13 | optional | string |
| body | manifest_items.*.lot_attr_14 | The lot attributes 14 | optional | string |
| body | manifest_items.*.lot_attr_15 | The lot attributes 15 | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 3: By Sea(FCL) | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 4: FCL | required | enum (integer) |
| body | container_number | The container number | required | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | required | enum (interger) |
| body | hbl | The house bill of loading | optional | string |
| body | mbl | The master bill of lading | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 8:By Sea (LCL) 2:By Air | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 1: SPD 2:LTL | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No 1:Yes | required | enum (integer) |
| body | hbl | The house bill of loading, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is LTL. | optional | string |
| body | mbl | The master bill of lading, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is LTL. | optional | string |
| body | tracking_info | The tracking information, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is SPD. | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 1: By Express | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 1: SPD | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No | required | enum (integer) |
| body | tracking_info | The tracking information | required | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 7: By Truck | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 2: LTL 3:FTL | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No 1:Yes | required | enum (integer) |
| body | hbl | The house bill of loading,HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, HBL or MBL or tracking_info must have one is required | optional | string |
| body | tracking_info | The tracking information, HBL or MBL or tracking_info must have one is required | optional | string |
{
"warehouse_id": 101,
"shipping_method_id": 3,
"ship_container_size": 3,
"delivery_method_id": 4,
"estimate_start_date": "2022-08-01",
"estimate_end_date": "2022-08-30",
"tracking_info": "tracking info 0000",
"fifo": 0,
"status": 0,
"container_number": "aaaa",
"hbl": "",
"mbl": "",
"manifest_items": [
{
"pallet_num": 1,
"pallet_weight": 100.5,
"pallet_length": 20,
"pallet_width": 20,
"pallet_height": 20,
"carton_num": 1,
"carton_weight": 50,
"carton_length": 14,
"carton_width": 12,
"carton_height": 10,
"carton_tracking_number": "",
"customer_sku": "PL-AF102-01W-VC",
"packed_qty": 20,
"packing_standard_qty": 0,
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
},
{
"pallet_num": 1,
"pallet_weight": 100.5,
"pallet_length": 20,
"pallet_width": 20,
"pallet_height": 20,
"carton_num": 2,
"carton_weight": 50,
"carton_length": 14,
"carton_width": 12,
"carton_height": 10,
"carton_tracking_number": "",
"customer_sku": "PL-AF102-01W-VC",
"packed_qty": 20,
"packing_standard_qty": 0,
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
}
]
}| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| asn_id | The sipesage asn id | integer |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"asn_id": 15216
}
}| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| query | api | The API type Available Values: index.by-default | required | enum |
| body | fifo | The cross-docking Availabel Values: 0:not fast in fast out, 1:fast in fast out | required | enum |
| body | warehouse_id | The destination 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) | required | enum (interger) |
| body | estimate_start_date | The estimated earliest arrival date | required | datetime |
| body | estimate_end_date | The estimated latest arrival date | required | datetime |
| body | status | The status default 0 Available Values: 1:Draft 2:In Transit | optional | enum (interger) |
| body | manifest_items | Packing List items | required | array |
| body | manifest_items.*.pallet_num | The pallet number | required | string |
| body | manifest_items.*.pallet_barcode | The pallet barcode | optional | string |
| body | manifest_items.*.pallet_weight | The pallet weight (kg) | required | double |
| body | manifest_items.*.pallet_length | The pallet length (cm) | required | double |
| body | manifest_items.*.pallet_width | The pallet width (cm) | required | double |
| body | manifest_items.*.pallet_height | The pallet height (cm) | required | double |
| body | manifest_items.*.content | The physical content in the pallet | required | string |
| body | manifest_items.*.lot_attr_01 | The lot attributes 1 | optional | string |
| body | manifest_items.*.lot_attr_02 | The lot attributes 2 | optional | string |
| body | manifest_items.*.lot_attr_03 | The lot attributes 3 | optional | string |
| body | manifest_items.*.lot_attr_04 | The lot attributes 4 | optional | string |
| body | manifest_items.*.lot_attr_05 | The lot attributes 5 | optional | string |
| body | manifest_items.*.lot_attr_06 | The lot attributes 6 | optional | string |
| body | manifest_items.*.lot_attr_07 | The lot attributes 7 | optional | string |
| body | manifest_items.*.lot_attr_08 | The lot attributes 8 | optional | string |
| body | manifest_items.*.lot_attr_09 | The lot attributes 9 | optional | string |
| body | manifest_items.*.lot_attr_10 | The lot attributes 10 | optional | string |
| body | manifest_items.*.lot_attr_11 | The lot attributes 11 | optional | string |
| body | manifest_items.*.lot_attr_12 | The lot attributes 12 | optional | string |
| body | manifest_items.*.lot_attr_13 | The lot attributes 13 | optional | string |
| body | manifest_items.*.lot_attr_14 | The lot attributes 14 | optional | string |
| body | manifest_items.*.lot_attr_15 | The lot attributes 15 | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 3: By Sea(FCL) | required | enum (interger) |
| body | container_number | The container number | required | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | required | enum (interger) |
| body | hbl | The house bill of loading | optional | string |
| body | mbl | The master bill of lading | optional | string |
| body | tracking_info | The tracking information | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 8:By Sea (LCL) | required | enum (interger) |
| body | hbl | The house bill of loading, HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, HBL or MBL or tracking_info must have one is required | optional | string |
| body | tracking_info | The tracking information, HBL or MBL or tracking_info must have one is required | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 1: By Express 2: By Air 6: By Ground 7: By Truck | required | enum (interger) |
| body | container_number | The container number, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | optional | enum (interger) |
| body | hbl | The house bill of loading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | tracking_info | The tracking information, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
{
"warehouse_id": 101,
"shipping_method_id": 1,
"ship_container_size": 3,
"estimate_start_date": "2022-08-01",
"estimate_end_date": "2022-08-30",
"tracking_info": "tracking info 0000",
"fifo": 0,
"status": 0,
"manifest_items": [
{
"pallet_num": "1",
"pallet_barcode": "",
"pallet_weight": "100",
"pallet_length": "100",
"pallet_width": "100",
"pallet_height": "100",
"content": "content001",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
},
{
"pallet_num": "2",
"pallet_barcode": "",
"pallet_weight": "100",
"pallet_length": "100",
"pallet_width": "100",
"pallet_height": "100",
"content": "content002",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
}
]
}| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| asn_id | The sipesage asn id | integer |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"asn_id": 15216
}
}| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| query | api | The API type Available Values: index.by-default | required | enum |
| path | item_id | The shipsage asn id | required | integer |
| body | fifo | The cross-docking Availabel Values: 0:not fast in fast out, 1:fast in fast out | optional | enum |
| body | warehouse_id | The destination 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) | optional | enum (interger) |
| body | estimate_start_date | The estimated earliest arrival date | optional | datetime |
| body | estimate_end_date | The estimated latest arrival date | optional | datetime |
| body | status | The status Can only be changed from draft status to shipped status Available Values: 1:Draft 2:In Transit | optional | enum (interger) |
| body | manifest_items | Packing List items | optional | array |
| body | manifest_items.*.pallet_num | The pallet number | optional | string |
| body | manifest_items.*.pallet_weight | The pallet weight (kg) | optional | double |
| body | manifest_items.*.pallet_length | The pallet length (cm) | optional | double |
| body | manifest_items.*.pallet_width | The pallet width (cm) | optional | double |
| body | manifest_items.*.pallet_height | The pallet height (cm) | optional | double |
| body | manifest_items.*.carton_num | The carton num | optional | string |
| body | manifest_items.*.carton_weight | The carton weight (kg) | optional | double |
| body | manifest_items.*.carton_length | The carton length (cm) | optional | double |
| body | manifest_items.*.carton_width | The carton width (cm) | optional | double |
| body | manifest_items.*.carton_height | The carton height (cm) | optional | double |
| body | manifest_items.*.carton_tracking_number | The carton tracking number | optional | string |
| body | manifest_items.*.customer_sku | The customer sku | optional | string |
| body | manifest_items.*.packed_qty | The qty per carton of this customer sku | optional | integer |
| body | manifest_items.*.Packing_standard_qty | The standard packaging quantity of the product, that is, the product is packed in several; it can only be filled in if the system maintains the standard packaging standard, otherwise please leave it blank | optional | integer |
| body | manifest_items.*.lot_attr_01 | The lot attributes 1 | optional | string |
| body | manifest_items.*.lot_attr_02 | The lot attributes 2 | optional | string |
| body | manifest_items.*.lot_attr_03 | The lot attributes 3 | optional | string |
| body | manifest_items.*.lot_attr_04 | The lot attributes 4 | optional | string |
| body | manifest_items.*.lot_attr_05 | The lot attributes 5 | optional | string |
| body | manifest_items.*.lot_attr_06 | The lot attributes 6 | optional | string |
| body | manifest_items.*.lot_attr_07 | The lot attributes 7 | optional | string |
| body | manifest_items.*.lot_attr_08 | The lot attributes 8 | optional | string |
| body | manifest_items.*.lot_attr_09 | The lot attributes9 | optional | string |
| body | manifest_items.*.lot_attr_10 | The lot attributes 10 | optional | string |
| body | manifest_items.*.lot_attr_11 | The lot attributes 11 | optional | string |
| body | manifest_items.*.lot_attr_12 | The lot attributes 12 | optional | string |
| body | manifest_items.*.lot_attr_13 | The lot attributes 13 | optional | string |
| body | manifest_items.*.lot_attr_14 | The lot attributes 14 | optional | string |
| body | manifest_items.*.lot_attr_15 | The lot attributes 15 | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 3: By Sea(FCL) | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 4: FCL | required | enum (integer) |
| body | container_number | The container number | required | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | required | enum (interger) |
| body | hbl | The house bill of loading | optional | string |
| body | mbl | The master bill of lading | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 8:By Sea (LCL) 2:By Air | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 1: SPD 2:LTL | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No 1:Yes | required | enum (integer) |
| body | hbl | The house bill of loading, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is LTL. | optional | string |
| body | mbl | The master bill of lading, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is LTL. | optional | string |
| body | tracking_info | The tracking information, HBL or MBL or tracking_info must have one is required,Please fill in this field if it is SPD. | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 1: By Express | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 1: SPD | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No | required | enum (integer) |
| body | tracking_info | The tracking information | required | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 7: By Truck | required | enum (interger) |
| body | delivery_method_id | The shipping method id Available Values: 2: LTL 3:FTL | required | enum (integer) |
| body | is_palletized | Is it palletized? Available Values: 0:No 1:Yes | required | enum (integer) |
| body | hbl | The house bill of loading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
{
"warehouse_id": 101,
"shipping_method_id": 1,
"ship_container_size": 3,
"estimate_start_date": "2022-08-01",
"estimate_end_date": "2022-08-30",
"tracking_info": "tracking info 0000",
"fifo": 0,
"status": 0,
"manifest_items": [
{
"pallet_num": "1",
"pallet_weight": "100",
"pallet_length": "20",
"pallet_width": "20",
"pallet_height": "20",
"carton_num": "1",
"carton_weight": "50",
"carton_length": "14",
"carton_width": "12",
"carton_height": "10",
"carton_tracking_number": "",
"customer_sku": "PL-AF102-01W-VC",
"packed_qty": "20",
"packing_standard_qty": "",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
},
{
"pallet_num": "1",
"pallet_weight": "100",
"pallet_length": "20",
"pallet_width": "20",
"pallet_height": "20",
"carton_num": 2,
"carton_weight": "50",
"carton_length": "14",
"carton_width": "12",
"carton_height": "10",
"carton_tracking_number": "",
"customer_sku": "PL-AF102-01W-VC",
"packed_qty": "20",
"packing_standard_qty": "",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
}
]
}| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| asn_id | The sipesage asn id | integer |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"asn_id": 15216
}
}| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| query | api | The API type Available Values: index.by-default | required | enum |
| path | item_id | The shipsage asn id | required | integer |
| body | fifo | The cross-docking Availabel Values: 0:not fast in fast out, 1:fast in fast out | optional | enum |
| body | warehouse_id | The destination 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) | optional | enum (interger) |
| body | expected_date | The estimated earliest arrival date | optional | datetime |
| body | estimate_end_date | The estimated latest arrival date | optional | datetime |
| body | status | The status Can only be changed from draft status to shipped status Available Values: 1:Draft 2:In Transit | optional | enum (interger) |
| body | manifest_items | Packing List items | optional | array |
| body | manifest_items.*.pallet_num | The pallet number | optional | string |
| body | manifest_items.*.pallet_barcode | The pallet barcode | optional | string |
| body | manifest_items.*.pallet_weight | The pallet weight (kg) | optional | double |
| body | manifest_items.*.pallet_length | The pallet length (cm) | optional | double |
| body | manifest_items.*.pallet_width | The pallet width (cm) | optional | double |
| body | manifest_items.*.pallet_height | The pallet height (cm) | optional | double |
| body | manifest_items.*.content | The physical content in the carton or in the pallet | optional | string |
| body | manifest_items.*.lot_attr_01 | The lot attributes 1 | optional | string |
| body | manifest_items.*.lot_attr_02 | The lot attributes 2 | optional | string |
| body | manifest_items.*.lot_attr_03 | The lot attributes 3 | optional | string |
| body | manifest_items.*.lot_attr_04 | The lot attributes 4 | optional | string |
| body | manifest_items.*.lot_attr_05 | The lot attributes 5 | optional | string |
| body | manifest_items.*.lot_attr_06 | The lot attributes 6 | optional | string |
| body | manifest_items.*.lot_attr_07 | The lot attributes 7 | optional | string |
| body | manifest_items.*.lot_attr_08 | The lot attributes 8 | optional | string |
| body | manifest_items.*.lot_attr_09 | The lot attributes9 | optional | string |
| body | manifest_items.*.lot_attr_10 | The lot attributes 10 | optional | string |
| body | manifest_items.*.lot_attr_11 | The lot attributes 11 | optional | string |
| body | manifest_items.*.lot_attr_12 | The lot attributes 12 | optional | string |
| body | manifest_items.*.lot_attr_13 | The lot attributes 13 | optional | string |
| body | manifest_items.*.lot_attr_14 | The lot attributes 14 | optional | string |
| body | manifest_items.*.lot_attr_15 | The lot attributes 15 | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 3: By Sea(FCL) | required | enum (interger) |
| body | container_number | The container number | required | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | required | enum (interger) |
| body | hbl | The house bill of loading | optional | string |
| body | mbl | The master bill of lading | optional | string |
| body | tracking_info | The tracking information | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 8:By Sea (LCL) | required | enum (interger) |
| body | hbl | The house bill of loading, HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, HBL or MBL or tracking_info must have one is required | optional | string |
| body | tracking_info | The tracking information, HBL or MBL or tracking_info must have one is required | optional | string |
| Type | Name | Description | Required/Optional | schema |
|---|---|---|---|---|
| body | status | The status default 0 Available Values: 2:In Transit | required | enum (interger) |
| body | shipping_method_id | The shipping method id Available Values: 1: By Express 2: By Air 6: By Ground 7: By Truck | required | enum (interger) |
| body | container_number | The container number, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | ship_container_size | The ship container size Available Values: 3: Container 20 palletized 4: Container 20 no-palletized 5: Container 40 palletized 6: Container 40 no-palletized 7: Container 45 palletized 8: Container 45 no-palletized 9: Container 40HQ palletized 10: Container 40HQ no-palletized | optional | enum (interger) |
| body | hbl | The house bill of loading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | mbl | The master bill of lading, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
| body | tracking_info | The tracking information, container_number or HBL or MBL or tracking_info must have one is required | optional | string |
{
"warehouse_id": 101,
"shipping_method_id": 1,
"ship_container_size": 3,
"estimate_start_date": "2022-08-01",
"estimate_end_date": "2022-08-30",
"tracking_info": "tracking info 0000",
"fifo": 0,
"status": 0,
"manifest_items": [
{
"pallet_num": "1",
"pallet_barcode": "",
"pallet_weight": "100",
"pallet_length": "100",
"pallet_width": "100",
"pallet_height": "100",
"content": "content001",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
},
{
"pallet_num": "2",
"pallet_barcode": "",
"pallet_weight": "100",
"pallet_length": "100",
"pallet_width": "100",
"pallet_height": "100",
"content": "content002",
"lot_attr_01": "attr01",
"lot_attr_02": "attr02",
"lot_attr_03": "attr03"
}
]
}| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| asn_id | The ShipSage asn id | integer |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"asn_id": 15216
}
}fees field to the response. Other fields and request parameters remain the same as the existing interface.asn_id / warehouse_id / handling_unit_id / shipping_method_id / status / date range / next_token, etc.).GET /api/v202206/asns?api=index.by-default&warehouse_id=100&status=6&create_time_from=2026-08-01%2000:00:00&create_time_to=2026-08-31%2023:59:59| Name | Description | Schema |
|---|---|---|
| fees | Fee array (only populated when the ASN reaches Completed status, otherwise an empty array) | array |
| Name | Description | Schema |
|---|---|---|
| fee_name | Fee name | string |
| balance_type | Settlement type | string |
| price | Unit price | decimal |
| qty | Quantity | decimal |
| total_fee | Total fee (price × qty) | decimal |
| description | Description | string |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"items": [
{
"asn_id": 88888,
"title": "ASN-20260810-001",
"handling_unit_id": 1,
"estimate_start_date": "2026-08-01",
"estimate_end_date": "2026-08-05",
"warehouse_id": 100,
"status": 6,
"shipping_method_id": 1,
"delivery_method_id": 1,
"is_palletized": 0,
"fifo": 1,
"manifest_items": [ ],
"receiving_items": [ ],
"fees": [
{ "fee_name": "Receiving Fee", "balance_type": "per_carton", "price": 1.50, "qty": 30, "total_fee": 45.00, "description": "Standard receiving" },
{ "fee_name": "Putaway Fee", "balance_type": "per_sku", "price": 0.25, "qty": 120, "total_fee": 30.00, "description": "" }
],
"create_time": "2026-07-30 12:00:00",
"update_time": "2026-08-10 15:20:00"
}
]
}
}{
"errcode": 0,
"errmsg": "ok",
"data": {
"items": [
{
"asn_id": 99999,
"title": "ASN-20260812-002",
"status": 1,
"fees": []
}
]
}
}asn_id). Cancellation also unlinks the ASN from any associated VAS / Transfer.Note: ASN cancellation behaves differently from Transfer / VAS. Cancelled Transfers and VAS remain in the Cancelledstate and can still be retrieved through the query endpoints; a cancelled ASN, however, cannot be retrieved via the API anymore. If you need to keep audit / historical records, save the required data before cancelling.
| Type | Name | Description | Required/Optional | Schema |
|---|---|---|---|---|
| path | itemId | ID of the ASN to be cancelled | required | integer |
| query | api | API type Available Values: destroy.by-default | required | enum |
DELETE /api/v202206/asns/88888?api=destroy.by-defaultASN X not foundASN X is already cancelledStatus <name> not allowed, only DRAFT can be cancelled| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| asn_id | ASN id | integer |
| cancelled_at | Cancellation timestamp Timezone: Pacific Standard Time | datetime |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"asn_id": 88888,
"cancelled_at": "2026-09-21 15:30:00"
}
}asn_id is required. Documents can be read for ASNs in any status (including cancelled) — documents are records of events that have already happened, and cancelling an ASN does not hide them. If the ASN does not exist at all, ASN X not found is returned.| Type | Name | Description | Required/Optional | Schema |
|---|---|---|---|---|
| query | api | API type Available Values: index.by-default | required | enum |
| query | asn_id | Target ASN id | required | integer |
| query | type_id | Filter by document type Available Values: 1: Packing Slip (packing list included with the goods for the receiver to verify against) 2: BOL (Bill of Lading, carrier document for LTL/FTL/FCL) 3: Carton Label (label affixed to the outside of each carton) 4: Pallet Label 5: Shipping Label (parcel shipping label used for SPD) 6: Other | optional | integer |
| query | next_token | Token for retrieving the next page | optional | string |
GET /api/v202206/asn-docs?api=index.by-default&asn_id=88888&type_id=2| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| doc_id | Document id | integer |
| asn_id | ID of the ASN the document belongs to | integer |
| type_id | Document type id: 1: Packing Slip (packing list included with the goods for the receiver to verify against) 2: BOL (Bill of Lading, carrier document for LTL/FTL/FCL) 3: Carton Label (label affixed to the outside of each carton) 4: Pallet Label 5: Shipping Label (parcel shipping label used for SPD) 6: Other 7: Pre-Receiving Scan (pre-arrival scan proof, owner = ShipSage, uploaded by the warehouse)8: Pre-Receiving Count (pre-arrival count proof, owner = ShipSage, uploaded by the warehouse) | integer |
| doc_name | File name | string |
| ext | File extension | string |
| url | Full URL of the document: the domain is one of ShipSage's own (*.shipsage.com / *.shipsage.cn / *.gaatu.com / *.jootop.com), and the path starts with /uploads/.Access: files with owner = Merchant (uploaded by the customer, stored under company 0) are served via the public file route and anyone holding the URL can download directly (so the warehouse can print them days later); files with owner = ShipSage (uploaded by the warehouse, stored under the warehouse company directory) require a token and must be fetched through the authenticated /api/common/files route.Validity: long-term valid, does not expire | string |
| owner | Uploader Available Values: Merchant (uploaded by the customer), ShipSage (uploaded by the warehouse) | string |
| created_at | Upload time Timezone: Pacific Standard Time | datetime |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"items": [
{
"doc_id": 6001,
"asn_id": 88888,
"type_id": 2,
"doc_name": "bol.pdf",
"ext": "pdf",
"url": "https://cdn.shipsage.com/asn/bol.pdf",
"owner": "Merchant",
"created_at": "2026-09-20 10:00:00"
}
],
"next_token": null
}
}| Type | Name | Description | Required/Optional | Schema |
|---|---|---|---|---|
| query | api | API type Available Values: store.by-default | required | enum |
| body | asn_id | Target ASN id | required | integer |
| body | type_id | Document type id. The ASN document dictionary also contains 7 (Pre-Receiving Scan) and 8 (Pre-Receiving Count), which are pre-arrival proofs uploaded by the warehouse side. Clients are not allowed to create these two types (attempting to upload will return Invalid type_id ...).Available Values: 1: Packing Slip (packing list included with the goods for the receiver to verify against) 2: BOL (Bill of Lading, carrier document for LTL/FTL/FCL) 3: Carton Label (label affixed to the outside of each carton) 4: Pallet Label 5: Shipping Label (parcel shipping label used for SPD) 6: Other | required | enum |
| body | url | File URL — must be the URL returned by first calling the ShipSage file upload endpoint POST /api/v202206/files?api=store.by-upload. External / third-party URLs are not accepted.Validation rules: 1. The domain must be one of ShipSage's own ( shipsage.com / shipsage.cn / gaatu.com / jootop.com and their subdomains)2. The path must start with /uploads/3. The target file must actually exist (the system verifies in real time that the file is reachable in storage) 4. Query string and fragment are automatically stripped by the server (signed links would expire, so they are not persisted) 5. Only the relative path is stored in the database, with a maximum length of 255 characters Background: these documents are printed by the warehouse days later (printing BOLs, affixing carton labels). If they pointed to an external server, the link might be broken by then — this is why every document must first be uploaded to ShipSage storage. | required | string |
| body | doc_name | File name (if omitted, it is derived from the URL basename; max 255 characters) | optional | string |
ASN X not foundASN X is cancelled, documents cannot be changedtype_id not specified → type_id is requiredInvalid type_id X, expected one of ...owner is always Merchant.{
"asn_id": 88888,
"type_id": 2,
"url": "https://cdn.shipsage.com/asn/bol.pdf",
"doc_name": "bol.pdf"
}| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| doc_id | New document id | integer |
| asn_id | ASN id | integer |
| type_id | Document type id (same values as the type_id in the request body; only types 1–6 can be deleted by the client — types 7/8 are warehouse-side proofs and cannot be deleted by the client) | integer |
| doc_name | File name | string |
| url | Full URL | string |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"doc_id": 6002,
"asn_id": 88888,
"type_id": 2,
"doc_name": "bol.pdf",
"url": "https://cdn.shipsage.com/asn/bol.pdf"
}
}owner = Merchant) may be deleted; documents uploaded by the warehouse side cannot be deleted. Documents also cannot be modified when the ASN has been cancelled.| Type | Name | Description | Required/Optional | Schema |
|---|---|---|---|---|
| path | itemId | Document id | required | integer |
| query | api | API type Available Values: destroy.by-default | required | enum |
DELETE /api/v202206/asn-docs/6002?api=destroy.by-defaultASN doc not foundOnly documents uploaded by the merchant can be deletedASN X is cancelled, documents cannot be changed| Key | Value |
|---|---|
| errcode | 0/4000 |
| errmsg | ok/Error Info |
| data | Data Properties |
| Name | Description | Schema |
|---|---|---|
| doc_id | Document id | integer |
| asn_id | ASN id | integer |
| doc_name | File name | string |
{
"errcode": 0,
"errmsg": "ok",
"data": {
"doc_id": 6002,
"asn_id": 88888,
"doc_name": "bol.pdf"
}
}