Retrieves the current calculated stock count for a given at a given set of s. Responses are paginated and unsorted. For more sophisticated queries, use a batch endpoint.
643 matches
60 actions
Square
60 actions
- GetBankAccountGETv1.0.0
- GetBankAccountByV1IdGETv1.0.0
- GetBreakTypeGETv1.0.0
- GetDeviceCodeGETv1.0.0
- GetEmployeeWageGETv1.0.0
- GetInvoiceGETv1.0.0
- GetPaymentGETv1.0.0
- GetPaymentRefundGETv1.0.0
- GetShiftGETv1.0.0
- GetTeamMemberWageGETv1.0.0
- GetTerminalCheckoutGETv1.0.0
- GetTerminalRefundGETv1.0.0
- ListBankAccountsGETv1.0.0
- ListBreakTypesGETv1.0.0
- ListCardsGETv1.0.0
- ListCashDrawerShiftEventsGETv1.0.0
- ListCatalogGETv1.0.0
- ListCustomerGroupsGETv1.0.0
- ListCustomersGETv1.0.0
- ListCustomerSegmentsGETv1.0.0
- ListDeviceCodesGETv1.0.0
- ListDisputeEvidenceGETv1.0.0
- ListDisputesGETv1.0.0
- ListEmployeeRolesGETv1.0.0
- ListEmployeesGETv1.0.0
- ListEmployeeWagesGETv1.0.0
- ListGiftCardsGETv1.0.0
- ListInvoicesGETv1.0.0
- ListLocationsGETv1.0.0
- ListLoyaltyProgramsGETv1.0.0
- ListMerchantsGETv1.0.0
- ListOrdersGETv1.0.0
- ListRefundsGETv1.0.0
- ListSitesGETv1.0.0
- ListSubscriptionEventsGETv1.0.0
- ListTeamMemberBookingProfilesGETv1.0.0
- ListTeamMemberWagesGETv1.0.0
- ListTransactionsGETv1.0.0
- ListWorkweekConfigsGETv1.0.0
- RetrieveBookingGETv1.0.0
- RetrieveBusinessBookingProfileGETv1.0.0
- RetrieveCardGETv1.0.0
- RetrieveCashDrawerShiftGETv1.0.0
- RetrieveCatalogObjectGETv1.0.0
- RetrieveCustomerGETv1.0.0
- RetrieveCustomerGroupGETv1.0.0
- RetrieveCustomerSegmentGETv1.0.0
- RetrieveDisputeGETv1.0.0
- RetrieveDisputeEvidenceGETv1.0.0
- RetrieveEmployeeGETv1.0.0
- RetrieveEmployeeGETv1.0.0
- RetrieveEmployeeRoleGETv1.0.0
- RetrieveGiftCardGETv1.0.0
- RetrieveInventoryAdjustmentGETv1.0.0
- RetrieveInventoryChangesGETv1.0.0
- RetrieveInventoryCountGETv1.0.0
- RetrieveInventoryPhysicalCountGETv1.0.0
- RetrieveInventoryTransferGETv1.0.0
- RetrieveLocationGETv1.0.0
- RetrieveOrderGETv1.0.0
Finance/Square
RetrieveInventoryCount
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
{
"type": "object",
"properties": {
"catalog_object_id": {
"type": "string"
},
"cursor": {
"type": "string"
},
"location_ids": {
"type": "string"
}
},
"required": [
"catalog_object_id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
{
"type": "object",
"properties": {
"counts": {
"type": "array",
"description": "The current calculated inventory counts for the requested object and\nlocations.",
"items": {
"type": "object",
"description": "Represents Square-estimated quantity of items in a particular state at a\nparticular seller location based on the known history of physical counts and\ninventory adjustments.",
"properties": {
"calculated_at": {
"type": "string",
"description": "An RFC 3339-formatted timestamp that indicates when the most recent physical count or adjustment affecting\nthe estimated count is received."
},
"catalog_object_id": {
"type": "string",
"description": "The Square-generated ID of the\n[CatalogObject](https://developer.squareup.com/reference/square_2021-08-18/objects/CatalogObject) being tracked."
},
"catalog_object_type": {
"type": "string",
"description": "The [type](https://developer.squareup.com/reference/square_2021-08-18/enums/CatalogObjectType) of the\n[CatalogObject](https://developer.squareup.com/reference/square_2021-08-18/objects/CatalogObject) being tracked. Tracking is only\nsupported for the `ITEM_VARIATION` type."
},
"is_estimated": {
"type": "boolean",
"description": "Whether the inventory count is for composed variation (TRUE) or not (FALSE). If true, the inventory count will not be present in the response of\nany of these endpoints: [BatchChangeInventory](https://developer.squareup.com/reference/square_2021-08-18/inventory-api/batch-change-inventory), \n[BatchRetrieveInventoryChanges](https://developer.squareup.com/reference/square_2021-08-18/inventory-api/batch-retrieve-inventory-changes), \n[BatchRetrieveInventoryCounts](https://developer.squareup.com/reference/square_2021-08-18/inventory-api/batch-retrieve-inventory-counts), and \n[RetrieveInventoryChanges](https://developer.squareup.com/reference/square_2021-08-18/inventory-api/retrieve-inventory-changes)."
},
"location_id": {
"type": "string",
"description": "The Square-generated ID of the [Location](https://developer.squareup.com/reference/square_2021-08-18/objects/Location) where the related\nquantity of items is being tracked."
},
"quantity": {
"type": "string",
"description": "The number of items affected by the estimated count as a decimal string.\nCan support up to 5 digits after the decimal point."
},
"state": {
"type": "string",
"description": "The current [inventory state](https://developer.squareup.com/reference/square_2021-08-18/enums/InventoryState) for the related\nquantity of items."
}
}
}
},
"cursor": {
"type": "string",
"description": "The pagination cursor to be used in a subsequent request. If unset,\nthis is the final response.\n\nSee the [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide for more information."
},
"errors": {
"type": "array",
"description": "Any errors that occurred during the request.",
"items": {
"type": "object",
"description": "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information.",
"required": [
"category",
"code"
],
"properties": {
"category": {
"type": "string",
"description": "The high-level category for the error."
},
"code": {
"type": "string",
"description": "The specific code of the error."
},
"detail": {
"type": "string",
"description": "A human-readable description of the error for debugging purposes."
},
"field": {
"type": "string",
"description": "The name of the field provided in the original request (if any) that\nthe error pertains to."
}
}
}
}
}
}