Bundle
Get Bundles
GET
https://open-api.zortout.com/v4/Bundle/GetBundles
Get list of bundle products.
Query Parameters
Name | Type | Description |
---|---|---|
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) |
Headers
Name | Type | Description |
---|---|---|
storename* | String | Store Name |
apikey* | String | API Key |
apisecret* | String | API Secret |
bundleidlist | String | Bundle ID List Ex. 1234,5678 |
Parameter | Type | Description/Example |
---|---|---|
res | Response | Response Code 200- Success |
list | Bundle (Array) | Bundle List (Array) |
count | Int | Total bundle number by filter |
Bundle (Array) | Type | Description/Example |
---|---|---|
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 |
Get Bundle Detail
GET
https://open-api.zortout.com/v4/Bundle/GetBundleDetail
Get list of products in bundle.
Query Parameters
Name | Type | Description |
---|---|---|
id* | Int | Bundle ID |
warehousecode | String | Warehouse Code |
Headers
Name | Type | Description |
---|---|---|
storename* | String | Store Name |
apikey* | String | API Key |
apisecret* | String | API Secret |
Parameter | Type | Description/Example |
---|---|---|
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 |
ProductBundle (Array) | Type | Description/Example |
---|---|---|
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 |
Add Bundle
POST
https://open-api.zortout.com/v4/Bundle/AddBundle
Add bundle.
Headers
Name | Type | Description |
---|---|---|
storename* | String | Store Name |
apikey* | String | API Key |
apisecret* | String | API Secret |
Request Body
Name | Type | Description |
---|---|---|
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 |
Parameter | Type | Description/Example |
---|---|---|
resCode | String | Response Code 200- Success |
resDesc | String | Response Description |
detail | Detail | Detail |
Detail | Type | Description/Example |
---|---|---|
id | Int | Bundle ID |
Last updated