younifyd
Menu

Update or create a product video attribute

Update or create a product video attribute

POST/products/{productIdentifier}/videos/{productVideoIdentifier}/attributes

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update or create a product video attribute action (under Attributes).
  3. Fill in the fields below, then reference the result from later steps as {{updateOrCreateAProductVideoAttribute.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 =

productVideoIdentifieroneOfrequired

Product Video ID or video reference key. If you are using a reference key, use the `key=` prefix (URL-encode `=` as %3D when needed).

Query parameters

ignoreAttributeLocksboolean

If set to true, then even locked attributes get updated/deleted.

Default false

Request body

Enter the body as JSON in the step's Body field.

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>

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

shopKeystringrequired

A key that uniquely identifies the shop within the tenant's ecosystem.

countryCodestringrequired

ISO 3166 alpha 2 country code.

valueanyrequired

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

isLockedboolean

Specifies if the attribute group should be locked for the shopCountry.

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

Response

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

namestring

The attribute name.

typestring

The attribute type.

One ofsimplesimpleListlocalizedStringlocalizedStringListadvancedadvancedList

valueany

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

isLockedboolean

Specifies if the attribute group should be locked.

shopCountrySpecificarray<object>

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

shopKeystringrequired

A key that uniquely identifies the shop within the tenant's ecosystem.

countryCodestringrequired

ISO 3166 alpha 2 country code.

valueanyrequired

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

isLockedboolean

Specifies if the attribute group should be locked for the shopCountry.

json
{
  "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.