CRADמפתחים
עברית

Read service membership or changes

לפני שימוש חי — בדקו יכולות פרוסות, הרשאות ומוכנות של החיבור שלכם.

בדקו את היכולות הפרוסות, הרשאות המפתח ומוכנות העסק בסביבה שלכם. דוגמאות HTTP נלכדו בבדיקות מבודדות; הסימון local-unreleased שלהן אינו אומר שה־API אינו פועל, ואינו מאשר את החיבור שלכם. במסלול הלקוח מאמתים טלפון בתבנית WhatsApp שהעסק הגדיר; SMS אינו נתמך. רישום בידי אדמין מורשה הוא פעולה נפרדת ללא קוד.

GET/v1/management/service-changes

Behavior

Whole-business service catalogue, including inactive services and advisory publication/delete state. Consume nextCursor on every page, even empty filtered pages. Hydrated current values may be newer than the signal and appear repeatedly. Apply before acknowledging; restart on projection or retention invalidation.

Authentication

ManagementCredential

Credential rules

One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.

Required application permissions

services:readservices:sync

Request

  • cursorquery · stringRequired
    Format and constraints
    cursor schema
    {
      "type": "string",
      "format": "uuid"
    }
  • limitquery · integerOptional
    Format and constraints
    limit schema
    {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50
    }

Successful responses

200 · BusinessServiceSyncPage

Current authorized result.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · BusinessServiceSyncPage

Current-state page. Atomically apply data and nextCursor even when events is empty. Do not combine the two independent feeds as a historical snapshot; fresh quote/availability remains required before booking.

