v1

latestOpenAPI 3.0.02026-07-26376212496.4 KB
Catálogo - Selos

Listar selos

Lista de selos com base nos parâmetros fornecidos

get/{alias}/catalog/flags

Path parameters

aliasstring required

Alias da loja

Request body

idinteger
activeboolean
is_visibleboolean
namestring
slugstring
total_productsinteger
text_colorstring
background_colorstring
image_urlstring url

Example request

{
  "name": "Coleção 2017",
  "slug": "colecao-2017",
  "text_color": "#ffffff",
  "background_color": "#000000",
  "image_url": "https://image.com/selo.gif"
}

Response

Lista de selos retornada com sucesso

Example response

{
  "data": [
    {
      "name": "Coleção 2017",
      "slug": "colecao-2017",
      "text_color": "#ffffff",
      "background_color": "#000000",
      "image_url": "https://image.com/selo.gif",
      "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"
      }
    }
  ]
}