Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.25 KB

upsert-booking-custom-attribute-request.md

File metadata and controls

43 lines (34 loc) · 1.25 KB

Upsert Booking Custom Attribute Request

Represents an UpsertBookingCustomAttribute request.

Structure

Upsert Booking Custom Attribute Request

Fields

Name Type Tags Description
custom_attribute Custom Attribute Hash Required A custom attribute value. Each custom attribute value has a corresponding
CustomAttributeDefinition object.
idempotency_key String Optional A unique identifier for this request, used to ensure idempotency. For more information,
see Idempotency.
Constraints: Maximum Length: 45

Example (as JSON)

{
  "custom_attribute": {
    "key": "key2",
    "value": {
      "key1": "val1",
      "key2": "val2"
    },
    "version": 102,
    "visibility": "VISIBILITY_READ_ONLY",
    "definition": {
      "key": "key0",
      "schema": {
        "key1": "val1",
        "key2": "val2"
      },
      "name": "name0",
      "description": "description0",
      "visibility": "VISIBILITY_HIDDEN"
    }
  },
  "idempotency_key": "idempotency_key4"
}