grubhub · Schema

MerchantMapping

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

Properties

Name Type Description
merchant_id string The Grubhub internal merchant identifier.
external_id string The partner's external merchant identifier.
name string The merchant's display name.
status string The current status of the merchant.
View JSON Schema on GitHub

JSON Schema

grubhub-merchantmapping-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MerchantMapping",
  "title": "MerchantMapping",
  "type": "object",
  "description": "Mapping between internal Grubhub merchant IDs and external partner merchant IDs.",
  "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"
      ]
    }
  }
}