GET, com os parâmetros enviados via query string./api/user/checkout/layoutapplication/jsonapi_token| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
x-api-key | string | Sim | Token de autenticação API Key |
User-Agent | AtivoB2B/1.0 | Sim |
| Parâmetro | Tipo | Descrição | Exemplo |
|---|---|---|---|
limit | string | A quantidade de registros que deseja buscar | 10 |
page | string | A página que deseja buscar | 1 |
value | string | O valor a ser pesquisado (ex: código de cor do layout) | #000000 |
orderDirection | string | A direção da ordenação dos resultados (ASC ou DESC) | desc |
orderBy | string | O campo que será utilizado para ordenar os resultados | id |
status | string | O status do layout. Valores possíveis: ACTIVE, INACTIVE | ACTIVE |
curl --location --request GET '/api/user/checkout/layout?limit=10&page=1&value=%23000000&orderDirection=desc&orderBy=id&status=ACTIVE' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'{
"data": {
"data": [
{
"id": "0",
"primaryColor": "#000000",
"typography": "MONTSERRAT",
"logo": null,
"type": "CUSTOM",
"status": "ACTIVE",
"createdAt": "2025-04-17T19:33:40.320Z",
"updatedAt": "2025-04-17T19:33:40.320Z",
"deletedAt": null,
"sellerId": "0"
},
{
"id": "0",
"primaryColor": "#009FE3",
"typography": "INTER",
"logo": null,
"type": "CUSTOM",
"status": "ACTIVE",
"createdAt": "2025-04-03T18:29:06.329Z",
"updatedAt": "2025-04-03T18:29:06.329Z",
"deletedAt": null,
"sellerId": "0"
},
{
"id": "0",
"primaryColor": "#000000",
"typography": "MONTESERRAT",
"logo": {
"id": "0",
"key": "0.png",
"url": "X"
},
"type": "DEFAULT",
"status": "ACTIVE",
"createdAt": "2025-03-26T21:51:28.253Z",
"updatedAt": "2025-04-16T14:38:35.377Z",
"deletedAt": null,
"sellerId": "0"
}
],
"pages": 1,
"page": 1,
"limit": 10,
"total": 3
},
"message": "Os layouts foram encontrados com sucesso",
"status": 200,
"error": null
}