Artikel-Attribute

Alle Artikel-Attribute auflisten

GET /api/article-properties
<?xml version="1.0" encoding="UTF-8"?>
<article-properties type="array">
    <article-property>
        ...
    </article-property>
    <article-property>
        ...
    </article-property>
</article-properties>

Ein­zel­nes 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 erstel­len

POST /api/article-properties
XML-Element Beschrei­bung Typ Default-Wert Pflicht­feld
name Name des Attributs ALNUM ja
type Typ des Attri­buts (TEXTFIELD = ein­zi­li­ges Text­feld, TEXTAREA = mehr­zei­li­ges Text­feld, CHECKBOX = Checkbox) ALNUM ja
default_value Default­wert ALNUM
is_nvl Soll der Stan­dard­wert ver­wen­det wer­den, wenn kein ande­rer Wert gesetzt wurde? 1=ja INT
<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 bear­bei­ten

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

Attri­but löschen

DELETE /api/article-properties/{id}