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

Product

Endpoints#

MethodEndpointDescription
GET/api/v202105/productsRetrieves a list of products
POST/api/v202105/productsCreate a new product
PUT/api/v202105/products/{productId}Update a product

Header#

KeyValue
AuthorizationBearer eyJ0eXAiOiJKV1QiLCJhbGciOi ...

GET /api/v202105/products#

Request#

TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type

Available Values:
index.by-default
requiredenum
queryproduct_idThe shipsage product idoptionalinteger
queryskuThe shipsage skuoptionalinteger
querycustomer_skuThe customer skuoptionalstring
querycreate_time_startThe shipsage product create time start timezone:PSToptionaldatetime
querycreate_time_endThe shipsage product create time end timezone:PSToptionaldatetime
queryupdate_time_startThe shipsage product update time start timezone:PSToptionaldatetime
queryupdate_time_endThe shipsage product update time end timezone:PSToptionaldatetime
querynext_tokenThe next page dataoptionalstring

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
product_idThe shipsage product idinteger
skuThe shipsage skuinteger
customer_skuThe customer skustring
product_nameThe product namestring
product_descriptionThe product descriptionstring
package_weightThe product gross weight (g)double
package_lengthThe product package length (cm)double
package_widthThe product package width (cm)double
package_heightThe product package height (cm)double
fulfilled_by_shipsageWhether shipped by shipsage,0:No,2:Yesinteger
overpackSecondary packaging: Whether secondary packaging is required when a single product is shipped, and what packaging is used

Available Values:
NO_OVER_PACK: A single product will be shipped without any packaging,
POLY_MAILER: A single product will be packaged in a courier bag when shipped,
BOX: A carton will be used for secondary packaging when a single product is shipped,
SHRINK_WRAP: A single product will be packaged with plastic film shrink wrap for secondary packaging
enum
overpack_backupWhen the value of 'overpack' is SHRINK_WRAP, the value of 'overpack_backup' should be selected from NO_OVER_PACK, POLY_MAILER and BOX, otherwise the default is the same as the value of 'overpack'

Available Values:
NO_OVER_PACK, POLY_MAILER, BOX
enum
prepacked_in_boxWhether the carton is pre-packed

Available Values:
0: No carton pre-packing
1: Pre-packed in carton
enum
restriction_idWhether have restriction product

Available Values:
0: No restriction
1: Have battery
enum
create_timeThe product create time timezone:PSTdatetime
update_timeThe product update time timezone:PSTdatetime
customer_codesThe customer coding category itemsarray
customer_codes.*.categoryThe customer coding category

Available Values:
UPC, EAN, SELLING_SKU, Code-128
enum
customer_codes.*.codeThe customer code, UPC code should be 12 digits, EAN code should be 13 digitsstring
Data Demo#
{
    "errcode": 0,
    "errmsg": "ok",
    "data": {
        "items": [
            {
                "product_id": 115463,
        "sku": 212945,
        "customer_sku": "212945",
        "product_name": "2pcs Fabric Beige Wood Leg Upholstered Counter Stool 24\" Height(样品:CH1543 米色麻布) D1_Kitchen & Dining Furniture",
        "product_description": "<p>2pcs Fabric Beige Wood Leg Wingback Fabric Upholstered Counter Stools 24\" Height</p>\r\n<p><audio controls=\"controls\" style=\"display: none;\"></audio></p>",
        "package_weight": 0,
        "package_length": 103.5,
        "package_width": 32,
        "package_height": 44.5,
        "fulfilled_by_shipsage": 1,
        "overpack": "NO_OVER_PACK",
        "overpack_backup": "NO_OVER_PACK",
        "prepacked_in_box": 0,
        "restriction_id": 0,
        "create_time": "2022-03-02 23:39:16",
        "update_time": "2022-03-02 23:39:17",
        "customer_codes": [
            {
                "category": "SELLING_SKU",
                "code": "F-212945"
            },
            {
                "category": "SELLING_SKU",
                "code": "212945"
            }
        ]
    },
    {
        "product_id": 115462,
        "sku": 212944,
        "customer_sku": "212944",
        "product_name": "2pcs Fabric Beige Wood Leg Upholstered Counter Stool 24\" Height(样品:CH1543 米色麻布) D1_Kitchen & Dining Furniture",
        "product_description": "<p>2pcs Fabric Beige Wood Leg Wingback Fabric Upholstered Counter Stools 24\" Height</p>",
        "package_weight": 0,
        "package_length": 103.5,
        "package_width": 32,
        "package_height": 44.5,
        "fulfilled_by_shipsage": 1,
        "overpack": "NO_OVER_PACK",
        "overpack_backup": "NO_OVER_PACK",
        "prepacked_in_box": 0,
        "restriction_id": 0,
        "create_time": "2022-03-02 23:37:22",
        "update_time": "2022-03-02 23:37:23",
        "customer_codes": [
            {
                "category": "SELLING_SKU",
                "code": "F-212944"
            },
            {
                "category": "SELLING_SKU",
                "code": "212944"
            }
                ]
            }
        ],
        "next_token": null
    }
}

POST /api/v202105/products#

Request#

Params#
TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type

Available Values:
index.by-default
requiredenum
bodycustomer_skuThe customer skurequiredstring
bodyproduct_nameThe product namerequiredstring
bodyproduct_descriptionThe product descriptionrequiredstring
bodypackage_weightThe product gross weight (g)requireddouble
bodypackage_lengthThe product package length (cm)requireddouble
bodypackage_widthThe product package width (cm)requireddouble
bodypackage_heightThe product package height (cm)requireddouble
bodyfulfilled_by_shipsageWhether shipped by shipsage,0:No,2:Yesrequiredinteger
bodyoverpackSecondary packaging: Whether secondary packaging is required when a single product is shipped, and what packaging is used

