# SyncStockLevelItemResult type


What [`syncStockLevels`](/chameleoon-max/mutation/sync-stock-levels) did with one item.

## Fields

### index

`Int!`

The item's position in the input, from 0.

### externalId

`String!`

The item's `externalId`, as sent.

### status

[`SyncStockLevelStatus!`](/chameleoon-max/type/sync-stock-level-status)

What happened to the item.

### reason

[`SyncStockLevelRefusal`](/chameleoon-max/type/sync-stock-level-refusal)

Why the item was `REFUSED`. Null otherwise.

### positionIndex

`Int`

The index of the input position that the refusal names. Null when it names none.

### changes

[`[SyncStockLevelChange!]!`](/chameleoon-max/type/sync-stock-level-change)

What MAX wrote, including positions the item omitted. Empty unless `status` is `APPLIED`.

Priced as 2 changes, however many it holds: the mutation already costs 1 point per position.

Costs 2 points plus 2 × one change's selection.

## Used by

- [`SyncStockLevelsResult`](/chameleoon-max/type/sync-stock-levels-result)
