Skip to navigation

Get Items

Get a list of items with pagination

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Query parameters

itemCodestringOptional
pageSizeintegerOptional
pageKeystringOptional
lastRowVersionstringOptional
syncbooleanOptional
withAttributesbooleanOptional
Indicates whether the item attributes should be included in the response.
withVariantsbooleanOptional

Indicates whether the item variants, with their variety values, should be included in each item as variants. Off by default. It adds one variant read per item, so with withVariants=true a page holds at most 1000 items, and a larger or missing pageSize is set to 1000. Use nextPageKey to read the next page.

Cannot be combined with sync=true, which returns 400. A new or changed variant does not change the item’s rowVersion, so an item sync would miss it. To keep variants up to date, sync GET /inventory/itemvariant instead.

Response

This endpoint returns an object.
morePagesboolean
nextPageKeystring
nextPageURLstring
datalist of objects

Errors

400
Bad Request