docs/V1ItemsApi.md in square_connect-2.2.0.110 vs docs/V1ItemsApi.md in square_connect-2.2.1.145

- old
+ new

@@ -1349,11 +1349,12 @@ api_instance = SquareConnect::V1ItemsApi.new location_id = "location_id_example" # String | The ID of the item's associated location. opts = { - limit: 56 # Integer | The maximum number of inventory entries to return in a single response. This value cannot exceed 1000. + limit: 56, # Integer | The maximum number of inventory entries to return in a single response. This value cannot exceed 1000. + batch_token: "batch_token_example" # String | A pagination cursor to retrieve the next set of results for your original query to the endpoint. } begin #Provides inventory information for all of a merchant's inventory-enabled item variations. result = api_instance.list_inventory(location_id, opts) @@ -1367,10 +1368,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **location_id** | **String**| The ID of the item's associated location. | **limit** | **Integer**| The maximum number of inventory entries to return in a single response. This value cannot exceed 1000. | [optional] + **batch_token** | **String**| A pagination cursor to retrieve the next set of results for your original query to the endpoint. | [optional] ### Return type [**Array<V1InventoryEntry>**](V1InventoryEntry.md) @@ -1384,11 +1386,11 @@ - **Accept**: application/json # **list_items** -> Array<V1Item> list_items(location_id) +> Array<V1Item> list_items(location_id, opts) Provides summary information for all of a location's items. Provides summary information for all of a location's items. @@ -1404,14 +1406,17 @@ api_instance = SquareConnect::V1ItemsApi.new location_id = "location_id_example" # String | The ID of the location to list items for. +opts = { + batch_token: "batch_token_example" # String | A pagination cursor to retrieve the next set of results for your original query to the endpoint. +} begin #Provides summary information for all of a location's items. - result = api_instance.list_items(location_id) + result = api_instance.list_items(location_id, opts) p result rescue SquareConnect::ApiError => e puts "Exception when calling V1ItemsApi->list_items: #{e}" end ``` @@ -1419,9 +1424,10 @@ ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **location_id** | **String**| The ID of the location to list items for. | + **batch_token** | **String**| A pagination cursor to retrieve the next set of results for your original query to the endpoint. | [optional] ### Return type [**Array<V1Item>**](V1Item.md)