Validation via Partner's Store ID
vGrubs calls youPOST
{your_base_url}/merchants/validateUse this option if your system has internal store IDs. vGrubs calls your endpoint once during integration setup to confirm the merchant exists and is active on your platform.
Always respond with HTTP 200. Use the
valid field to communicate the outcome - not the HTTP status code.If your system does not have internal store IDs, switch to Option B above: you call vGrubs with the vGrubs store ID to establish the connection.
Request body
merchant_idstringrequired
The partner's store ID.
Responses
200OK
validboolean
true if the merchant exists and is active, false otherwise.
merchant_idstring
Echo of the submitted partner store ID.