Product by Category

Search for a product by Category ID.

zapiGetMerchandiseByCategoryId

GET https://{yourdomainname}.zaui.net/zapi/

Request Body

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiGetMerchandiseByCategoryId</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <categoryId>2</categoryId>
        <products>
            <product>
                <pricePreTax>$5.00</pricePreTax>
                <productId>6</productId>
                <productName>
                    <![CDATA[Ski Poles]]>
                </productName>
                <productDescription>
                    <![CDATA[]]>
                </productDescription>
                <inventory>-2</inventory>
            </product>
        </products>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiGetMerchandiseByCategoryId</methodName>
		<categoryId></categoryId>
	</zapiMethod>
</request>

Last updated