Exactly one of these variants must match.

  • oneOf 1 · kind = "snapshot"objectSchema branch
    View branch fields and rules
    • kindstringRequired in this branch

      Value: "snapshot"

    • servicesarrayRequired in this branch

      maxItems: 100

      View nested fields
      • []oneOf (object; allOf (unspecified) | object)Array item

        Exactly one of these variants must match.

        View nested fields
        • oneOf 1 · removed = falseobject; allOf (unspecified)Schema branch

          All of these schema rules apply together.

          View branch fields and rules
          • serviceIdstring · uuidRequired in this branch
          • serviceVersionstringRequired in this branch

            Opaque physical service identity and material revision. Retain the returned value; it is not the serviceId.

            pattern: "^svc:[0-9a-f-]{36}:(0|[1-9][0-9]{0,18})$"

          • modestringRequired in this branch

            Allowed values: ["legacy","service_duration"]

          • nameobjectRequired in this branch

            Stored localized strings. When editing, include at least one nonblank he/ar/en name; managed validators normalize supported fallback keys. Omit an unedited legacy name.

            View nested fields
            • additionalPropertiesstringSchema rule
          • descriptionunspecifiedRequired in this branch

            Stored service description JSON; null and legacy JSON remain readable.

          • priceMajornumber | nullRequired in this branch

            Current catalogue price in major units. Nullable legacy price is retained; this is not a booking quote or minor units.

          • currencystring | nullRequired in this branch

            Stored currency label, including legacy/custom labels and ₪. No inferred ISO currency.

            maxLength: 10000

          • isActivebooleanRequired in this branch
          • displayOrderinteger | nullRequired in this branch

            minimum: -2147483648maximum: 2147483647

          • legacyDurationMinutesinteger | nullRequired in this branch

            Historical duration field, not edited by this contract.

            minimum: -2147483648maximum: 2147483647readOnly: true

          • bookingDurationMinutesinteger | nullRequired in this branch

            minimum: -2147483648maximum: 2147483647

          • removalDurationMinutesinteger | nullRequired in this branch

            minimum: -2147483648maximum: 2147483647

          • removalPriceMajornumber | nullRequired in this branch
          • publicationobjectRequired in this branch

            Current public selection and eligibility, not publication permission. Catalogue creation/activity never automatically selects a public service.

            View nested fields
            • selectedbooleanRequired in this branch
            • eligiblebooleanRequired in this branch
            • additionalPropertiesno value allowedSchema rule
          • deleteBlockersarrayRequired in this branch

            Advisory current blockers; delete rechecks under serialization. Deactivation remains available.

            maxItems: 2uniqueItems: true

            View nested fields
            • []stringArray item

              Allowed values: ["appointments_exist","provider_assignment_would_expand"]

          • removedbooleanRequired in this branch

            Value: false

          • priceRangeMajoranyOf (object | null)Optional in this branch

            Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue.

            At least one of these variants must match.

            View nested fields
            • anyOf 1objectSchema branch
              View branch fields and rules
              • minnumberRequired in this branch

                minimum: 0maximum: 90071992547409.9

              • maxnumberRequired in this branch

                minimum: 0maximum: 90071992547409.9

              • additionalPropertiesno value allowedSchema rule
            • anyOf 2nullSchema branch
          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • priceRangeMajorobjectCondition predicate
            • thenobjectSchema rule
              View branch fields and rules
              • priceMajornullOptional in this branch
          • additionalPropertiesno value allowedSchema rule
        • oneOf 2 · removed = trueobjectSchema branch
          View branch fields and rules
          • serviceIdstring · uuidRequired in this branch
          • removedbooleanRequired in this branch

            Value: true

          • additionalPropertiesno value allowedSchema rule
    • nextCursorstring · uuidRequired in this branch
    • hasMorebooleanRequired in this branch
    • watermarkintegerRequired in this branch

      minimum: 0maximum: 9007199254740991

    • projectionEpochstringRequired in this branch

      pattern: "^[a-f0-9]{64}$"

    • contextobjectRequired in this branch
      View nested fields
      • catalogueVersionstringRequired in this branch

        Opaque hash of the exact complete current service order. Names/prices can change without changing this order version.

        pattern: "^scat:[0-9a-f]{64}$"

      • managedServiceCreationAvailablebooleanRequired in this branch
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • oneOf 2 · kind = "changes"objectSchema branch
    View branch fields and rules
    • kindstringRequired in this branch

      Value: "changes"

    • eventsarrayRequired in this branch

      maxItems: 100

      View nested fields
      • []objectArray item

        Metadata signal with current authorized hydration. A removal signal can have a newer non-null current value. Apply current, not type alone. Sequence is not the resource ETag; changedFields are invalidation categories, not historical values.

        View nested fields
        • eventIdstring · uuidRequired in this branch
        • sequenceintegerRequired in this branch

          minimum: 1maximum: 9007199254740991

        • typestringRequired in this branch

          Allowed values: ["upsert","removed"]

        • changedFieldsarrayRequired in this branch

          maxItems: 64minItems: 1uniqueItems: true

          View nested fields
          • []stringArray item

            Allowed values: ["*","serviceVersion","mode","name","description","priceMajor","currency","isActive","displayOrder","legacyDurationMinutes","bookingDurationMinutes","removalDurationMinutes","removalPriceMajor","publication","deleteBlockers"]

        • serviceIdstring · uuidRequired in this branch
        • sourcestringRequired in this branch

          Value: "crad_catalogue"

        • currentanyOf (object; allOf (unspecified) | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1object; allOf (unspecified)Schema branch

            All of these schema rules apply together.

            View branch fields and rules
            • serviceIdstring · uuidRequired in this branch
            • serviceVersionstringRequired in this branch

              Opaque physical service identity and material revision. Retain the returned value; it is not the serviceId.

              pattern: "^svc:[0-9a-f-]{36}:(0|[1-9][0-9]{0,18})$"

            • modestringRequired in this branch

              Allowed values: ["legacy","service_duration"]

            • nameobjectRequired in this branch

              Stored localized strings. When editing, include at least one nonblank he/ar/en name; managed validators normalize supported fallback keys. Omit an unedited legacy name.

              View nested fields
              • additionalPropertiesstringSchema rule
            • descriptionunspecifiedRequired in this branch

              Stored service description JSON; null and legacy JSON remain readable.

            • priceMajornumber | nullRequired in this branch

              Current catalogue price in major units. Nullable legacy price is retained; this is not a booking quote or minor units.

            • currencystring | nullRequired in this branch

              Stored currency label, including legacy/custom labels and ₪. No inferred ISO currency.

              maxLength: 10000

            • isActivebooleanRequired in this branch
            • displayOrderinteger | nullRequired in this branch

              minimum: -2147483648maximum: 2147483647

            • legacyDurationMinutesinteger | nullRequired in this branch

              Historical duration field, not edited by this contract.

              minimum: -2147483648maximum: 2147483647readOnly: true

            • bookingDurationMinutesinteger | nullRequired in this branch

              minimum: -2147483648maximum: 2147483647

            • removalDurationMinutesinteger | nullRequired in this branch

              minimum: -2147483648maximum: 2147483647

            • removalPriceMajornumber | nullRequired in this branch
            • publicationobjectRequired in this branch

              Current public selection and eligibility, not publication permission. Catalogue creation/activity never automatically selects a public service.

              View nested fields
              • selectedbooleanRequired in this branch
              • eligiblebooleanRequired in this branch
              • additionalPropertiesno value allowedSchema rule
            • deleteBlockersarrayRequired in this branch

              Advisory current blockers; delete rechecks under serialization. Deactivation remains available.

              maxItems: 2uniqueItems: true

              View nested fields
              • []stringArray item

                Allowed values: ["appointments_exist","provider_assignment_would_expand"]

            • priceRangeMajoranyOf (object | null)Optional in this branch

              Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue.

              At least one of these variants must match.

              View nested fields
              • anyOf 1objectSchema branch
                View branch fields and rules
                • minnumberRequired in this branch

                  minimum: 0maximum: 90071992547409.9

                • maxnumberRequired in this branch

                  minimum: 0maximum: 90071992547409.9

                • additionalPropertiesno value allowedSchema rule
              • anyOf 2nullSchema branch
            • allOf 1unspecifiedSchema branch
              View branch fields and rules
              • ifobjectSchema rule
                View branch fields and rules
                • priceRangeMajorobjectCondition predicate
              • thenobjectSchema rule
                View branch fields and rules
                • priceMajornullOptional in this branch
            • additionalPropertiesno value allowedSchema rule
          • anyOf 2nullSchema branch
        • additionalPropertiesno value allowedSchema rule
    • nextCursorstring · uuidRequired in this branch
    • hasMorebooleanRequired in this branch
    • watermarkintegerRequired in this branch

      minimum: 0maximum: 9007199254740991

    • projectionEpochstringRequired in this branch

      pattern: "^[a-f0-9]{64}$"

    • contextobjectRequired in this branch
      View nested fields
      • catalogueVersionstringRequired in this branch

        Opaque hash of the exact complete current service order. Names/prices can change without changing this order version.

        pattern: "^scat:[0-9a-f]{64}$"

      • managedServiceCreationAvailablebooleanRequired in this branch
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "snapshot"
        },
        "services": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "serviceId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "serviceVersion": {
                    "type": "string",
                    "pattern": "^svc:[0-9a-f-]{36}:(0|[1-9][0-9]{0,18})$",
                    "description": "Opaque physical service identity and material revision. Retain the returned value; it is not the serviceId."
                  },
                  "mode": {
                    "enum": [
                      "legacy",
                      "service_duration"
                    ]
                  },
                  "name": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Stored localized strings. When editing, include at least one nonblank he/ar/en name; managed validators normalize supported fallback keys. Omit an unedited legacy name."
                  },
                  "description": {
                    "description": "Stored service description JSON; null and legacy JSON remain readable."
                  },
                  "priceMajor": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Current catalogue price in major units. Nullable legacy price is retained; this is not a booking quote or minor units."
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 10000,
                    "description": "Stored currency label, including legacy/custom labels and ₪. No inferred ISO currency."
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "displayOrder": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": -2147483648,
                    "maximum": 2147483647
                  },
                  "legacyDurationMinutes": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": -2147483648,
                    "maximum": 2147483647,
                    "readOnly": true,
                    "description": "Historical duration field, not edited by this contract."
                  },
                  "bookingDurationMinutes": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": -2147483648,
                    "maximum": 2147483647
                  },
                  "removalDurationMinutes": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": -2147483648,
                    "maximum": 2147483647
                  },
                  "removalPriceMajor": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "publication": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "selected": {
                        "type": "boolean"
                      },
                      "eligible": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "selected",
                      "eligible"
                    ],
                    "description": "Current public selection and eligibility, not publication permission. Catalogue creation/activity never automatically selects a public service."
                  },
                  "deleteBlockers": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "appointments_exist",
                        "provider_assignment_would_expand"
                      ]
                    },
                    "maxItems": 2,
                    "uniqueItems": true,
                    "description": "Advisory current blockers; delete rechecks under serialization. Deactivation remains available."
                  },
                  "removed": {
                    "const": false
                  },
                  "priceRangeMajor": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "min",
                          "max"
                        ],
                        "properties": {
                          "min": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 90071992547409.9
                          },
                          "max": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 90071992547409.9
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue."
                  }
                },
                "required": [
                  "serviceId",
                  "serviceVersion",
                  "mode",
                  "name",
                  "description",
                  "priceMajor",
                  "currency",
                  "isActive",
                  "displayOrder",
                  "legacyDurationMinutes",
                  "bookingDurationMinutes",
                  "removalDurationMinutes",
                  "removalPriceMajor",
                  "publication",
                  "deleteBlockers",
                  "removed"
                ],
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "priceRangeMajor"
                      ],
                      "properties": {
                        "priceRangeMajor": {
                          "type": "object"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "priceMajor": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ]
              },
              {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "serviceId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "removed": {
                    "const": true
                  }
                },
                "required": [
                  "serviceId",
                  "removed"
                ]
              }
            ]
          },
          "maxItems": 100
        },
        "nextCursor": {
          "type": "string",
          "format": "uuid"
        },
        "hasMore": {
          "type": "boolean"
        },
        "watermark": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "projectionEpoch": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "catalogueVersion": {
              "type": "string",
              "pattern": "^scat:[0-9a-f]{64}$",
              "description": "Opaque hash of the exact complete current service order. Names/prices can change without changing this order version."
            },
            "managedServiceCreationAvailable": {
              "type": "boolean"
            }
          },
          "required": [
            "catalogueVersion",
            "managedServiceCreationAvailable"
          ]
        }
      },
      "required": [
        "kind",
        "services",
        "nextCursor",
        "hasMore",
        "watermark",
        "projectionEpoch",
        "context"
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "kind": {
          "const": "changes"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "eventId": {
                "type": "string",
                "format": "uuid"
              },
              "sequence": {
                "type": "integer",
                "minimum": 1,
                "maximum": 9007199254740991
              },
              "type": {
                "enum": [
                  "upsert",
                  "removed"
                ]
              },
              "changedFields": {
                "type": "array",
                "items": {
                  "enum": [
                    "*",
                    "serviceVersion",
                    "mode",
                    "name",
                    "description",
                    "priceMajor",
                    "currency",
                    "isActive",
                    "displayOrder",
                    "legacyDurationMinutes",
                    "bookingDurationMinutes",
                    "removalDurationMinutes",
                    "removalPriceMajor",
                    "publication",
                    "deleteBlockers"
                  ]
                },
                "maxItems": 64,
                "minItems": 1,
                "uniqueItems": true
              },
              "serviceId": {
                "type": "string",
                "format": "uuid"
              },
              "source": {
                "const": "crad_catalogue"
              },
              "current": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "serviceId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "serviceVersion": {
                        "type": "string",
                        "pattern": "^svc:[0-9a-f-]{36}:(0|[1-9][0-9]{0,18})$",
                        "description": "Opaque physical service identity and material revision. Retain the returned value; it is not the serviceId."
                      },
                      "mode": {
                        "enum": [
                          "legacy",
                          "service_duration"
                        ]
                      },
                      "name": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "description": "Stored localized strings. When editing, include at least one nonblank he/ar/en name; managed validators normalize supported fallback keys. Omit an unedited legacy name."
                      },
                      "description": {
                        "description": "Stored service description JSON; null and legacy JSON remain readable."
                      },
                      "priceMajor": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Current catalogue price in major units. Nullable legacy price is retained; this is not a booking quote or minor units."
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "maxLength": 10000,
                        "description": "Stored currency label, including legacy/custom labels and ₪. No inferred ISO currency."
                      },
                      "isActive": {
                        "type": "boolean"
                      },
                      "displayOrder": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": -2147483648,
                        "maximum": 2147483647
                      },
                      "legacyDurationMinutes": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": -2147483648,
                        "maximum": 2147483647,
                        "readOnly": true,
                        "description": "Historical duration field, not edited by this contract."
                      },
                      "bookingDurationMinutes": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": -2147483648,
                        "maximum": 2147483647
                      },
                      "removalDurationMinutes": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "minimum": -2147483648,
                        "maximum": 2147483647
                      },
                      "removalPriceMajor": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "publication": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "selected": {
                            "type": "boolean"
                          },
                          "eligible": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "selected",
                          "eligible"
                        ],
                        "description": "Current public selection and eligibility, not publication permission. Catalogue creation/activity never automatically selects a public service."
                      },
                      "deleteBlockers": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "appointments_exist",
                            "provider_assignment_would_expand"
                          ]
                        },
                        "maxItems": 2,
                        "uniqueItems": true,
                        "description": "Advisory current blockers; delete rechecks under serialization. Deactivation remains available."
                      },
                      "priceRangeMajor": {
                        "anyOf": [
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "min",
                              "max"
                            ],
                            "properties": {
                              "min": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 90071992547409.9
                              },
                              "max": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 90071992547409.9
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue."
                      }
                    },
                    "required": [
                      "serviceId",
                      "serviceVersion",
                      "mode",
                      "name",
                      "description",
                      "priceMajor",
                      "currency",
                      "isActive",
                      "displayOrder",
                      "legacyDurationMinutes",
                      "bookingDurationMinutes",
                      "removalDurationMinutes",
                      "removalPriceMajor",
                      "publication",
                      "deleteBlockers"
                    ],
                    "allOf": [
                      {
                        "if": {
                          "required": [
                            "priceRangeMajor"
                          ],
                          "properties": {
                            "priceRangeMajor": {
                              "type": "object"
                            }
                          }
                        },
                        "then": {
                          "properties": {
                            "priceMajor": {
                              "type": "null"
                            }
                          }
                        }
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "eventId",
              "sequence",
              "type",
              "changedFields",
              "serviceId",
              "source",
              "current"
            ],
            "description": "Metadata signal with current authorized hydration. A removal signal can have a newer non-null current value. Apply current, not type alone. Sequence is not the resource ETag; changedFields are invalidation categories, not historical values."
          },
          "maxItems": 100
        },
        "nextCursor": {
          "type": "string",
          "format": "uuid"
        },
        "hasMore": {
          "type": "boolean"
        },
        "watermark": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "projectionEpoch": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "context": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "catalogueVersion": {
              "type": "string",
              "pattern": "^scat:[0-9a-f]{64}$",
              "description": "Opaque hash of the exact complete current service order. Names/prices can change without changing this order version."
            },
            "managedServiceCreationAvailable": {
              "type": "boolean"
            }
          },
          "required": [
            "catalogueVersion",
            "managedServiceCreationAvailable"
          ]
        }
      },
      "required": [
        "kind",
        "events",
        "nextCursor",
        "hasMore",
        "watermark",
        "projectionEpoch",
        "context"
      ]
    }
  ],
  "description": "Current-state page. Atomically apply data and nextCursor even when events is empty. Do not combine the two independent feeds as a historical snapshot; fresh quote/availability remains required before booking."
}

Errors and recovery

Error responses declared in the contract (8)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Missing, invalid or expired server Management credential.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
403 · Current tenant, integration, scope or resource access refused. Browser Origin is refused.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
405 · Unsupported method.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
409 · Authority projection changed, incomplete cursor, stale checkpoint or conflicting operation. Rebootstrap when required; never discard the original uncertain ACK.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
410 · Cursor, membership or retained change history expired; restart bootstrap or a fresh customer query.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Malformed request, cursor, query or precondition.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Request or snapshot limit reached; honor Retry-After.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Temporary failure. Read operations can retry; retain an uncertain checkpoint’s original operation UUID and exact cursor.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}