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-04_<optionalSuffix>.csv

  • importType: partialupdate
  • apiVersion: 2026-04

Columns

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 resourcearrayNo
variantId.uuid[0]Array elementstringNo
variantId.externalIdExternal ID of the resourcearrayNo
variantId.externalId[0]Array elementstringNo
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.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 resourcearrayNo
counts[0].storeId.uuid[0]Array elementstringNo
counts[0].storeId.externalIdExternal ID of the resourcearrayNo
counts[0].storeId.externalId[0]Array elementstringNo
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.