You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`limit`|`Integer`| Query, Optional | The maximum number of results per page to return in a paged response. |
46
48
|`cursor`|`String`| Query, Optional | The pagination cursor from the preceding response to return the next page of the results. Do not set this when retrieving the first page of the results. |
49
+
|`customerId`|`String`| Query, Optional | The [customer](entity:Customer) for whom to retrieve bookings. If this is not set, bookings for all customers are retrieved. |
47
50
|`teamMemberId`|`String`| Query, Optional | The team member for whom to retrieve bookings. If this is not set, bookings of all members are retrieved. |
48
51
|`locationId`|`String`| Query, Optional | The location for which to retrieve bookings. If this is not set, all locations' bookings are retrieved. |
49
52
|`startAtMin`|`String`| Query, Optional | The RFC 3339 timestamp specifying the earliest of the start time. If this is not set, the current time is used. |
|`body`|[`BulkRetrieveBookingsRequest`](../../doc/models/bulk-retrieve-bookings-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`type`|`String`| Query, Optional | If a [type](entity:GiftCardType) is provided, the endpoint returns gift cards of the specified type.<br>Otherwise, the endpoint returns gift cards of all types. |
41
41
|`state`|`String`| Query, Optional | If a [state](entity:GiftCardStatus) is provided, the endpoint returns the gift cards in the specified state.<br>Otherwise, the endpoint returns the gift cards of all states. |
42
-
|`limit`|`Integer`| Query, Optional | If a limit is provided, the endpoint returns only the specified number of results per page.<br>The maximum value is 50. The default value is 30.<br>For more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
42
+
|`limit`|`Integer`| Query, Optional | If a limit is provided, the endpoint returns only the specified number of results per page.<br>The maximum value is 200. The default value is 30.<br>For more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
43
43
|`cursor`|`String`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for the original query.<br>If a cursor is not provided, the endpoint returns the first page of the results.<br>For more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
44
44
|`customerId`|`String`| Query, Optional | If a customer ID is provided, the endpoint returns only the gift cards linked to the specified customer. |
Copy file name to clipboardExpand all lines: doc/client.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:
5
5
6
6
| Parameter | Type | Description |
7
7
| --- | --- | --- |
8
-
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2023-07-20"`|
8
+
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2023-08-16"`|
9
9
|`customUrl`|`String`| Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `"https://connect.squareup.com"`|
10
10
|`environment`|`string`| The API environment. <br> **Default: `production`**|
Copy file name to clipboardExpand all lines: doc/models/booking-custom-attribute-delete-request.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ request. An individual request contains a booking ID, the custom attribute to de
12
12
13
13
| Name | Type | Tags | Description | Getter |
14
14
| --- | --- | --- | --- | --- |
15
-
|`BookingId`|`String`| Required | The ID of the target [booking](entity:Booking).<br>**Constraints**: *Minimum Length*: `1`| String getBookingId() |
15
+
|`BookingId`|`String`| Required | The ID of the target [booking](entity:Booking).<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `36`| String getBookingId() |
16
16
|`Key`|`String`| Required | The key of the custom attribute to delete. This key must match the `key` of a<br>custom attribute definition in the Square seller account. If the requesting application is not<br>the definition owner, you must use the qualified key.<br>**Constraints**: *Minimum Length*: `1`| String getKey() |
Copy file name to clipboardExpand all lines: doc/models/booking-custom-attribute-upsert-request.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ and an optional idempotency key.
13
13
14
14
| Name | Type | Tags | Description | Getter |
15
15
| --- | --- | --- | --- | --- |
16
-
|`BookingId`|`String`| Required | The ID of the target [booking](entity:Booking).<br>**Constraints**: *Minimum Length*: `1`| String getBookingId() |
16
+
|`BookingId`|`String`| Required | The ID of the target [booking](entity:Booking).<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `36`| String getBookingId() |
17
17
|`CustomAttribute`|[`CustomAttribute`](../../doc/models/custom-attribute.md)| Required | A custom attribute value. Each custom attribute value has a corresponding<br>`CustomAttributeDefinition` object. | CustomAttribute getCustomAttribute() |
18
18
|`IdempotencyKey`|`String`| Optional | A unique identifier for this individual upsert request, used to ensure idempotency.<br>For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency).<br>**Constraints**: *Maximum Length*: `45`| String getIdempotencyKey() |
|`BookingIds`|`List<String>`| Required | A non-empty list of [Booking](entity:Booking) IDs specifying bookings to retrieve. | List<String> getBookingIds() |
|`Bookings`|[`Map<String, RetrieveBookingResponse>`](../../doc/models/retrieve-booking-response.md)| Optional | Requested bookings returned as a map containing `booking_id` as the key and `RetrieveBookingResponse` as the value. | Map<String, RetrieveBookingResponse> getBookings() |
15
+
|`Errors`|[`List<Error>`](../../doc/models/error.md)| Optional | Errors that occurred during the request. | List<Error> getErrors() |
0 commit comments