/
model_batch_retrieve_inventory_counts_request.go
23 lines (22 loc) · 1.46 KB
/
model_batch_retrieve_inventory_counts_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* API version: 2.0
* Contact: developers@squareup.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package square
type BatchRetrieveInventoryCountsRequest struct {
// The filter to return results by `CatalogObject` ID. The filter is applicable only when set. The default is null.
CatalogObjectIds []string `json:"catalog_object_ids,omitempty"`
// The filter to return results by `Location` ID. This filter is applicable only when set. The default is null.
LocationIds []string `json:"location_ids,omitempty"`
// The filter to return results with their `calculated_at` value after the given time as specified in an RFC 3339 timestamp. The default value is the UNIX epoch of (`1970-01-01T00:00:00Z`).
UpdatedAfter string `json:"updated_after,omitempty"`
// A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See the [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide for more information.
Cursor string `json:"cursor,omitempty"`
// The filter to return results by `InventoryState`. The filter is only applicable when set. Ignored are untracked states of `NONE`, `SOLD`, and `UNLINKED_RETURN`. The default is null. See [InventoryState](#type-inventorystate) for possible values
States []string `json:"states,omitempty"`
}