Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.36 KB

update-booking-custom-attribute-definition-response.md

File metadata and controls

38 lines (29 loc) · 1.36 KB

Update Booking Custom Attribute Definition Response

Represents an UpdateBookingCustomAttributeDefinition response. Either custom_attribute_definition or errors is present in the response.

Structure

UpdateBookingCustomAttributeDefinitionResponse

Fields

Name Type Tags Description Getter
CustomAttributeDefinition CustomAttributeDefinition Optional Represents a definition for custom attribute values. A custom attribute definition
specifies the key, visibility, schema, and other properties for a custom attribute.
CustomAttributeDefinition getCustomAttributeDefinition()
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "custom_attribute_definition": {
    "created_at": "2022-11-16T15:27:30Z",
    "description": "Update the description as desired.",
    "key": "favoriteShampoo",
    "name": "Favorite shampoo",
    "schema": {
      "key1": "val1",
      "key2": "val2"
    },
    "updated_at": "2022-11-16T15:39:38Z",
    "version": 2,
    "visibility": "VISIBILITY_READ_ONLY"
  },
  "errors": []
}