Alle Artikel-Attribute auflisten

GET /api/article-properties
<?xml version="1.0" encoding="UTF-8"?>
<article-properties type="array" page="1" per_page="100" total="2">
    <article-property>
        ...
    </article-property>
    <article-property>
        ...
    </article-property>
</article-properties>

Einzelnes Artikel-Attribut aufrufen

GET /api/article-properties/{id}
<?xml version="1.0" encoding="UTF-8"?>
<article-property>
    <id type="integer">7</id>
    <account_id type="integer">1</account_id>
    <name>Farbe</name>
    <default_value>rot</default_value>
    <is_nvl>0</is_nvl>
    <type>TEXTFIELD</type>
</article-property>

Artikel-Attribut erstellen

POST /api/article-properties
XML-Element Beschreibung Typ Default-Wert Pflichtfeld
name Name des Attributs ALNUM ja
type Typ des Attributs (TEXTFIELD = einzeiliges Textfeld, TEXTAREA = mehrzeiliges Textfeld, CHECKBOX = Checkbox) ALNUM ja
default_value Defaultwert ALNUM
is_nvl Soll der Standardwert verwendet werden, wenn kein anderer Wert gesetzt wurde? 1=ja BOOL
<article-property>
    <name>Farbe</name>
    <type>TEXTFIELD</type>
</article-property>
<?xml version="1.0" encoding="UTF-8"?>
<article-property>
    <id type="integer">11</id>
    <account_id type="integer">1</account_id>
    <name>Farbe</name>
    <type>TEXTFIELD</type>
</article-property>

Artikel-Attribut bearbeiten

PUT /api/article-properties/{id}
<article-property>
    <name>Lieferumfang</name>
    <type>TEXTAREA</type>
</article-property>

Attribut löschen

DELETE /api/article-properties/{id}