Attributes API

Current version: v1.1

List attributes

List all available attributes on this shop.

GET
/attributes/list.json
[
	{
		"label": "Internal Code",
		"type": "text",
		"data": [],
		"id": "586bbfa002e58e586f154824"
	},
	{
		"label": "Warehouse Location",
		"type": "text",
		"data": [],
		"id": "586bca86ffe48e9dbcc2207f"
	},
	{
		"label": "Manufacturer",
		"type": "select",
		"data": [
		"Manufacturer 1",
		"Manufacturer 2"
		],
		"id": "586bcb33ffe48ea8bec21ff4"
	}
]

Add attribute

Add a new attribute to your shop attributes poll.

POST
/attributes/attribute.json
label required (string) Name of your custom product attribute
type required (string) Type of your custom product attribute. You can download a valid value list here
data[] repetable (string) Predefinited set of values. Available only on "select" type.
{
	"id": "586bce0affe48e5bc0c22025"
}
					

Search attribute

Search an attribute. Serch by label field

GET
/attributes/search.json?label={attribute-label}
label required (string) Name of your custom product attribute
[
	{
		"label": "Manufacturer",
		"type": "select",
		"data": [
			"Manufacturer 1",
			"Manufacturer 2",
			"Manufacturer 3",
			"Manufacturer 4"
		],
		"id": "586bcb33ffe48ea8bec21ff4"
	}
]
					

Edit attribute list

Add a new value to predefinited element.

POST
/attributes/attribute_addValue.json
id required (StoredenId) A valid attribute ID that must exists on your store.
value required (string) value of a new entry value to add to the list
[
	{
		"label": "Manufacturer",
		"type": "select",
		"data": [
			"Manufacturer 1",
			"Manufacturer 2",
			"Manufacturer 3",
			"Manufacturer 4"
		],
		"id": "586bcb33ffe48ea8bec21ff4"
	}
]
					

Delete attribute

Remove an existing attribute from your shop.

DELETE
/attributes/attribute.json
id required (StoredenId) A valid attribute ID that must exists on your store.
{
	"ok": 1,
	"err": null
}
					

List attribute Type

Get a list of supported attributes type.

GET
/attributes/types.json
[
	"text",
	"number",
	"real",
	"select"
]