Available Values:
NO_OVER_PACK: A single product will be shipped without any packaging,
POLY_MAILER: A single product will be packaged in a courier bag when shipped,
BOX: A carton will be used for secondary packaging when a single product is shipped,
SHRINK_WRAP: A single product will be packaged with plastic film shrink wrap for secondary packaging
requiredenum
bodyoverpack_backupWhen the value of 'overpack' is SHRINK_WRAP, the value of 'overpack_backup' should be selected from NO_OVER_PACK, POLY_MAILER and BOX,Otherwise, the default value will be the same as the value of 'overpack'

Available Values:
NO_OVER_PACK, POLY_MAILER, BOX
optionalenum
bodyprepacked_in_boxWhether the carton is pre-packed

Available Values:
0: No carton pre-packing
1: Pre-packed in carton
requiredenum
bodyrestriction_idWhether have restriction product

Available Values:
0: No restriction
1: Have battery
requiredenum
bodycustomer_codesThe customer coding category itemsoptionalarray
bodycustomer_codes.*.categoryThe customer coding category

Available Values:
UPC, EAN, SELLING_SKU, Code-128
optionalenum
bodycustomer_codes.*.codeThe customer code, UPC code should be 12 digits, EAN code should be 13 digitsoptionalstring
bodylot_category_idThe lot category id, default 1

Available Values:
1:Template code
2:Unicargo
requiredstring
Body Demo#
{
  "customer_sku": "C-SKU-01",
  "product_name": "test product name",
  "product_description": "test product desc",
  "package_weight": 100,
  "package_length": 10.01,
  "package_width": 10.02,
  "package_height": 10,
  "fulfilled_by_shipsage": 2,
  "overpack": "NO_OVER_PACK",
  "overpack_backup": "NO_OVER_PACK",
  "prepacked_in_box": 0,
  "restriction_id": 0,
  "customer_codes": [
    {
      "category": "SELLING_SKU",
      "code": "S-SKU-01"
    },
    {
      "category": "SELLING_SKU",
      "code": "S-SKU-02"
    },
    {
      "category": "EAN",
      "code": "EAN-01"
    },
    {
      "category": "UPC",
      "code": "UPC-01"
    }
  ]
}

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
product_idThe shipsage product idinteger
Data Demo#
[
  {"product_id": 115463}
]

PUT /api/v202105/products/{productId}#

Request#

Params#
TypeNameDescriptionRequired/OptionalSchema
queryapiThe API type

Available Values:
(index.by-default)
requiredenum
pathproduct_idThe shipsage product idrequiredinteger
bodycustomer_skuThe customer skuoptionalstring
bodyproduct_nameThe product nameoptionalstring
bodyproduct_descriptionThe product descriptionoptionalstring
bodypackage_weightThe product gross weight (g)optionaldouble
bodypackage_lengthThe product package length (cm)optionaldouble
bodypackage_widthThe product package width (cm)optionaldouble
bodypackage_heightThe product package height (cm)optionaldouble
bodyfulfilled_by_shipsageWhether shipped by shipsageoptionalinteger
bodyoverpackSecondary packaging: Whether secondary packaging is required when a single product is shipped, and what packaging is used

Available Values:
NO_OVER_PACK: A single product will be shipped without any packaging,
POLY_MAILER: A single product will be packaged in a courier bag when shipped,
BOX: A carton will be used for secondary packaging when a single product is shipped,
SHRINK_WRAP: A single product will be packaged with plastic film shrink wrap for secondary packaging
requiredenum
bodyoverpack_backupWhen the value of 'overpack' is SHRINK_WRAP, the value of 'overpack_backup' should be selected from NO_OVER_PACK, POLY_MAILER and BOX,Otherwise, the default value will be the same as the value of 'overpack'

Available Values:
NO_OVER_PACK, POLY_MAILER, BOX
optionalenum
bodyprepacked_in_boxWhether the carton is pre-packed

Available Values:
0: No carton pre-packing
1: Pre-packed in carton
requiredenum
bodyrestriction_idWhether have restriction product

Available Values:
0: No restriction
1: Have battery
optionalenum
bodycustomer_codesThe customer coding category itemsoptionalarray
bodycustomer_codes.*.categoryThe customer coding category

Available Values:
UPC, EAN, SELLING_SKU, Code-128
optionalenum
bodycustomer_codes.*.codeThe customer code, UPC code should be 12 digits, EAN code should be 13 digitsoptionalstring
Body Demo#
{
  "customer_sku": "C-SKU-01",
  "product_name": "test product name",
  "product_description": "test product desc",
  "package_weight": 100,
  "package_length": 10.01,
  "package_width": 10.02,
  "package_height": 10,
  "fulfilled_by_shipsage": 2,
  "overpack": "NO_OVER_PACK",
  "overpack_backup": "NO_OVER_PACK",
  "prepacked_in_box": 0,
  "restriction_id": 0,
  "customer_codes": [
    {
      "category": "SELLING_SKU",
      "code": "S-SKU-01"
    },
    {
      "category": "SELLING_SKU",
      "code": "S-SKU-02"
    },
    {
      "category": "EAN",
      "code": "EAN-01"
    },
    {
      "category": "UPC",
      "code": "UPC-01"
    }
  ]
}

Response#

KeyValue
errcode0/4000
errmsgok/Error Info
dataData Properties
Data properties#
NameDescriptionSchema
product_idThe shipsage product idinteger
Data Demo#
[
  {"product_id": 115463}
]
Modified at 2026-10-16 08:18:34
Previous
Warehouse
Next
Inventory
Built with