API para integraci贸n con Rabbit Burger (RBI). Todos los endpoints requieren autenticaci贸n.
x-api-key en todas las peticiones.
/rbi/job
{
"pickup": {
"address": "Calle Principal 123",
"customer": {
"name": "Juan P茅rez",
"phone": "+34600123456"
},
"items": [...]
}
}
/rbi/job/:pickupIdGET /rbi/job/ABC123XYZ
/rbi/job/:pickupIdDELETE /rbi/job/ABC123XYZ
/rbi/job/webhook/rbi/job/:pickupId/webhooktest
// Crear un job
fetch('https://api-kometa-delivery.nexus-software.es/rbi/job', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'TU_API_KEY_AQUI'
},
body: JSON.stringify({
pickup: { /* datos del pickup */ }
})
})
.then(res => res.json())
.then(data => console.log(data));
// Obtener un job
fetch('https://api-kometa-delivery.nexus-software.es/rbi/job/ABC123', {
headers: { 'x-api-key': 'TU_API_KEY_AQUI' }
})
.then(res => res.json())
.then(data => console.log(data));
Dominio: api-kometa-delivery.nexus-software.es
Regi贸n: europe-west2
Proyecto: mushdrink-delivery-platform