Skip to main content

updateBookingMetadata

Adds or updates metadata using either key and value together, or a non-empty metadata array. Do not mix the two forms. Explicit null arguments, incomplete pairs and duplicate keys (after sanitisation) are rejected. Keys may contain at most 40 characters and values at most 500 characters. The resulting resource may contain at most 50 metadata keys; overwriting existing keys does not consume additional capacity. Unspecified keys are preserved. The entire batch succeeds or fails together.

updateBookingMetadata(
bookingId: ID!
key: String
value: String
metadata: [MetadataEntryInput!]
): BookingResponsePayload

Arguments​

updateBookingMetadata.bookingId ● ID! non-null scalar​

updateBookingMetadata.key ● String scalar​

updateBookingMetadata.value ● String scalar​

updateBookingMetadata.metadata ● [MetadataEntryInput!] list input​

Type​

BookingResponsePayload object​

The requested/resulting booking or the error associated with the operation.