GET, com o parâmetro enviado via query string./api/user/checkout/layout/get-by-idapplication/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 | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
id | string | Sim | O ID do layout a ser buscado | e653ca6c-479c-4aab-8935-6f542e97ead0 |
curl --location --request GET '/api/user/checkout/layout/get-by-id?id=XXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXX' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'{
"data": {
"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"
},
"message": "O layout foi encontrado com sucesso",
"status": 200,
"error": null
}