{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-merchantheartbeattriggeredpayload-schema.json",
  "title": "MerchantHeartbeatTriggeredPayload",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-merchant-data-openapi.yml#/components/schemas/MerchantHeartbeatTriggeredPayload",
  "required": [
    "merchant_id",
    "new_pos_status"
  ],
  "type": "object",
  "properties": {
    "merchant_id": {
      "type": "string",
      "description": "The short Grubhub ID for the merchant OR the Partner merchant ID."
    },
    "new_pos_status": {
      "type": "string",
      "description": "Merchant status, whether online/offline.",
      "enum": [
        "OFFLINE",
        "ONLINE"
      ]
    },
    "reason": {
      "type": "string",
      "description": "Reason for status change"
    }
  },
  "description": "Request to set merchant status online or offline."
}