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

Update a customer reminder preference

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

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

PATCH/v1/management/customers/{profileId}/reminder-preference

Behavior

Echo expectedRecipient and current version. Enabling requires acknowledgedReenable:true after the operator confirms that this customer explicitly asked to receive this business’s reminders again. A changed contact phone refuses a stale write. Matching legacy reminder opt-outs may clear; global STOP and other delivery restrictions do not.

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

reminder-recipients:readreminder-recipients:write

Explicit whole-business reminder-preference authority for an existing business contact. This is independent of marketing and global WhatsApp consent.

Request

Idempotency and recovery

Persist the original UUID, version and body. After uncertainty use the pure operation GET. A deliberate retry keeps the exact request; not_found does not cancel a still-running request.

  • profileIdpath · stringRequired
    Format and constraints
    profileId schema
    {
      "type": "string",
      "format": "uuid"
    }
  • If-Matchheader · stringRequired

    Quoted contact/phone/preference version from GET. Also retain expectedRecipient in the body.

    Format and constraints
    If-Match schema
    {
      "type": "string",
      "pattern": "^\"rr[a-f0-9]{64}\"$"
    }
  • Idempotency-Keyheader · stringRequired

    Persist a UUID and exact request before sending. Uncertain recovery and explicit exact retry retain this identity.

    Format and constraints
    Idempotency-Key schema
    {
      "type": "string",
      "format": "uuid"
    }

Request body · required

application/json · BusinessReminderRecipientChanges

All of these schema rules apply together.

  • expectedRecipientstringRequired

    pattern: "^[0-9]{5,20}$"

  • allowedbooleanRequired
  • acknowledgedReenablebooleanRequired
  • externalActorRefanyOf (string | null)Optional

    At least one of these variants must match.

    View nested fields
    • anyOf 1stringSchema branch

      Optional nonblank external audit reference, up to 200 Unicode codepoints. Preserved spacing; it does not grant identity or authority.

      maxLength: 200minLength: 1pattern: "^(?=[\\s\\S]*\\S)[^\\u0000-\\u001f\\u007f]+$"

    • anyOf 2nullSchema branch
  • allOf 1unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • allowedbooleanCondition predicate

        Value: true

    • thenobjectSchema rule
      View branch fields and rules
      • acknowledgedReenablebooleanOptional in this branch

        Value: true

  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "expectedRecipient": {
      "type": "string",
      "pattern": "^[0-9]{5,20}$"
    },
    "allowed": {
      "type": "boolean"
    },
    "acknowledgedReenable": {
      "type": "boolean"
    },
    "externalActorRef": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "pattern": "^(?=[\\s\\S]*\\S)[^\\u0000-\\u001f\\u007f]+$",
          "description": "Optional nonblank external audit reference, up to 200 Unicode codepoints. Preserved spacing; it does not grant identity or authority."
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "expectedRecipient",
    "allowed",
    "acknowledgedReenable"
  ],
  "allOf": [
    {
      "if": {
        "properties": {
          "allowed": {
            "const": true
          }
        }
      },
      "then": {
        "properties": {
          "acknowledgedReenable": {
            "const": true
          }
        }
      }
    }
  ]
}

Successful responses

200 · BusinessReminderRecipientResult

Successful read or accepted command. Acceptance is not message delivery.

ETag · Quoted current recipient version. Omitted when current state is unavailable or an operation is not found.
ETag schema
{
  "type": "string",
  "pattern": "^\"rr[a-f0-9]{64}\"$"
}

application/json · BusinessReminderRecipientResult

