Attributegroup

Attributegroup

Contents

Information

An attribute group can be used when you would like to group several attribute properties to the same categories. With attribute groups it is possible to position the attributes of an attribute group at different places at the PDP (product detail page).

For example all attributes of the group ‘sustainability' are positioned at another place at the PDP than the attributes of the group 'sizes’

Usage

URL

PUT /api/origin/{origin_code}/attributegroup/{key}/ POST /api/origin/{origin_code}/attributegroup

A put also results in creation of a new attribute property when the import key does not exist for this origin.

Request Sample

{ "key":"productspecificaties", "name":"Productspecificaties" }

Fields

Field

Mandatory

Description

Remarks

Field

Mandatory

Description

Remarks

key

yes

import key of the attribute group

must be unique for all attribute groups

name

yes

name of the attribute group

will be displayed at the webshop


Attribute group translations

This translation can only be done if the group exists.

A language has to be activated in the Cloudsuite admin to be able to update this language via the API. When a language field is not filled the default language of the shop is shown.

Usage

URL

POST /api/origin/{origin_code}/attributegroup/{key}/translations/

Request sample

{ "name": [ { "lang": "nl_NL", "value": "dutch name of the attributegroup" }, { "lang": "de_DE", "value": "german name of the attributegroup" }, { "lang": "en_US", "value": "english name of the attributegroup" }, { "lang": "es_ES", "value": "spanish name of the attributegroup" }, { "lang": "fr_FR", "value": "french name of the attributegroup" }] }

 

Looking for labels? They can now be found in the details panel on the floating action bar.

Related content

© 2024 CloudSuite BV, All rights reserved