Restofy Docs
Disponibilidad por canal POST

Ver canales para pedidos en línea

POST /api/fulfillment-config/list-online-fulfillments

Descripción

Lista los canales de entrega que pueden recibir pedidos de clientes que llegan sin QR.

Detalles

* Incluye los canales que no son en mesa ni en habitación y están activos en QR / Enlace. * Cada canal informa si hoy recibe pedidos en línea. * Quien entra desde el mercado de Restofy, el enlace público o una web propia elige entre los que reciben pedidos. * Salen ordenados por tipo: domicilio, para llevar, vehículo y autoservicio.

Permisos requeridos

admin.module website.module

El usuario solo necesita uno de los permisos listados.

Request

Este endpoint no recibe parámetros.

Ejemplo de request

curl -X POST https://restofy.pro/api/fulfillment-config/list-online-fulfillments \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <accessToken>"

Los valores son demo: reemplázalos por datos reales del negocio.

Ejemplo de respuesta

Actualizado: 2026-11-02T19:00:57Z
HTTP 200

Request

[]

Response

{
    "success": true,
    "message": "Operación realizada correctamente",
    "data": {
        "fulfillments": [
            {
                "fulfillmentUuid": "03846687-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "DiDi Food",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "038465df-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Domicilio",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 1
            },
            {
                "fulfillmentUuid": "038466bb-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "iFood",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "0384661c-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Rappi",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "03846653-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Uber Eats",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "03c84bbb-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Para llevar",
                "fulfillmentTypeCode": "fulfillment.takeout",
                "fulfillmentTypeName": "Para llevar",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "0384659f-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Vehículo",
                "fulfillmentTypeCode": "fulfillment.curbside",
                "fulfillmentTypeName": "Vehiculo",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "03846536-d113-11f1-8bb6-de64ef616b7c",
                "fulfillmentName": "Autoservicio",
                "fulfillmentTypeCode": "fulfillment.counter",
                "fulfillmentTypeName": "Autoservicio",
                "allowExternalOrder": 0
            }
        ]
    }
}