All of these schema rules apply together.

  • receiptobjectRequired
    View nested fields
    • operationIdstring · uuidRequired
    • requestobject; allOf (unspecified)Required

      All of these schema rules apply together.

      View nested fields
      • businessCustomerIdstring · uuidRequired
      • expectedVersionstringRequired

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

      • expectedRecipientstringRequired

        pattern: "^[0-9]{5,20}$"

      • allowedbooleanRequired
      • acknowledgedReenablebooleanRequired
      • externalActorRefanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          Optional nonblank external audit reference, up to 200 Unicode codepoints. Preserved spacing; it does not grant identity or authority.

          maxLength: 200minLength: 1pattern: "^(?=[\\s\\S]*\\S)[^\\u0000-\\u001f\\u007f]+$"

        • anyOf 2nullSchema branch
      • allOf 1unspecifiedSchema branch
        View branch fields and rules
        • ifobjectSchema rule
          View branch fields and rules
          • allowedbooleanCondition predicate

            Value: true

        • thenobjectSchema rule
          View branch fields and rules
          • acknowledgedReenablebooleanOptional in this branch

            Value: true

      • additionalPropertiesno value allowedSchema rule
    • stateobjectRequired
      View nested fields
      • operationIdstring · uuidRequired
      • tenantIdstring · uuidRequired
      • kindstringRequired

        Value: "recipient"

      • recipientstringRequired

        pattern: "^[0-9]{5,20}$"

      • allowedbooleanRequired
      • revisionintegerRequired

        minimum: 0maximum: 9007199254740991

      • sourcestringRequired

        Allowed values: ["default","owner","legacy_profile","integration"]

      • updatedAtanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · date-timeSchema branch
        • anyOf 2nullSchema branch
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • currentanyOf (object | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1objectSchema branch

      Preference is shared by the same normalized phone within this business. The version also binds this contact and its current phone; a changed phone refuses a stale write.

      View branch fields and rules
      • businessCustomerIdstring · uuidRequired in this branch
      • recipientstringRequired in this branch

        pattern: "^[0-9]{5,20}$"

      • versionstringRequired in this branch

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

      • allowedbooleanRequired in this branch
      • revisionintegerRequired in this branch

        minimum: 0maximum: 9007199254740991

      • sourcestringRequired in this branch

        Allowed values: ["default","owner","legacy_profile","integration"]

      • updatedAtanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · date-timeSchema branch
        • anyOf 2nullSchema branch
      • engineModestringRequired in this branch

        Allowed values: ["legacy","paused","v2"]

      • additionalPropertiesno value allowedSchema rule
    • anyOf 2nullSchema branch
  • currentUnavailableReasonanyOf (string | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1stringSchema branch

      Allowed values: ["customer_not_found","recipient_changed"]

    • anyOf 2nullSchema branch
  • replayedbooleanRequired
  • allOf 1oneOf (object | object)Schema branch

    Exactly one of these variants must match.

    View branch fields and rules
    • oneOf 1objectSchema branch
      View branch fields and rules
      • currentnullOptional in this branch
      • currentUnavailableReasonstringOptional in this branch

        Allowed values: ["customer_not_found","recipient_changed"]

    • oneOf 2objectSchema branch
      View branch fields and rules
      • currentobjectOptional in this branch

        Preference is shared by the same normalized phone within this business. The version also binds this contact and its current phone; a changed phone refuses a stale write.

        View nested fields
        • businessCustomerIdstring · uuidRequired in this branch
        • recipientstringRequired in this branch

          pattern: "^[0-9]{5,20}$"

        • versionstringRequired in this branch

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

        • allowedbooleanRequired in this branch
        • revisionintegerRequired in this branch

          minimum: 0maximum: 9007199254740991

        • sourcestringRequired in this branch

          Allowed values: ["default","owner","legacy_profile","integration"]

        • updatedAtanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · date-timeSchema branch
          • anyOf 2nullSchema branch
        • engineModestringRequired in this branch

          Allowed values: ["legacy","paused","v2"]

        • additionalPropertiesno value allowedSchema rule
      • currentUnavailableReasonnullOptional in this branch
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "receipt": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "operationId": {
          "type": "string",
          "format": "uuid"
        },
        "request": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "businessCustomerId": {
              "type": "string",
              "format": "uuid"
            },
            "expectedVersion": {
              "type": "string",
              "pattern": "^rr[a-f0-9]{64}$"
            },
            "expectedRecipient": {
              "type": "string",
              "pattern": "^[0-9]{5,20}$"
            },
            "allowed": {
              "type": "boolean"
            },
            "acknowledgedReenable": {
              "type": "boolean"
            },
            "externalActorRef": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 1,
                  "pattern": "^(?=[\\s\\S]*\\S)[^\\u0000-\\u001f\\u007f]+$",
                  "description": "Optional nonblank external audit reference, up to 200 Unicode codepoints. Preserved spacing; it does not grant identity or authority."
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "businessCustomerId",
            "expectedVersion",
            "expectedRecipient",
            "allowed",
            "acknowledgedReenable",
            "externalActorRef"
          ],
          "allOf": [
            {
              "if": {
                "properties": {
                  "allowed": {
                    "const": true
                  }
                }
              },
              "then": {
                "properties": {
                  "acknowledgedReenable": {
                    "const": true
                  }
                }
              }
            }
          ]
        },
        "state": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "tenantId": {
              "type": "string",
              "format": "uuid"
            },
            "kind": {
              "const": "recipient"
            },
            "recipient": {
              "type": "string",
              "pattern": "^[0-9]{5,20}$"
            },
            "allowed": {
              "type": "boolean"
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "source": {
              "type": "string",
              "enum": [
                "default",
                "owner",
                "legacy_profile",
                "integration"
              ]
            },
            "updatedAt": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "operationId",
            "tenantId",
            "kind",
            "recipient",
            "allowed",
            "revision",
            "source",
            "updatedAt"
          ]
        }
      },
      "required": [
        "operationId",
        "request",
        "state"
      ]
    },
    "current": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "businessCustomerId": {
              "type": "string",
              "format": "uuid"
            },
            "recipient": {
              "type": "string",
              "pattern": "^[0-9]{5,20}$"
            },
            "version": {
              "type": "string",
              "pattern": "^rr[a-f0-9]{64}$"
            },
            "allowed": {
              "type": "boolean"
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "source": {
              "type": "string",
              "enum": [
                "default",
                "owner",
                "legacy_profile",
                "integration"
              ]
            },
            "updatedAt": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ]
            },
            "engineMode": {
              "type": "string",
              "enum": [
                "legacy",
                "paused",
                "v2"
              ]
            }
          },
          "required": [
            "businessCustomerId",
            "recipient",
            "version",
            "allowed",
            "revision",
            "source",
            "updatedAt",
            "engineMode"
          ],
          "description": "Preference is shared by the same normalized phone within this business. The version also binds this contact and its current phone; a changed phone refuses a stale write."
        },
        {
          "type": "null"
        }
      ]
    },
    "currentUnavailableReason": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "customer_not_found",
            "recipient_changed"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "receipt",
    "current",
    "currentUnavailableReason",
    "replayed"
  ],
  "allOf": [
    {
      "oneOf": [
        {
          "properties": {
            "current": {
              "type": "null"
            },
            "currentUnavailableReason": {
              "type": "string",
              "enum": [
                "customer_not_found",
                "recipient_changed"
              ]
            }
          }
        },
        {
          "properties": {
            "current": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "businessCustomerId": {
                  "type": "string",
                  "format": "uuid"
                },
                "recipient": {
                  "type": "string",
                  "pattern": "^[0-9]{5,20}$"
                },
                "version": {
                  "type": "string",
                  "pattern": "^rr[a-f0-9]{64}$"
                },
                "allowed": {
                  "type": "boolean"
                },
                "revision": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "default",
                    "owner",
                    "legacy_profile",
                    "integration"
                  ]
                },
                "updatedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "engineMode": {
                  "type": "string",
                  "enum": [
                    "legacy",
                    "paused",
                    "v2"
                  ]
                }
              },
              "required": [
                "businessCustomerId",
                "recipient",
                "version",
                "allowed",
                "revision",
                "source",
                "updatedAt",
                "engineMode"
              ],
              "description": "Preference is shared by the same normalized phone within this business. The version also binds this contact and its current phone; a changed phone refuses a stale write."
            },
            "currentUnavailableReason": {
              "type": "null"
            }
          }
        }
      ]
    }
  ]
}

