Skip to content
Coursey CreativeSign in

GET /delivery-links

/api/store/[slug]/delivery-links

Returns the business's third-party delivery storefront links (DoorDash, Uber Eats, Grubhub) plus the highest-priority available provider.

Public - no auth neededRate limit 120/min anonymous, 600/min with a keyHow authentication works

Path parameters

slugstringrequired

Business (store) slug

Responses

200

The request succeeded.

404

No such store, or no such record inside it.

429

Too many requests. Back off and retry after the window in the response.

What comes back

200 with { links: { doordash, ubereats, grubhub } (each a URL string or null), has_any_link: boolean, primary_provider: 'doordash'|'ubereats'|'grubhub'|null (priority order doordash > ubereats > grubhub), primary_url: string|null }. Success responses are CDN-cached 60s (stale-while-revalidate 180s); 404 { error: 'Business not found' } is no-store. CORS-enabled; OPTIONS preflight supported.