grubhub · JSON Structure

Grubhub Merchantreferral Structure

Details of a new merchant being referred for onboarding.

Type: object Properties: 5 Required: 3

MerchantReferral is a JSON Structure definition published by grubhub, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

business_name address contact external_id cuisine_types

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-merchantreferral-structure.json",
  "name": "MerchantReferral",
  "description": "Details of a new merchant being referred for onboarding.",
  "type": "object",
  "properties": {
    "business_name": {
      "type": "string",
      "description": "The name of the merchant's business."
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    },
    "contact": {
      "$ref": "#/components/schemas/Contact"
    },
    "external_id": {
      "type": "string",
      "description": "The partner's external identifier for this merchant."
    },
    "cuisine_types": {
      "type": "array",
      "description": "Types of cuisine offered by the merchant.",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "business_name",
    "address",
    "contact"
  ]
}