{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-order-update-callback-response-schema.json",
  "title": "OrderUpdateCallbackResponse",
  "description": "Returns the updated shipping options for an order.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-externalcallback-api-openapi.yml#/components/schemas/order_update_callback_response",
  "type": "object",
  "properties": {
    "id": {
      "description": "The ID of the order.",
      "type": "string",
      "minLength": 1,
      "maxLength": 36,
      "pattern": "^[A-Z0-9-]+$",
      "readOnly": true
    },
    "purchase_units": {
      "$ref": "#/$defs/shipping_options_purchase_unit"
    }
  },
  "$defs": {
    "shipping_options_purchase_unit": {
      "title": "Shipping Option and Amount data at Purchase Unit",
      "description": "This would contain shipping option and amount data at purchase unit level.",
      "type": "object"
    }
  }
}