Product
Get Products
GET
https://api.zortout.com/api.aspx
Get list of products.
Query Parameters
method*
String
“GETPRODUCTS”
format
String
json (Default), xml
version*
String
3
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 = 2000)
Headers
apisecret*
String
API Secret
storename*
String
Store Name
apikey*
String
API Key
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
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
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
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
Get Product Detail
GET
https://api.zortout.com/api.aspx
Get product detail.
Query Parameters
method*
String
“GETPRODUCTDETAIL”
format
String
json (Default), xml
version*
String
3
id*
Int
Product ID
warehousecode
String
Warehouse Code
Headers
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
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
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
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
Get Bundles
GET
https://api.zortout.com/api.aspx
Get list of bundle products.
Query Parameters
method*
String
“GETBUNDLES”
format
String
json (Default), xml
version*
String
3
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 = 2000)
Headers
apisecret*
String
API Secret
storename*
String
Store Name
apikey*
String
API Key
bundleidlist
String
Bundle ID List Ex. 1234,5678
res
Response
Response Code 200- Success
list
Bundle (Array)
Bundle List (Array)
count
Int
Total bundle number by filter
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://api.zortout.com/api.aspx
Get list of products in bundle.
Query Parameters
method*
String
“GETBUNDLEDETAIL”
format
String
json (Default), xml
version*
String
3
id*
Int
Bundle ID
warehousecode
String
Warehouse Code
Headers
apisecret*
String
API Secret
storename*
String
Store Name
apikey*
String
API Key
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
id
Int
Product ID
name
String
Product Name
sku
String
Product Sku
quantity
Double
Product Quantity
Get Variations
GET
https://api.zortout.com/api.aspx
Get list of variation products.
Query Parameters
method*
String
“GETVARIATIONS”
format
String
json (Default), xml
version*
String
3
page
Int
Page (Default = 1)
limit
Int
Limit per page (Max = 2000)
Headers
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
Add Product
POST
https://api.zortout.com/api.aspx
Add product.
Query Parameters
method*
String
“ADDPRODUCT”
format
String
json (Default), xml
version*
String
3
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
name*
String
Product Name
description
String
Description
sku*
String
Product Sku
sellprice
String
Sell price
purchaseprice
String
Purchase price
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
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
Update Product
POST
https://api.zortout.com/api.aspx
Edit product info.
Query Parameters
method*
String
“UPDATEPRODUCT”
format
String
json (Default), xml
version*
String
3
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
purchaseprice
String
Purchase price
sellprice
String
Sell price
sku*
String
Product Sku
category
String
Category Name
resCode
String
Response Code 200- Success
resDesc
String
Response Description
Update Product Image
POST
https://api.zortout.com/api.aspx
Edit product image.
Query Parameters
method*
String
“UPDATEPRODUCTIMAGE”
format
String
json (Default), xml
version*
String
3
id*
Int
Product ID
Headers
storename*
String
Store Name
apisecret*
String
API Secret
apikey*
String
API Key
Request Body
file*
File
File Binary Data
resCode
String
Response Code 200- Success
resDesc
String
Response Description
Update Product Stock List
POST
https://api.zortout.com/api.aspx
Adjust current inventory of product.
Query Parameters
method*
String
“UPDATEPRODUCTSTOCKLIST”
format
String
json (Default), xml
version*
String
3
warehousecode*
String
Warehouse Code
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
Increase Product Stock List
POST
https://api.zortout.com/api.aspx
Increase inventory of product.
Query Parameters
method*
String
”INCREASEPRODUCTSTOCKLIST”
format
String
json (Default), xml
version*
String
3
warehousecode*
String
Warehouse Code
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
Decrease Product Stock List
POST
https://api.zortout.com/api.aspx
Decrease inventory of product.
Query Parameters
method*
String
“DECREASEPRODUCTSTOCKLIST”
format
String
json (Default), xml
version*
String
3
warehousecode*
String
Warehouse Code
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
Update Product Available Stock List
POST
https://api.zortout.com/api.aspx
Adjust available/sellable inventory of product.
Query Parameters
method*
String
“UPDATEPRODUCTAVAILABLESTOCKLIST”
format
String
json (Default), xml
version*
String
3
warehousecode*
String
Warehouse Code
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
Delete Product
POST
https://api.zortout.com/api.aspx
Delete product.
Query Parameters
method
String
“DELETEPRODUCT”
format
String
json (Default), xml
version
String
3
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
sku*
String
Product SKU
resCode
String
Response Code 200- Success
resDesc
String
Response Description
Add Bundle
POST
https://api.zortout.com/api.aspx
Add bundle.
Query Parameters
method*
String
“ADDBUNDLE”
format
String
json (Default), xml
version*
String
3
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
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
resCode
String
Response Code 200- Success
resDesc
String
Response Description
Last updated