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:partialupdateapiVersion:2026-04
Columns
| Column Header | Description | Key Information | Type | Required |
|---|---|---|---|---|
variantId | UUID 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. | string | No | |
variantId.uuid | UUID of the resource | array | No | |
variantId.uuid[0] | Array element | string | No | |
variantId.externalId | External ID of the resource | array | No | |
variantId.externalId[0] | Array element | string | No | |
counts | A 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. | array | No | |
counts[0] | Array element | mixed | No | |
counts[0].storeId | UUID 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. | string | No | |
counts[0].storeId.uuid | UUID of the resource | array | No | |
counts[0].storeId.uuid[0] | Array element | string | No | |
counts[0].storeId.externalId | External ID of the resource | array | No | |
counts[0].storeId.externalId[0] | Array element | string | No | |
counts[0].count | Inventory 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: 0 | integer | No |
Sample CSV
See the following inventory CSV sample file.
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.