vGrubs
API Docs
vgrubs.com

Merchant Validation

Partners connect to vGrubs using one of two approaches depending on whether they have an internal store ID system. Both options are supported - use whichever fits your setup.

Validation via Partner's Store ID

vGrubs calls you
POST{your_base_url}/merchants/validate

Use 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.