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

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-10-09T02:12:12Z
HTTP 200

Request

[]

Response

{
    "success": true,
    "message": "Operación realizada correctamente",
    "data": {
        "fulfillments": [
            {
                "fulfillmentUuid": "606abbd4-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "DiDi Food",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "606abb25-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Domicilio",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 1
            },
            {
                "fulfillmentUuid": "606abc0a-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "iFood",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "606abb62-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Rappi",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "606abb9d-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Uber Eats",
                "fulfillmentTypeCode": "fulfillment.delivery",
                "fulfillmentTypeName": "A domicilio",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "60b13584-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Para llevar",
                "fulfillmentTypeCode": "fulfillment.takeout",
                "fulfillmentTypeName": "Para llevar",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "606abae4-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Vehículo",
                "fulfillmentTypeCode": "fulfillment.curbside",
                "fulfillmentTypeName": "Vehiculo",
                "allowExternalOrder": 0
            },
            {
                "fulfillmentUuid": "606aba89-c386-11f1-a755-a2f78ac020f7",
                "fulfillmentName": "Autoservicio",
                "fulfillmentTypeCode": "fulfillment.counter",
                "fulfillmentTypeName": "Autoservicio",
                "allowExternalOrder": 0
            }
        ]
    }
}