# Stockkeeping Units _(Realtime-enabled)_

`GET` _(Table: Stockkeeping Unit)_

```
eOne/core/v1.0/stockkeepingUnits
```

Read-only feed of stockkeeping units (SKUs), the per-location, per-variant planning record for an item. It carries the location-specific replenishment system, reordering policy, reorder point/quantity, safety stock, lead time, and costs that the [item](https://eonesolutions.github.io/eone-bc-integration/core-items.md) card alone does not hold, so an external planning or store system can read stocking parameters broken down by location.

## Why it exists

A SKU is the intersection of an item and a [location](https://eonesolutions.github.io/eone-bc-integration/core-locations.md) (and optionally a variant). The same item can have a different reorder point, vendor, safety stock, or unit cost at each location. None of which live on the item master. This endpoint surfaces those location-level numbers.

## Composite key, no integrationId

A SKU is identified by `itemNo` + `locationCode` + `variantCode` together. There is **no** `integrationId` external key on this entity, match on the three key columns instead.

> **Caution:** This feed is **read-only**: no create, update, or delete. `POST`/`PATCH`/`DELETE` are rejected. To change stocking parameters, write to the SKU through standard Business Central, not this API.

> **Note:** OData key is `SystemId`, exposed as `id`. Use `$filter` on `itemNo` and `locationCode` to pull the SKUs for a given item or location.

## Stockkeeping Units fields

_API column → BC field._

**Legend**

- _(req)_ required on create
- _(res)_ resolver
- _(cur)_ currency-translated
- _(ro)_ read-only
- _(ext)_ added to this endpoint by another extension (BC field name shown; its API column name is not known here)

| API | BC field | Notes |
| --- | --- | --- |
| `id` | SystemId | BC record GUID; OData key. _(ro)_ |
| `bcCompanyId` | bcCompanyId | The company this row belongs to - the same GUID that appears in the request URL. Present on every endpoint so a store pooling several companies can keep them apart without relying on which URL it called. _(ro)_ |
| `bcCompanyName` | bcCompanyName | The name of the company this row belongs to. _(ro)_ |
| `itemNo` | Item No. | Part of the composite key. _(ro)_ |
| `locationCode` | Location Code | Part of the composite key. _(ro)_ |
| `variantCode` | Variant Code | Part of the composite key. _(ro)_ |
| `description` | Description | _(ro)_ |
| `shelfNo` | Shelf No. | _(ro)_ |
| `replenishmentSystem` | Replenishment System | _(ro)_ |
| `reorderingPolicy` | Reordering Policy | _(ro)_ |
| `reorderPoint` | Reorder Point | _(ro)_ |
| `reorderQuantity` | Reorder Quantity | _(ro)_ |
| `maximumInventory` | Maximum Inventory | _(ro)_ |
| `safetyStockQuantity` | Safety Stock Quantity | _(ro)_ |
| `vendorNo` | Vendor No. | Location-specific vendor. _(ro)_ |
| `leadTimeCalculation` | Lead Time Calculation | _(ro)_ |
| `assemblyPolicy` | Assembly Policy | _(ro)_ |
| `componentsAtLocation` | Components at Location | _(ro)_ |
| `transferFromCode` | Transfer-from Code | _(ro)_ |
| `unitCost` | Unit Cost | _(ro)_ |
| `standardCost` | Standard Cost | _(ro)_ |
| `lastDirectCost` | Last Direct Cost | _(ro)_ |
| `inventory` | Inventory | On-hand at this location. _(ro)_ |
| `lastModifiedDateTime` | SystemModifiedAt | _(ro)_ |
