younifyd
Menu

Get returnsAttributeMetadata/{attributeCode}

Get returnsAttributeMetadata/{attributeCode}

GET/V1/returnsAttributeMetadata/{attributeCode}

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get returnsAttributeMetadata/{attributeCode} action (under Returns).
  3. Fill in the fields below, then reference the result from later steps as {{getReturnsattributemetadataAttributecode.response.data}}.

Request

Path parameters

attributeCodestringrequired

Response

Returns 200 with an object. Read it in later steps with {{getReturnsattributemetadataAttributecode.response.data.<field>}}.

frontend_inputstring

HTML for input element.

input_filterstring

Template used for input (e.g. "date")

store_labelstring

Label of the store.

validation_rulesarray<object>

Validation rules.

namestringrequired

Validation rule name

valuestringrequired

Validation rule value

multiline_countinteger

Of lines of the attribute value.

visibleboolean

Attribute is visible on frontend.

requiredboolean

Attribute is required.

data_modelstring

Data model for attribute.

optionsarray<object>

Options of the attribute (key => value pairs for select)

labelstringrequired

Option label

valuestring

Option value

optionsarray<object>

Nested options

frontend_classstring

Class which is used to display the attribute on frontend.

user_definedboolean

Current attribute has been defined by a user.

sort_orderinteger

Attributes sort order.

frontend_labelstring

Label which supposed to be displayed on frontend.

notestring

The note attribute for the element.

systemboolean

This is a system attribute.

backend_typestring

Backend type.

is_used_in_gridboolean

It is used in customer grid

is_visible_in_gridboolean

It is visible in customer grid

is_filterable_in_gridboolean

It is filterable in customer grid

is_searchable_in_gridboolean

It is searchable in customer grid

attribute_codestring

Code of the attribute.

json
{
  "frontend_input": "string",
  "input_filter": "string",
  "store_label": "string",
  "validation_rules": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "multiline_count": 0,
  "visible": false,
  "required": false,
  "data_model": "string",
  "options": [
    {
      "label": "string",
      "value": "string",
      "options": [
        {}
      ]
    }
  ],
  "frontend_class": "string",
  "user_defined": false,
  "sort_order": 0
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.