Inventory (Partial Update)

Description

Sets inventory counts for a variant across one or more stores. The provided counts replace the current inventory values for the specified stores. Stores not included in the request are left unchanged.

See the Aerial Spec for more details.

File Naming Convention

TGEN_inventory_partialupdate_2026-08_<optionalSuffix>.csv

  • importType: partialupdate
  • apiVersion: 2026-08

Columns

Nested object fields are flattened into columns using dot notation (parent.child). Array fields are flattened using zero-based index notation, one element per column (field[0], field[1], and so on).

Note: A whole array cannot be passed in a single column: a literal value such as ['value-1','value-2'] will be rejected. To import multiple array elements, add one indexed column per element. Rows in the table below with type array describe the field as a whole and are not valid CSV column headers.

Column HeaderDescriptionKey InformationTypeRequired
variantIdUUID or external ID of a variant that can be expressed using “SET_AS_NULL” (to reset the existing value) or a structure of {“uuid”: “string”, “externalId”: “string”} (to provide a more expressive identifier) or a value as defined in its types.stringNo
variantId.uuidUUID of the resourcestringNo
variantId.externalIdExternal ID of the resourcestringNo
countsA collection of Counts for this inventory request that can be expressed using “SET_AS_NULL” (to reset all existing values) or a value as defined in its types.Not a CSV column header. Pass each array element in its own indexed column (counts[0], counts[1], and so on).arrayNo
counts[0]Array elementmixedNo
counts[0].storeIdUUID or external ID of a store that can be expressed using “SET_AS_NULL” (to reset the existing value) or a structure of {“uuid”: “string”, “externalId”: “string”} (to provide a more expressive identifier) or a value as defined in its types.stringNo
counts[0].storeId.uuidUUID of the resourcestringNo
counts[0].storeId.externalIdExternal ID of the resourcestringNo
counts[0].countInventory count for the store that can be expressed using “SET_AS_NULL” (to reset the existing value) or a value as defined in its types.Min: 0integerNo

Sample CSV

See the following inventory CSV sample file.

inventory Sample 1

Note: The sample CSV may contain sample ID fields which reference other resources that do not match the data in your environment. You may omit any non-required fields from the sample CSV, reference the table above for required fields.