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
Method | Endpoint |
---|---|
POST | /v3/fulfillment/bundle |
Body Request Parameter
Parameter | Data Type | Description | Note |
---|---|---|---|
bundle | string | Mandatory | The name of the package |
shop_code | string[] | Optional | The code(s) of the shop(s) |
warehouse_code | string[] | Optional | The code(s) of the warehouse(s) |
skus | array | Mandatory | The information of the products in the package |
bundle_source | string | Mandatory | The source of the package |
bundle_desc | string | Optional | The description of the package |
Details | |||
sku | string | Mandatory | The SKU of the product |
qty | integer | Mandatory | The 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
Parameter | Type | Description |
---|---|---|
data | object | The code of the new package |
metadata | object | The metadata information |
bundle_code | string | The 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
}
}
Updated over 1 year ago