# Products

## Listando todos os produtos

## Listar todos

<mark style="color:blue;">`GET`</mark> `https://api.celetus.com/api/product`

Listar todas os produtos da conta

#### Query Parameters

| Name                                          | Type | Description                                      |
| --------------------------------------------- | ---- | ------------------------------------------------ |
| rowsPerPage<mark style="color:red;">\*</mark> | int  | <p>Quantidade de registros por pagina</p><p></p> |
| pageNumber<mark style="color:red;">\*</mark>  | int  | Numero da pagina                                 |

{% tabs %}
{% tab title="200 successfully" %}

```javascript
{
  "items": [
    {
      "quantity": 0,
      "unitaryValue": 0,
      "name": "string",
      "id": "string"
    }
  ],
  "page": 0,
  "total": 0,
  "rowsPerPage": 0,
  "totalPages": 0,
  "info": "string",
  "hasBackPage": true,
  "hasNextPage": true,
  "isLastPage": true
}
```

{% endtab %}

{% tab title="401 Erro na chave de acesso" %}

{% endtab %}

{% tab title="404: Not Found Não encontrado" %}

{% endtab %}
{% endtabs %}

## Buscando um produto por código

## Buscar produto por Id

<mark style="color:blue;">`GET`</mark> `https://api.celetus.com/api/product/{id}`

Burca produto por id do produto

{% tabs %}
{% tab title="200 successfully" %}

```javascript
{
  "quantity": 0,
  "unitaryValue": 0,
  "name": "string",
  "id": "string"
}
```

{% endtab %}

{% tab title="401 Erro na chave de acesso" %}

{% endtab %}

{% tab title="404: Not Found Não encontrado" %}

{% endtab %}
{% endtabs %}
