younifyd
Menu

Get a brand

Get a brand

GET/brands/{brandId}

Use it in a workflow

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

Request

Path parameters

brandIdintegerrequired

The brand ID.

Query parameters

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 {{getABrand.response.data.<field>}}.

idinteger

The ID of the brand created by SCAYLE.

namestring

Name of the brand.

groupstring

Group name allowing to group different brands.

logoUrlstring

URL of the image, either manually specified or generated by SCAYLE, if the SCAYLE CDN is used.

logoSourceobject

Source where to download the asset from. Either URL or attachment.

urlstring (uri)

URL of remote asset.

attachmentstring (byte)

Base64-encoded binary asset data.

attributesarray<object>

A list of attributes attached to the brand.

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.

customDataany

Arbitrary fields assigned to Brands

json
{
  "name": "Edited",
  "id": 1,
  "group": "Sport Brands",
  "logoUrl": "images/my_image.jpg",
  "logoSource": {
    "url": "https://example.com/image.png",
    "attachment": "U3dhZ2dlciByb2Nrcw=="
  },
  "attributes": [
    {
      "name": "string",
      "type": "simple",
      "value": null,
      "isLocked": false,
      "shopCountrySpecific": [
        {
          "shopKey": "ms",
          "countryCode": "DE",
          "value": null,
          "isLocked": false
        }
      ]
    }
  ],
  "customData": null
}

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