younifyd
Menu

Get attribute-to-attribute mappings for an attribute group

Get attribute-to-attribute mappings for an attribute group

GET/attribute-groups/{attributeGroupName}/attribute-mappings

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get attribute-to-attribute mappings for an attribute group action (under AttributeGroups).
  3. Fill in the fields below, then reference the result from later steps as {{getAttributeToAttributeMappingsForAnAttributeGroup.response.data}}.

Request

Path parameters

attributeGroupNamestringrequired

An attribute group unique name.

Query parameters

limitinteger

Maximum number of entities in the result. When fetching entities with children, the limit always applies to the amount of parent entities (max. 1000).

Default 100

cursorstring

Valid cursor used for pagination.

witharray<string>

Comma-separated list of additional properties that should be included in the response.

Response

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

entitiesarray<object>

Collection of attribute-to-attribute mappings.

sourceAttributeanyrequired

The source attribute of the mapping. Its attribute group matches the `{attributeGroupName}` path parameter. The structure varies based on the `with=id` query parameter: - With `with=id`: an object with `id` and `value` keys - Without `with=id`: the attribute value itself (string or localized object)

targetAttributeanyrequired

The target attribute of the mapping. The structure varies based on the `with=id` query parameter: - With `with=id`: an object with `id` and `value` keys - Without `with=id`: the attribute value itself (string or localized object)

targetAttributeGroupNamestringrequired

The name of the attribute group the target attribute belongs to.

cursorobject
nextstring

The cursor pointing to the next page. If null there is no next page available.

json
{
  "entities": [
    {
      "sourceAttribute": null,
      "targetAttribute": null,
      "targetAttributeGroupName": "category"
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

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