Closing Days
vGrubs calls youPOST
{your_base_url}/merchants/closing-daysvGrubs calls this endpoint to add or remove closing days for a merchant - days when the restaurant is closed for the entire day.
Request body
merchant_idstringrequired
The partner's store ID.
daysstring[]required
List of dates to add or remove in YYYY-MM-DD format.
actionstringrequired
Whether to add or remove the listed closing days.
addMark the days as closed
removeReopen the days
Responses
200OK
successboolean
Whether the closing days were successfully updated.
400Bad Request
Missing or invalid fields in the request body.
401Unauthorized
Invalid or missing API key.