Bundle
Last updated
Last updated
GET
https://open-api.zortout.com/v4/Bundle/GetBundles
Get list of bundle products.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Bundle (Array) | Type | Description/Example |
---|---|---|
GET
https://open-api.zortout.com/v4/Bundle/GetBundleDetail
Get list of products in bundle.
POST
https://open-api.zortout.com/v4/Bundle/AddBundle
Add bundle.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
ProductBundle (Array) | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
warehousecode
String
Warehouse Code
keyword
String
Keyword to search at least 3 characters
activestatus
Int
Active status (Default = All) 1 = Active only
page
Int
Page (Default = 1)
limit
Int
Limit per page (Max = 500)
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
bundleidlist
String
Bundle ID List Ex. 1234,5678
res
Response
Response Code 200- Success
list
Bundle (Array)
Bundle List (Array)
count
Int
Total bundle number by filter
id
Int
Bundle ID
name
String
Bundle Name
sku
String
Bundle Sku
sellprice
String
Sell price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0% 4 - Use Product Vat
stock
String
Stock
availablestock
String
Available Stock
imagepath
String
Image Url
active
Boolean
Active status
id*
Int
Bundle ID
warehousecode
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
Bundle ID
name
String
Bundle Name
sku
String
Bundle Sku
sellprice
String
Sell price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0% 4 - Use Product Vat
stock
String
Stock
availablestock
String
Available Stock
imagepath
String
Image Url
active
Boolean
Active status
list
ProductBundle (Array)
Product List
imageList
String (Array)
Image Url List
id
Int
Product ID
name
String
Product Name
sku
String
Product Sku
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0%
quantity
Double
Product Quantity
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
name*
String
Bundle Name
sku*
String
Bundle Sku
sellprice*
String
Sell price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0% 4 - Use Product Vat Remark: Only Merchant With Addon "Advance Vat".
list*
ProductBundle (Array)
Product List
∟ id
Int
Product ID
*Must have either id or sku
∟ sku
String
Product Sku Require if id = 0 or null
*Must have either id or sku
∟ quantity*
Double
Product Quantity
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
id
Int
Bundle ID