Find the next available delivery date for a known slot
GET
/api/public/delivery/next-available
const url = 'https://api.usegro.co/api/public/delivery/next-available?slot_id=example&shop=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.usegro.co/api/public/delivery/next-available?slot_id=example&shop=example'Used by the cart-refresh flow to recover abandoned carts whose stored delivery date has fallen into the past.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”slot_id
required
string
shop
required
string
timezone
string
Responses
Section titled “Responses”Next available delivery date for the slot, or available=false if none exists.
Media typeapplication/json
Example
{ "available": true, "delivery_date": "2026-05-16", "production_date": "2026-05-13", "formatted_date": "Fri 16 May", "delivery_slot_id": "01900000-0000-7000-8000-000000000000", "delivery_slot_time_start": "09:00:00", "delivery_slot_time_end": "17:00:00", "delivery_slot_label": "9am - 5pm", "delivery_configuration_id": "01900000-0000-7000-8000-000000000000"}