This complex type is used to identify an item that is managed by the Inventory API. The type defines the fields contained in an inventory reference ID.
Types that use InventoryReference
Calls that use InventoryReference
Fields
inventoryReferenceId
The unique identifier of a single-item listing or a multi-variation listing.
To create an ad for a single-item listing, set the inventoryReferenceType value to
To create an ad for a multi-variation listing, set the inventoryReferenceType value to
Required if if you supply an inventoryReferenceType.
To create an ad for a single-item listing, set the inventoryReferenceType value to
INVENTORY_ITEM
and specify an item ID or a SKU (if the SKU is defined in the listing).To create an ad for a multi-variation listing, set the inventoryReferenceType value to
INVENTORY_ITEM_GROUP
and specify the item ID for the multi-variation listing or the inventoryitemGroupKey value as defined in the Inventory API.Required if if you supply an inventoryReferenceType.
inventoryReferenceType
Indicates the type of item indicated by the inventoryReferenceId.
This value can be set to either
Required if if you supply an inventoryReferenceId.
This value can be set to either
INVENTORY_ITEM
or INVENTORY_ITEM_GROUP
.Required if if you supply an inventoryReferenceId.