Errors and recovery

Input validation

  • 413REQUEST_TOO_LARGE

    JSON exceeds 8,192 bytes.

  • 415JSON_REQUIRED

    Send Content-Type: application/json.

Error responses declared in the contract (12)

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

401 · Missing or invalid backend 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 key, integration, operation scope or resource access denied. 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"
  ]
}
404 · The contact or physical appointment is unavailable under the current authority. Pure missing-operation lookup returns 200 with status:not_found.

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 · Method not allowed.

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 · OPERATION_CONFLICT: recover original UUID; never change its request. ROLLOUT_NOT_READY: current engine does not accept a new change. Retain unresolved prior operations.

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"
  ]
}
412 · POLICY_CHANGED, CAPABILITY_CHANGED, PREVIEW_CHANGED or RECIPIENT_CHANGED. Resolve uncertainty first; a new deliberate action needs current state and review.

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"
  ]
}
413 · JSON exceeds 8,192 bytes.

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"
  ]
}
415 · Send Content-Type: application/json.

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 · Invalid body, query, identifier or precondition. Enabling preferences requires REENABLE_ACKNOWLEDGEMENT_REQUIRED to be satisfied.

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"
  ]
}
428 · Required If-Match or command Idempotency-Key is missing.

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 · Machine quota reached; respect 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 · Persistence or dependencies unavailable. Recover uncertain writes before deciding to retry.

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"
  ]
}