GET /delivery-links
/api/store/[slug]/delivery-linksReturns the business's third-party delivery storefront links (DoorDash, Uber Eats, Grubhub) plus the highest-priority available provider.
Path parameters
slugstringrequiredBusiness (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.