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

apisecret*

String

API Secret

storename*

String

Store Name

apikey*

String

API Key

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

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

apisecret*

String

API Secret

storename*

String

Store Name

apikey*

String

API Key

ParameterTypeDescription/Example

id

Int

Bundle ID

name

String

Bundle Name

sku

String

Bundle Sku

sellprice

String

Sell price

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

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

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