Skip to content

PM11 - Get the product attribute configuration

Request

Description

Retrieves all attributes for parents and children of the requested hierarchy

Call Frequency
Maximum usage: Every hour
Security
Operator-Bearer-Token or OAuth-2
Query
hierarchystring

Code of the hierarchy (category) for which to retrieve the attributes. If not specified, all attributes are retrieved.

max_levelinteger, (int32)

Number of children hierarchy (category) levels to retrieve. If not specified, attributes from all children hierarchies are retrieved.

channelsArray of strings, unique

List of channel codes

with_rolesboolean

Set to "true" to get only the attributes that have roles.

Default:false
curl -i -X GET \
  'https://your-instance.mirakl.net/api/products/attributes?hierarchy=string&max_level=0&channels=string&with_roles=false' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Export success

Body
attributesArray of objectsrequired

List of attributes

Response
{ "attributes": [ { … }, { … } ] }