younifyd
Menu

Get product variant attributes

Get product variant attributes

GET/products/{productIdentifier}/variants/{variantIdentifier}/attributes

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get product variant attributes action (under Attributes).
  3. Fill in the fields below, then reference the result from later steps as {{getProductVariantAttributes.response.data}}.

Request

Path parameters

productIdentifieroneOfrequired

Product ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

variantIdentifieroneOfrequired

Product variant ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Response

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

entitiesarray<object>
namestringrequired

The attribute name.

typestringrequired

The attribute type.

One ofsimplesimpleListlocalizedStringlocalizedStringListadvancedadvancedList

valueanyrequired

The attribute value where the datatype is defined by the type property.

isLockedboolean

Specifies if the attribute group should be locked.

shopCountrySpecificarray<object>4 fields

Used to override the attribute value for a specific shop country. Only supported by products, product masters and variants.

json
{
  "entities": [
    {
      "name": "string",
      "type": "simple",
      "value": null,
      "isLocked": false,
      "shopCountrySpecific": [
        {
          "shopKey": "ms",
          "countryCode": "DE",
          "value": null,
          "isLocked": false
        }
      ]
    }
  ]
}

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

Get product variant attributes — SCAYLE Admin — Documentation