Create Bundle SKU

Create new Virtual Bundling SKU

Shipper API gives interface access to our clients for creating Bundle SKU from their own system to Shipper Order Management System

Authorizations : X-API-Key_Header

Request Body Schema : application/json

MethodEndpoint
POST/v3/fulfillment/bundle

Body Request Parameter

ParameterData TypeDescriptionNote
bundlestringMandatoryThe name of the package
shop_codestring[]OptionalThe code(s) of the shop(s)
warehouse_codestring[]OptionalThe code(s) of the warehouse(s)
skusarrayMandatoryThe information of the products in the package
bundle_sourcestringMandatoryThe source of the package
bundle_descstringOptionalThe description of the package
Details
skustringMandatoryThe SKU of the product
qtyintegerMandatoryThe qty of the product

Sample Body Request

{
    "bundle": "kevindaipostmanbundle04",
    "shop_code": ["CS283"],
    "warehouse_code": ["WH-CGK09"],
    "skus": [
        {
            "sku": "ZHANGSKU12311",
            "qty": "2"
        },
        {
            "sku": "ZHANGSKU12314",
            "qty": "1"
        }
    ],
    "bundle_source": "aloshop",
    "bundle_desc": "",
    "merchant_id": 1089649
}

Response Parameters

ParameterTypeDescription
dataobjectThe code of the new package
metadataobjectThe metadata information
bundle_codestringThe code of the package

Sample Response

{
    "data": {
        "bundle_code": "BU202304270336007047"
    },
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "status": "OK",
        "message": "POST /v3/fulfillment/bundle [200] OK",
        "
}
{
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "http_status_code": 400,
        "http_status": "Bad Request",
        "errors": [
            {
                "code": 810,
                "message": "Selling SKU is mandatory"
            }
        ],
        "timestamp": 1685409169
    }
}
{
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "http_status_code": 400,
        "http_status": "Bad Request",
        "errors": [
            {
                "code": 810,
                "message": "skus cannot be null"
            }
        ],
        "timestamp": 1685409263
    }
}
{
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "http_status_code": 400,
        "http_status": "Bad Request",
        "errors": [
            {
                "code": 810,
                "message": "This selling SKU already exists, please edit the existing configuration."
            }
        ],
        "timestamp": 1685409299
    }
}
{
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "http_status_code": 400,
        "http_status": "Bad Request",
        "errors": [
            {
                "code": 810,
                "message": "The specific shop code [abc] is illegal"
            }
        ],
        "timestamp": 1685409338
    }
}
{
    "metadata": {
        "path": "/v3/fulfillment/bundle",
        "http_status_code": 400,
        "http_status": "Bad Request",
        "errors": [
            {
                "code": 810,
                "message": "The specific warehouseCode [WH-TGR1114] is illegal"
            }
        ],
        "timestamp": 1685409363
    }
}