grubhub · Schema

ReferralResponse

Response after successfully creating a merchant referral.

Properties

Name Type Description
referral_id string The unique identifier for this referral.
merchant_id string The assigned Grubhub merchant identifier.
status string The current status of the referral.
View JSON Schema on GitHub

JSON Schema

grubhub-referralresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReferralResponse",
  "title": "ReferralResponse",
  "type": "object",
  "description": "Response after successfully creating a merchant referral.",
  "properties": {
    "referral_id": {
      "type": "string",
      "description": "The unique identifier for this referral."
    },
    "merchant_id": {
      "type": "string",
      "description": "The assigned Grubhub merchant identifier."
    },
    "status": {
      "type": "string",
      "description": "The current status of the referral.",
      "enum": [
        "PENDING",
        "APPROVED",
        "REJECTED"
      ]
    }
  }
}