# GET Consultar Disponibilidade Produto

#### **Introdução**

Retorna uma lista de produtos disponíveis a partir da cidade consultada, informada através do parâmetro **"**<span style="color: rgb(35, 111, 161);">codCidadeIBGECliente</span>**".**

---

##### ***Rota***

```css
/Proposta/produtos-regiao/:codCidadeIBGE
```

##### ***Authorization***

É necessário um token de autorização do tipo Bearer Token. O token deve ser fornecido da seguinte forma:

<table border="1" id="bkmrk-token-eyj..." style="border-collapse: collapse; width: 106.667%;"><colgroup><col style="width: 49.9795%;"></col><col style="width: 49.9795%;"></col></colgroup><tbody><tr><td>Token</td><td>eyJ...</td></tr></tbody></table>

##### ***Headers Request***

<table border="1" id="bkmrk-accept-application%2Fj" style="border-collapse: collapse; width: 100%; height: 59.2px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 29.6px;"><td style="height: 29.6px;">accept</td><td style="height: 29.6px;">application/json</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">Content-Type</td><td style="height: 29.6px;">application/json</td></tr></tbody></table>

#### **Detalhes da API**

Campos obrigatórios e seus respectivos tipos

---

##### ***Campos Obrigatórios***

<table border="1" id="bkmrk-campo-tipo-descri%C3%A7%C3%A3o" style="border-collapse: collapse; width: 100%; height: 60.5125px;"><colgroup><col style="width: 33.3651%;"></col><col style="width: 26.3389%;"></col><col style="width: 40.3913%;"></col></colgroup><thead><tr><td>**Campo**</td><td>**Tipo**</td><td>**Descrição**</td></tr></thead><tbody><tr style="height: 30.9125px;"><td style="height: 30.9125px;">**`<strong class="sc-fzoXzr bUnOKm">codCidadeIBGE</strong> `** </td><td style="height: 30.9125px;">int</td><td style="height: 30.9125px;"> Este campo representa o código IBGE da cidade</td></tr></tbody></table>

#### **Exemplo de Requisição e Resposta**

---

##### ***Exemplo de Request***

<details id="bkmrk-curl-curl---location"><summary>curl</summary>

```bash
curl --location 'https://app2-crefaz-api-external-stag.azurewebsites.net/api/Proposta/produtos-regiao/3550308' \
--header 'accept: application/json' \
--header 'Content-Type: application/json'
```

</details>##### ***Exemplo de Response***

<details id="bkmrk-json-%7B-%22success%22%3A-tr"><summary>json</summary>

```json
{
  "success": true,
  "data": {
    "produtos": {
      "energia": true,
      "boleto": true,
      "cp_refin": true,
      "consignado_privado": true,
      "cdc": true,
      "cp_cheque": true,
      "cdc_energia": true,
      "debito_em_conta": true
    }
  },
  "errors": null
}
```

</details>##### ***<span class="Text__TextContainer-sc-1kqigik-0 dLPxIq" data-aether-id="aether-text" data-click="" data-testid="aether-text">Headers de Response (5)</span>***

<table border="1" id="bkmrk-type-value-content-t" style="border-collapse: collapse; width: 100%; height: 177.6px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><thead><tr style="height: 29.6px;"><td style="height: 29.6px;">**Type**</td><td style="height: 29.6px;">**Value**</td></tr></thead><tbody><tr style="height: 29.6px;"><td style="height: 29.6px;">Content-Type</td><td style="height: 29.6px;">application/json; charset=utf-8

</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">Date</td><td style="height: 29.6px;">Fri, 04 Oct 2024 18:03:20 GMT</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">Server</td><td style="height: 29.6px;">Kestrel</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">Transfer-Encoding</td><td style="height: 29.6px;">chunked</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">Request-Context</td><td style="height: 29.6px;">appId=cid-v1:d0033e30-cc70-4961-9727-b7389fb39348</td></tr></tbody></table>