# Listar status - getStatuses

##### <span class="api-method" data-method="POST">POST</span> https://api.service24gps.com/api/v1/ondelivery/getStatuses

Este método devuelve los status que puede tener un pedido.

<details class="mb-m" id="bkmrk-body-parametersparam"><summary class="text-muted">Ver parámetros de solicitud:</summary>

<div><table class="table" style="height: 139px;"><tbody><tr style="height: 41px;"><th style="width: 188px; height: 41px;">Parámetros</th><th style="width: 320px; height: 41px;">Descripción</th><th style="width: 301px; height: 41px;">Ejemplo</th></tr><tr style="height: 57px;"><td style="width: 188px; height: 57px;">apikey</td><td style="width: 320px; height: 57px;">Llave de autorización para uso de los Servicios Web.</td><td style="width: 301px; height: 57px;"><span role="presentation" style="padding-right: 0.1px; color: #3366ff;">25sdsd234234aa93sdsdsd37c70118e72</span></td></tr><tr style="height: 41px;"><td style="width: 188px; height: 41px;">token</td><td style="width: 320px; height: 41px;">Token devuelto por el método getToken.</td><td style="width: 301px; height: 41px;"><span style="color: #3366ff;">wfszR/oPIQKjt5HT5NgjDnZ2SAZQ==</span></td></tr></tbody></table>

</div></details>##### Solicitud de ejemplo:

```shell
curl --location --request POST 'https://api.service24gps.com/api/v1/ondelivery/getStatuses' \
--header 'Cookie: PHPSESSID=6g5p2n9vso19j8vgdc9fcuind1' \
--form 'apikey="9e815ce8b91e40379407320cd0a13a98"' \
--form 'token="wfszR/oPIQKjt5HT5NgjDnZ2SAZQ=="'
```

##### Respuesta de ejemplo:

```JSON
{
    "status": 200,
    "data": [
        {
            "id": "1",
            "nombre": "Pendiente"
        },
        {
            "id": "2",
            "nombre": "En tránsito"
        },
        {
            "id": "3",
            "nombre": "Entregado"
        },
        {
            "id": "4",
            "nombre": "Cancelado"
        },
        {
            "id": "5",
            "nombre": "Programado para entrega"
        },
        {
            "id": "6",
            "nombre": "Cliente no encontrado"
        },
        {
            "id": "7",
            "nombre": "Entregado y confirmado"
        },
        {
            "id": "8",
            "nombre": "En proceso de entrega"
        }
    ]
}
```