Set Store Status
vGrubs calls youPOST
{your_base_url}/merchants/set-store-statusvGrubs calls this endpoint to bring a store online or offline. vGrubs controls when this is triggered. If minutes is omitted when going offline, the store will remain paused until end of day.
Request body
merchant_idstringrequired
The partner's store ID to update.
statusstringrequired
online or offline.
minutesnumber
Duration in minutes. Applies only when setting offline. If omitted, store is paused until end of day.
Responses
200OK
successboolean
Whether the action was applied.
statusstring
The resulting store status: online or offline.
400Bad Request
Missing or invalid fields in the request body.
401Unauthorized
Invalid or missing API key.