oont-contents/plugins/woocommerce-square/vendor/square/square/doc/models/update-booking-request.md
2025-02-08 15:10:23 +01:00

967 B

Update Booking Request

Structure

UpdateBookingRequest

Fields

Name Type Tags Description Getter Setter
idempotencyKey ?string Optional A unique key to make this request an idempotent operation.
Constraints: Maximum Length: 255
getIdempotencyKey(): ?string setIdempotencyKey(?string idempotencyKey): void
booking Booking Required Represents a booking as a time-bound service contract for a seller's staff member to provide a specified service
at a given location to a requesting customer in one or more appointment segments.
getBooking(): Booking setBooking(Booking booking): void

Example (as JSON)

{
  "idempotency_key": "idempotency_key4",
  "booking": {
    "id": "id4",
    "version": 156,
    "status": "CANCELLED_BY_SELLER",
    "created_at": "created_at2",
    "updated_at": "updated_at0"
  }
}