cURL
curl --request GET \ --url https://api.dooki.com.br/v2/{alias}/marketing/banners/{id}/categories \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>'
{ "data": [ { "id": 123, "merchant_id": 123, "parent_id": 123, "active": true, "featured": true, "price_factor": 123, "total_banners": 0, "sort_by": "<string>", "name": "<string>", "slug": "<string>", "url": "<string>", "description": "<string>", "external_url": "<string>", "canonical_url": "<string>", "order": 123, "is_parent": true, "url_path": "<string>", "slug_path": "<string>", "filters_values_ids": [ 123 ], "category_cover": "<string>", "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": "" } } } }
Retorna uma lista com os dados das categorias que um banner específico pertence
Alias da loja
ID do banner
Lista de categorias associadas ao banner
Representa uma paginação com meta
Show child attributes
Was this page helpful?