Catalogue of Manufacturers
If you wish to receive a complete catalogue of manufacturers please open the following file:
manufacturers.php
Legend:
<element> optional elements
param required parameters
param optional parameters
API Request:
POST /API/manufacturers.php?api_id=id&api_key=key HTTP/1.1
Host: www.shopxml.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
id=manufacturer_id&...
(all the possible parameters of request can be found below)
API Response:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8" ?>
<objects>
<manufacturer id="manufacturer_id" url="url">
<name>string</name>
<description>string</description>
<image src="url" width="integer" height="integer" size="integer" />
</manufacturer>
...
</objects>
Request parameters (not essential to use unless specified):
id – manufacturer ID. For choosing a multiple manufacturer ID must be separated with commas or transmit this parameter in the array format (id[])
name – name. This parameter picks up everything that contains the same symbols transmitted in this particular string.
exc_field[] - the fields to be excluded. The following fields can be excluded:
name,
description,
image
Response parameters:
Information about search items (manufacturers) in the answer field is given in XML format as following:
<objects> - external container
<manufacturer> - manufacturer (repetitive)
id – unique identification key. Integer number.
<name> - name
<description>* - description
url* - Manufacturer's website address
<image>* - image
scr - image URL address
width - image resolution in pixels (width)
height - image resolution in pixels (height)
size - image file size (bytes)