grubhub · JSON Structure

Grubhub Merchantdeactivationrequest Structure

Request to deactivate a merchant and remove partner association.

Type: object Properties: 2 Required: 1

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

Properties

merchant_id reason

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-merchantdeactivationrequest-structure.json",
  "name": "MerchantDeactivationRequest",
  "description": "Request to deactivate a merchant and remove partner association.",
  "type": "object",
  "properties": {
    "merchant_id": {
      "type": "string",
      "description": "The Grubhub merchant identifier to deactivate."
    },
    "reason": {
      "type": "string",
      "description": "Reason for deactivating the merchant."
    }
  },
  "required": [
    "merchant_id"
  ]
}