Product
Last updated
Last updated
GET
https://open-api.zortout.com/v4/Product/GetProducts
Get list of products.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://open-api.zortout.com/v4/Product/GetProductDetail
Get product detail.
GET
https://open-api.zortout.com/v4/Product/GetVariations
Get list of variation products.
GET
https://open-api.zortout.com/v4/Product/GetCategorys
Get list of product categories.
POST
https://open-api.zortout.com/v4/Product/AddProduct
Add product.
POST
https://open-api.zortout.com/v4/Product/UpdateProduct
Edit product info.
POST
https://open-api.zortout.com/v4/Product/UpdateProductImage
Edit product image.
POST
https://open-api.zortout.com/v4/Product/UpdateProductStockList
Adjust current inventory of product.
POST
https://open-api.zortout.com/v4/Product/IncreaseProductStockList
Increase inventory of product.
POST
https://open-api.zortout.com/v4/Product/DecreaseProductStockList
Decrease inventory of product.
POST
https://open-api.zortout.com/v4/Product/UpdateProductAvailableStockList
Adjust available/sellable inventory of product.
POST
https://open-api.zortout.com/v4/Product/DeleteProduct
Delete product.
Parameter | Type | Description/Example |
---|---|---|
Product (Array) | Type | Description/Example |
---|---|---|
Variant (Array) | Type | Description/Example |
---|---|---|
Property (Array) | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Variant (Array) | Type | Description/Example |
---|---|---|
Property (Array) | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Variation (Array) | Type | Description/Example |
---|---|---|
Variant (Array) | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
StockUpdate | Type | Description/Example |
---|---|---|
Stock | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
StockUpdate | Type | Description/Example |
---|---|---|
Stock | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
StockUpdate | Type | Description/Example |
---|---|---|
Stock | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Detail | Type | Description/Example |
---|---|---|
StockUpdate | Type | Description/Example |
---|---|---|
Stock | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
warehousecode
String
Warehouse Code
createdafter
String
Created Date After …..
createdbefore
String
Created Date Before …..
updatedafter
String
Updated Date After …..
updatedbefore
String
Updated Date Before …..
keyword
String
Keyword to search at least 3 characters
searchsku
String
Keyword of SKU to search
variationid
Int
Variation ID
categoryid
Int
Category ID
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
skulist
String
Sku List Ex. P0001,P0002
productidlist
String
Product ID List Ex. 1234,5678
res
String
Response Code 200- Success
list
Product (Array)
Product List (Array)
count
Int
Total product number by filter
id
Int
Product ID
name
String
Product Name
description
String
Description
sku
String
Product Sku
sellprice
String
Sell price
purchaseprice
String
Purchase price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0%
purchase_vat_status
Int
Purchase vat status 0 - Undefined 1 - No Vat 2- Have Vat
barcode
String
Barcode
stock
String
Stock
availablestock
String
Available Stock
unittext
String
Unit
imagepath
String
Image Url
weight
String
Weight (Gram)
width
String
Width (CM)
length
String
Length (CM)
height
String
Height (CM)
categoryid
Int
Category ID
category
String
Category Name
producttype
Int
Product Type 0 - Product (Default) 1 - Service
variationid
Int
Variation ID
variant
Variant (Array)
Variant List (Array)
tag
String (Array)
Tag List (Array)
active
Boolean
Active status
imageList
String (Array)
Image Url List
sharelink
String
Share Link Url
properties
Property (Array)
Custom Properties List
variantid
Int
Variant ID
variantname
String
Variant Name
name
String
Attribute Name
id
Int
Property ID
name
String
Property Name
value
String
Property Value
id*
Int
Product ID
warehousecode
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
Product ID
name
String
Product Name
description
String
Description
sku
String
Product Sku
sellprice
String
Sell price
purchaseprice
String
Purchase price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0%
purchase_vat_status
Int
Purchase vat status 0 - Undefined 1 - No Vat 2- Have Vat
barcode
String
Barcode
stock
String
Stock
availablestock
String
Available Stock
unittext
String
Unit
imagepath
String
Image Url
weight
String
Weight (Gram)
width
String
Width (CM)
length
String
Length (CM)
height
String
Height (CM)
categoryid
Int
Category ID
category
String
Category Name
producttype
Int
Product Type 0 - Product (Default) 1 - Service
variationid
Int
Variation ID
variant
Variant (Array)
Variant List (Array)
tag
String (Array)
Tag List (Array)
active
Boolean
Active status
imageList
String (Array)
Image Url List
sharelink
String
Share Link Url
properties
Property (Array)
Custom Properties List
variantid
Int
Variant ID
variantname
String
Variant Name
name
String
Attribute Name
id
Int
Property ID
name
String
Property Name
value
String
Property Value
page
Int
Page (Default = 1)
limit
Int
Limit per page (Max = 500)
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
res
Response
Response Code 200- Success
list
Variation (Array)
Variation List (Array)
count
Int
Total variation number
id
Int
Variation ID
sku
String
Variation Sku
name
String
Variation Name
variants
Variant (Array)
Variant List (Array)
variantid
Int
Variant ID
variantname
String
Variant Name
page
Int
Page (Default = 1)
limit
Int
Limit per page (Max = 500)
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
res
Response
Response Code 200- Success
list
Category (Array)
Category List (Array)
count
Int
Total category number by filter
id
Int
Category ID
name
String
Category Name
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
name*
String
Product Name
description
String
Description
sku*
String
Product Sku
sellprice
String
Sell price
purchaseprice
String
Purchase price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0% Remark: Only Merchant With Addon "Advance Vat".
purchase_vat_status
Int
Purchase vat status 0 - Undefined 1 - No Vat 2- Have Vat Remark: Only Merchant With Addon "Advance Vat".
barcode
String
Barcode
stock
String
Stock
unittext
String
Unit
weight
String
Weight (Gram)
width
String
Width (CM)
length
String
Length (CM)
height
String
Height (CM)
tag
String(Array)
Tag List (Array)
category
String
Category Name
producttype
Int
Product Type 0 - Product (Default) 1 - Service
properties
Property (Array)
Custom Properties List
∟ name
String
Property Name Require if id = 0 or null
*Must have either id or name
∟ id
Int
Property ID
*Must have either id or name
∟ value
String
Property Value
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
id
Int
Product ID
id*
Int
Product ID
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
name
String
Product Name
description
String
Description
tag
String(Array)
Tag List (Array)
height
String
Height (CM)
length
String
Length (CM)
width
String
Weight (CM)
weight
String
Weight (Gram)
unittext
String
Unit
barcode
String
Barcode
sellprice
String
Sell price
purchaseprice
String
Purchase price
sell_vat_status
Int
Sell vat status 0 - Undefined 1 - No Vat 2- Have Vat 3 - Vat 0% Remark: Only Merchant With Addon "Advance Vat".
purchase_vat_status
Int
Purchase vat status 0 - Undefined 1 - No Vat 2- Have Vat Remark: Only Merchant With Addon "Advance Vat".
category
String
Category Name
resCode
String
Response Code 200- Success
resDesc
String
Response Description
id*
Int
Product ID
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
file*
File
File Binary Data
resCode
String
Response Code 200- Success
resDesc
String
Response Description
warehousecode*
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
stocks*
Stock (Array)
Stock List (Array)
∟ productid
Int
Product ID
*Must have either productid or sku
∟ stock*
Double
Stock
∟ cost
Double
Cost Per Unit
∟ sku
String
Product Sku Require if productid = 0 or null
*Must have either productid or sku
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
stockupdate
StockUpdate
Stock Updating Result
success
Int
Total success number
fail
Int
Total failure number
notupdate
Int
Total not updating number
successlist
Stock (Array)
Stock List (Array)
faillist
Stock (Array)
Stock List (Array)
notupdatelist
Stock (Array)
Stock List (Array)
productid
Int
Product ID
sku
String
Product Sku
stock
Double
Stock
warehousecode*
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
stocks*
Stock (Array)
Stock List (Array)
∟ productid
Int
Product ID
*Must have either productid or sku
∟ sku
String
Product Sku Require if productid = 0 or null
*Must have either productid or sku
∟ stock*
Double
Stock to increase
∟ cost
Double
Cost Per Unit
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
stockupdate
StockUpdate
Stock Updating Result
success
Int
Total success number
fail
Int
Total failure number
notupdate
Int
Total not updating number
successlist
Stock (Array)
Stock List (Array)
faillist
Stock (Array)
Stock List (Array)
notupdatelist
Stock (Array)
Stock List (Array)
productid
Int
Product ID
sku
String
Product Sku
stock
Double
Stock
warehousecode*
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
stocks*
Stock (Array)
Stock List (Array)
∟ productid
Int
Product ID
*Must have either productid or sku
∟ sku
String
Product Sku Require if productid = 0 or null
*Must have either productid or sku
∟ stock*
Double
Stock to decrease
∟ cost
Double
Cost Per Unit
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
stockupdate
StockUpdate
Stock Updating Result
success
Int
Total success number
fail
Int
Total failure number
notupdate
Int
Total not updating number
successlist
Stock (Array)
Stock List (Array)
faillist
Stock (Array)
Stock List (Array)
notupdatelist
Stock (Array)
Stock List (Array)
productid
Int
Product ID
sku
String
Product Sku
stock
Double
Stock
warehousecode*
String
Warehouse Code
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
stocks*
Stock (Array)
Stock List (Array)
∟ productid
Int
Product ID
*Must have either productid or sku
∟ stock*
Double
Available Stock
∟ cost
Double
Cost Per Unit
∟ sku
String
Product Sku Require if productid = 0 or null
*Must have either productid or sku
resCode
String
Response Code 200- Success
resDesc
String
Response Description
detail
Detail
Detail
stockupdate
StockUpdate
Stock Updating Result
success
Int
Total success number
fail
Int
Total failure number
notupdate
Int
Total not updating number
successlist
Stock (Array)
Stock List (Array)
faillist
Stock (Array)
Stock List (Array)
notupdatelist
Stock (Array)
Stock List (Array)
productid
Int
Product ID
sku
String
Product Sku
stock
Double
Stock
id*
Int
Product ID
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
resCode
String
Response Code 200- Success
resDesc
String
Response Description