GET
/
{alias}
/
marketing
/
banners
/
{id}
/
collections
curl --request GET \
  --url https://api.dooki.com.br/v2/{alias}/marketing/banners/{id}/collections \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>'
{
  "data": [
    {
      "id": 123,
      "parent_id": 123,
      "active": true,
      "show_banners": true,
      "featured": true,
      "is_promotional": true,
      "name": "<string>",
      "visible_products": 123,
      "home": true,
      "expired": true,
      "slug": "<string>",
      "description": "<string>",
      "seo_title": "<string>",
      "seo_keywords": "<string>",
      "seo_description": "<string>",
      "path": "<string>",
      "expire_in": "<string>",
      "total_products": 123,
      "restriced": true,
      "url": "<string>",
      "stopwatch": "<string>",
      "stopwatch_expires_in": "<string>",
      "start_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      },
      "end_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      },
      "created_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      },
      "updated_at": {
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo"
      }
    }
  ],
  "meta": {
    "pagination": {
      "total": "10",
      "count": "30",
      "per_page": "10",
      "current_page": "1",
      "total_pages": "3",
      "links": {
        "previous": "",
        "next": ""
      }
    }
  }
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID do banner

Response

200
application/json

Lista de coleções associadas ao banner

Representa uma paginação com meta