younifyd
Menu

Get brands for given filters

Get brands for given filters

GET/brands

Use it in a workflow

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

Request

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

filters[minId]integer

Minimum (inclusive) ID of entities that should be returned.

sortstring

Sort by the provided column.

One ofidDefault "id"

sortDirstring

Sort ascending or descending

One ofascdescDefault "asc"

filters[name]array<string>

Comma-separated list of names that should be used for filtering.

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

entitiesarray<object>
idinteger

The ID of the brand created by SCAYLE.

namestringrequired

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.

logoSourceobject2 fields

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

attributesarray<object>5 fields

A list of attributes attached to the brand.

customDataany

Arbitrary fields assigned to Brands

cursorobject
nextstring

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

json
{
  "entities": [
    {
      "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": null,
              "countryCode": null,
              "value": null,
              "isLocked": null
            }
          ]
        }
      ],
      "customData": null
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

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