Search…
Product by Category
Search for a product by Category ID.
get
https://{yourdomainname}.zaui.net
/zapi/
zapiGetMerchandiseByCategoryId
Request
Response
1
<request>
2
<zapiToken></zapiToken>
3
<zapiAccountId></zapiAccountId>
4
<zapiUserId></zapiUserId>
5
<zapiMethod>
6
<methodName>zapiGetMerchandiseByCategoryId</methodName>
7
<categoryId></categoryId>
8
</zapiMethod>
9
</request>
Copied!
Element
M/O/C
Format
Length
Details
Request
M
a-z, A-Z
7
Top level element
ZapiToken
M
a-z, A-Z, 0-9
40
The generated ZAPI token
ZapiUserId
M
2
Supplied user ID
ZapiMethod
M
0-9
All requests must have a method
MethodName
M
a-z, A-Z, 0-9
Variable
See documentation for options
CategoryID
M
0-9
1
<?xml version="1.0" encoding="utf-8"?>
2
<response>
3
<zapiVersion>2.0</zapiVersion>
4
<error>0</error>
5
<message>ZAPI Ok</message>
6
<methodResponse>
7
<methodName>zapiGetMerchandiseByCategoryId</methodName>
8
<products>
9
<product>
10
<productId></productId>
11
<productName></productName>
12
<productDescription></productDescription>
13
<pricePreTax></pricePreTax>
14
<priceWithTax></priceWithTax>
15
</product>
16
</products>
17
</methodResponse>
18
</response>
Copied!
Element
M/O/C
Format
Length
Details
Response
M
a-z, A-Z
Top level element
ZapiVersion
M
0-9
5
Error
M
0-9
2
Message
M
a-z, A-Z, 0-9
Variable
Error message details
Method Response
M
MethodName
M
a-z, A-Z, 0-9
Variable
See documentation for options
Items
M
Element
Variable
Item
Element
Variable
ProductID
M
0-9
Unique for the product
ProductName
M
a-z, A-Z, 0-9
Product name
Product
Description
M
a-z, A-Z, 0-9
Variable
Product description
PricePreTax
M
0-9.0-90-9
Float
Price pre-tax (based on qty of 1)
PriceWithTax
M
0-9.0-90-9
Float
Price with tax (based on qty of 1)
Copy link