vGrubs
API Docs
vgrubs.com

Working Hours

vGrubs calls you
POST{your_base_url}/merchants/working-hours

vGrubs calls this endpoint when working hours change on our side, to ensure no orders are placed outside of the merchant's operating hours.

Request body

merchant_idstringrequired

The partner's store ID.

business_hoursarrayrequired

Weekly business hours schedule.

delivery_hoursarrayrequired

Weekly delivery hours schedule. Same structure as business_hours.

Responses

200OK
successboolean

Whether the working hours were successfully updated.

400Bad Request

Missing or invalid fields in the request body.

401Unauthorized

Invalid or missing API key.