Bundle

Get Bundles

GET https://open-api.zortout.com/v4/Bundle/GetBundles

Get list of bundle products.

Query Parameters

NameTypeDescription

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

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

bundleidlist

String

Bundle ID List Ex. 1234,5678

ParameterTypeDescription/Example

res

Response

Response Code 200- Success

list

Bundle (Array)

Bundle List (Array)

count

Int

Total bundle number by filter

Bundle (Array)TypeDescription/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

NameTypeDescription

id*

Int

Bundle ID

warehousecode

String

Warehouse Code

Headers

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

ParameterTypeDescription/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)TypeDescription/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

NameTypeDescription

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Request Body

NameTypeDescription

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

ParameterTypeDescription/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

detail

Detail

Detail

DetailTypeDescription/Example

id

Int

Bundle ID

Last updated