Get Varieties
Get a list of varieties with pagination.
Variety data changes rarely. Sync the variety table and variety value endpoints with sync=true and lastRowVersion, keep them in a local cache keyed on id, and join them to items and variants yourself. A changed description or sort order comes back on the next sync, but deleted rows do not, so reload the cache in full now and then. See Replication.
Authentication
x-np-api-keystring
API Key authentication via header
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
x-api-version
Used for API versioning. More details.
Query parameters
code
pageSize
pageKey
lastRowVersion
sync
Response
This endpoint returns an object.
morePages
nextPageKey
nextPageURL
data
