ZORT API V4
  • Overview
    • Introduction
    • Data Definition
    • Webhook
  • API Reference
    • Product
    • Bundle
    • Warehouse
    • Contact
    • Order
    • Purchase Order
    • Return Order
    • Return Purchase Order
    • Transfer
    • Quotation
    • Finance
    • File Upload
    • Document
    • Merchant
  • Partner
    • Registration
    • Authentication
  • Announcements
    • API Update
      • [17 Apr 2025] Update
      • [15 Feb 2025] Update
      • [2 Dec 2024] Important Update
      • [31 Oct 2024] Update
      • [10 Feb 2024] Update
      • [1 Nov 2023] Update
      • [14 Oct 2023] Update
      • [15 Aug 2023] Update
      • [1 June 2023] Important Update
    • Marketplace Flow
Powered by GitBook
On this page
  • Get Bundles
  • Get Bundle Detail
  • Add Bundle
  • Update Bundle
  • Active Bundle
  • Delete Bundle
  1. API Reference

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

{
    "sku": "SET0001",
    "name": "Bundle 001",
    "sellprice": 100,
    "list":    
    [
        {
            "sku": "P0001",
            "quantity": 2
        },
        {
            "id": 1234,
            "quantity": 3
        }
    ]
}

Update Bundle

POST https://open-api.zortout.com/v4/Bundle/UpdateBundle

Update bundle.

Query Parameters

Name
Type
Description

id*

Int

Bundle ID

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

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".

Parameter
Type
Description/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

{
    "name": "Bundle 001",
    "sellprice": 100
}

Active Bundle

POST https://open-api.zortout.com/v4/Bundle/ActiveBundle

Active Bundle

Query Parameters

Name
Type
Description

id*

Int

Bundle ID

Headers

Name
Type
Description

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Parameter
Type
Description/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

Delete Bundle

POST https://open-api.zortout.com/v4/Bundle/DeleteBundle

<Description of the endpoint>

Query Parameters

Name
Type
Description

id*

Int

Bundle ID

Headers

Name
Type
Description

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Name
Type
Description

name

string

Name of the user

age

number

Age of the user

Parameter
Type
Description/Example

resCode

String

Response Code 200- Success

resDesc

String

Response Description

PreviousProductNextWarehouse

Last updated 1 month ago