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
Copy file name to clipboardExpand all lines: doc/apis/cards.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
@@ -39,7 +39,7 @@ function listCards(
39
39
|`customerId`|`?string`| Query, Optional | Limit results to cards associated with the customer supplied.<br>By default, all cards owned by the merchant are returned. |
40
40
|`includeDisabled`|`?bool`| Query, Optional | Includes disabled cards.<br>By default, all enabled cards owned by the merchant are returned.<br>**Default**: `false`|
41
41
|`referenceId`|`?string`| Query, Optional | Limit results to cards associated with the reference_id supplied. |
42
-
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | Sorts the returned list by when the card was created with the specified order.<br>This field defaults to ASC. |
42
+
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | Sorts the returned list by when the card was created with the specified order.<br>This field defaults to ASC. |
Copy file name to clipboardExpand all lines: doc/apis/cash-drawers.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
@@ -36,7 +36,7 @@ function listCashDrawerShifts(
36
36
| Parameter | Type | Tags | Description |
37
37
| --- | --- | --- | --- |
38
38
|`locationId`|`string`| Query, Required | The ID of the location to query for a list of cash drawer shifts. |
39
-
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | The order in which cash drawer shifts are listed in the response,<br>based on their opened_at field. Default value: ASC |
39
+
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | The order in which cash drawer shifts are listed in the response,<br>based on their opened_at field. Default value: ASC |
40
40
|`beginTime`|`?string`| Query, Optional | The inclusive start time of the query on opened_at, in ISO 8601 format. |
41
41
|`endTime`|`?string`| Query, Optional | The exclusive end date of the query on opened_at, in ISO 8601 format. |
42
42
|`limit`|`?int`| Query, Optional | Number of cash drawer shift events in a page of results (200 by<br>default, 1000 max). |
Copy file name to clipboardExpand all lines: doc/apis/customers.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ function listCustomers(
45
45
| --- | --- | --- | --- |
46
46
|`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 your original query.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
47
47
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single page. This limit is advisory. The response might contain more or fewer results.<br>If the specified limit is less than 1 or greater than 100, Square returns a `400 VALUE_TOO_LOW` or `400 VALUE_TOO_HIGH` error. The default value is 100.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
48
-
|`sortField`|[`?string(CustomerSortField)`](../../doc/models/customer-sort-field.md)| Query, Optional | Indicates how customers should be sorted.<br><br>The default value is `DEFAULT`. |
49
-
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | Indicates whether customers should be sorted in ascending (`ASC`) or<br>descending (`DESC`) order.<br><br>The default value is `ASC`. |
48
+
|`sortField`|[`?string(CustomerSortField)`](../../doc/models/customer-sort-field.md)| Query, Optional | Indicates how customers should be sorted.<br><br>The default value is `DEFAULT`. |
49
+
|`sortOrder`|[`?string(SortOrder)`](../../doc/models/sort-order.md)| Query, Optional | Indicates whether customers should be sorted in ascending (`ASC`) or<br>descending (`DESC`) order.<br><br>The default value is `ASC`. |
Copy file name to clipboardExpand all lines: doc/apis/devices.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ function listDeviceCodes(
34
34
| --- | --- | --- | --- |
35
35
|`cursor`|`?string`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this to retrieve the next set of results for your original query.<br><br>See [Paginating results](https://developer.squareup.com/docs/working-with-apis/pagination) for more information. |
36
36
|`locationId`|`?string`| Query, Optional | If specified, only returns DeviceCodes of the specified location.<br>Returns DeviceCodes of all locations if empty. |
37
-
|`productType`|[`?string(ProductType)`](../../doc/models/product-type.md)| Query, Optional | If specified, only returns DeviceCodes targeting the specified product type.<br>Returns DeviceCodes of all product types if empty. |
38
-
|`status`|[`?string(DeviceCodeStatus)`](../../doc/models/device-code-status.md)| Query, Optional | If specified, returns DeviceCodes with the specified statuses.<br>Returns DeviceCodes of status `PAIRED` and `UNPAIRED` if empty. |
37
+
|`productType`|[`?string(ProductType)`](../../doc/models/product-type.md)| Query, Optional | If specified, only returns DeviceCodes targeting the specified product type.<br>Returns DeviceCodes of all product types if empty. |
38
+
|`status`|[`?string(DeviceCodeStatus)`](../../doc/models/device-code-status.md)| Query, Optional | If specified, returns DeviceCodes with the specified statuses.<br>Returns DeviceCodes of status `PAIRED` and `UNPAIRED` if empty. |
|`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>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
37
-
|`states`|[`?string(DisputeState)`](../../doc/models/dispute-state.md)| Query, Optional | The dispute states used to filter the result. If not specified, the endpoint returns all disputes. |
37
+
|`states`|[`?string(DisputeState)`](../../doc/models/dispute-state.md)| Query, Optional | The dispute states used to filter the result. If not specified, the endpoint returns all disputes. |
38
38
|`locationId`|`?string`| Query, Optional | The ID of the location for which to return a list of disputes.<br>If not specified, the endpoint returns disputes associated with all locations. |
Copy file name to clipboardExpand all lines: doc/apis/employees.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
@@ -34,7 +34,7 @@ function listEmployees(
34
34
| Parameter | Type | Tags | Description |
35
35
| --- | --- | --- | --- |
36
36
|`locationId`|`?string`| Query, Optional | - |
37
-
|`status`|[`?string(EmployeeStatus)`](../../doc/models/employee-status.md)| Query, Optional | Specifies the EmployeeStatus to filter the employee by. |
37
+
|`status`|[`?string(EmployeeStatus)`](../../doc/models/employee-status.md)| Query, Optional | Specifies the EmployeeStatus to filter the employee by. |
38
38
|`limit`|`?int`| Query, Optional | The number of employees to be returned on each page. |
39
39
|`cursor`|`?string`| Query, Optional | The token required to retrieve the specified page of results. |
Copy file name to clipboardExpand all lines: doc/apis/location-custom-attributes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ function listLocationCustomAttributeDefinitions(
42
42
43
43
| Parameter | Type | Tags | Description |
44
44
| --- | --- | --- | --- |
45
-
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
45
+
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
46
46
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
47
47
|`cursor`|`?string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
48
48
@@ -379,7 +379,7 @@ function listLocationCustomAttributes(
379
379
| Parameter | Type | Tags | Description |
380
380
| --- | --- | --- | --- |
381
381
|`locationId`|`string`| Template, Required | The ID of the target [location](entity:Location). |
382
-
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
382
+
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
383
383
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
384
384
|`cursor`|`?string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request. For more<br>information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
385
385
|`withDefinitions`|`?bool`| Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each<br>custom attribute. Set this parameter to `true` to get the name and description of each custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false`|
Copy file name to clipboardExpand all lines: doc/apis/loyalty.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
@@ -494,7 +494,7 @@ function listLoyaltyPromotions(
494
494
| Parameter | Type | Tags | Description |
495
495
| --- | --- | --- | --- |
496
496
|`programId`|`string`| Template, Required | The ID of the base [loyalty program](entity:LoyaltyProgram). To get the program ID,<br>call [RetrieveLoyaltyProgram](api-endpoint:Loyalty-RetrieveLoyaltyProgram) using the `main` keyword. |
497
-
|`status`|[`?string(LoyaltyPromotionStatus)`](../../doc/models/loyalty-promotion-status.md)| Query, Optional | The status to filter the results by. If a status is provided, only loyalty promotions<br>with the specified status are returned. Otherwise, all loyalty promotions associated with<br>the loyalty program are returned. |
497
+
|`status`|[`?string(LoyaltyPromotionStatus)`](../../doc/models/loyalty-promotion-status.md)| Query, Optional | The status to filter the results by. If a status is provided, only loyalty promotions<br>with the specified status are returned. Otherwise, all loyalty promotions associated with<br>the loyalty program are returned. |
498
498
|`cursor`|`?string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
499
499
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single paged response.<br>The minimum value is 1 and the maximum value is 30. The default value is 30.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
Copy file name to clipboardExpand all lines: doc/apis/merchant-custom-attributes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ function listMerchantCustomAttributeDefinitions(
42
42
43
43
| Parameter | Type | Tags | Description |
44
44
| --- | --- | --- | --- |
45
-
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
45
+
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
46
46
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
47
47
|`cursor`|`?string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
48
48
@@ -378,7 +378,7 @@ function listMerchantCustomAttributes(
378
378
| Parameter | Type | Tags | Description |
379
379
| --- | --- | --- | --- |
380
380
|`merchantId`|`string`| Template, Required | The ID of the target [merchant](entity:Merchant). |
381
-
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
381
+
|`visibilityFilter`|[`?string(VisibilityFilter)`](../../doc/models/visibility-filter.md)| Query, Optional | Filters the `CustomAttributeDefinition` results by their `visibility` values. |
382
382
|`limit`|`?int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
383
383
|`cursor`|`?string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request. For more<br>information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
384
384
|`withDefinitions`|`?bool`| Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each<br>custom attribute. Set this parameter to `true` to get the name and description of each custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `false`|
0 commit comments