Get Merchant Timezone
You call vGrubsPOST
https://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).
supported_order_typesstring[]
Order types the store accepts. Never empty. Treat it as a list and check whether it contains a type - do not compare it to a fixed array, as more values may be added later. Hide the order types a store does not accept: a new order with an unsupported order.type is rejected.
pickupThe store accepts pickup orders (physical locations only)
deliveryThe store accepts delivery orders
400Bad Request
The store is not connected, has no brand mapping, or is inactive.
401Unauthorized
Invalid or missing x-api-key.