grubhub · JSON Structure

Grubhub Orderchangerequest Structure

A change request for an existing order.

Type: object Properties: 5

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

Properties

id status type details created_at

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-orderchangerequest-structure.json",
  "name": "OrderChangeRequest",
  "description": "A change request for an existing order.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the change request."
    },
    "status": {
      "type": "string",
      "description": "The current status of the change request.",
      "enum": [
        "PENDING",
        "APPROVED",
        "REJECTED"
      ]
    },
    "type": {
      "type": "string",
      "description": "The type of change being requested."
    },
    "details": {
      "type": "string",
      "description": "Details about the requested change."
    },
    "created_at": {
      "type": "datetime",
      "description": "When the change request was created."
    }
  }
}