getCategoryAttributes

Method returns list of category attributes.

Usage URL: https://e-hedo.pl/api/getCategoryAttributes.json?key=YOURAPIKEY

Query params

(put those in your URL, e.g. ?id=123)

  • id

    Internal identifier of category attribute. More than one value can be specified after comma (,) separator.

  • categoryid

    Internal identifier of category. More than one value can be specified after comma (,) separator.

  • name

    Name of category attribute. Example: cover will return all category attributes that contains cover in the name.

  • modified

    Return all category attributes modified after the modified date. That is highly recommended when you want to update your local database.
    Date format is yyyy-MM-dd.

  • type

    Return all category attributes with that type. Supported types: mru, bool, int, text, date.

  • lang

    Language of result. ISO 2 Letter Language Codes ie: en, pl, cs

  • id | integer

    Internal identifier of category attribute.

  • modified | datetime

    Category attributes modified after the modified date.
    Date format is yyyy-MM-dd.

  • name | string

    Name of category attribute.

  • description | string

    Description of category attribute.

  • type | string

    Category attributes with that type. Supported types: mru, bool, int, text, date.

  • fkcategory | integer

    Internal identifier of category.

  • varianttype | integer

    0 - regular attribute, 1 - attribute can be used to group products into variants, 2 - variants with pictures.

Example URL: https://e-hedo.pl/api/getCategoryAttributes.json?key=YOURAPIKEY&lang=en&categoryid=2662

[
    {
        "id": 9,
        "modified": "2016-11-30 02:20:27",
        "name": "Phone Manufacturer",
        "description": null,
        "type": "mru",
        "fkcategory": 2662
    },
    {
        "id": 6,
        "modified": "2016-11-30 08:46:12",
        "name": "Accessory Manufacturer",
        "description": null,
        "type": "mru",
        "fkcategory": 2622
    }
]
Example URL: https://e-hedo.pl/api/getCategoryAttributes.xml?key=YOURAPIKEY&lang=en&categoryid=2662

<?xml version="1.0" encoding="utf-8"?>
<root>
	<item>
		<id>9</id>
		<modified>2016-11-30 02:20:27</modified>
		<name>Phone Manufacturer</name>
		<description></description>
		<type>mru</type>
		<fkcategory>2662</fkcategory>
	</item>
	<item>
		<id>6</id>
		<modified>2016-11-30 08:46:12</modified>
		<name>Accessory Manufacturer</name>
		<description></description>
		<type>mru</type>
		<fkcategory>2622</fkcategory>
	</item>
</root>