vGrubs
API Docs
vgrubs.com

Get Merchant Timezone

You call vGrubs
POSThttps://sandbox.vgrubs.com/partner/get-timezone/{partner-name}
{partner-name} Your partner identifier, provisioned by vGrubs during onboarding.

Use this endpoint to retrieve the IANA timezone of a merchant's store. All merchant-scoped times - scheduled_for on orders, working hours, and closing days - are expressed in the merchant's local time, so use this endpoint to render and interpret them correctly on your side.

The production URL is provided by vGrubs once the integration is fully tested and ready to go live.

Request body

merchant_idstringrequired

The partner's store ID.

Responses

200OK
timezonestring

IANA timezone identifier of the merchant's store (e.g. America/New_York).

400Bad Request

The store is not connected, has no brand mapping, or is inactive.

401Unauthorized

Invalid or missing x-api-key.