grubhub · JSON Structure

Grubhub Merchantmapping Structure

Mapping between internal Grubhub merchant IDs and external partner merchant IDs.

Type: object Properties: 4

MerchantMapping is a JSON Structure definition published by grubhub, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

merchant_id external_id name status

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-merchantmapping-structure.json",
  "name": "MerchantMapping",
  "description": "Mapping between internal Grubhub merchant IDs and external partner merchant IDs.",
  "type": "object",
  "properties": {
    "merchant_id": {
      "type": "string",
      "description": "The Grubhub internal merchant identifier."
    },
    "external_id": {
      "type": "string",
      "description": "The partner's external merchant identifier."
    },
    "name": {
      "type": "string",
      "description": "The merchant's display name."
    },
    "status": {
      "type": "string",
      "description": "The current status of the merchant.",
      "enum": [
        "ONLINE",
        "OFFLINE"
      ]
    }
  }
}