Skip to main content

CampaignInventoryItem

The inventory for one product variant within a campaign item. It is created when the variant is first ordered.

type CampaignInventoryItem {
allocatedCount: Int!
appliedCount: Int!
campaignItem: CampaignItem!
id: ID!
inventoryApplications: [InventoryApplication!]
productVariant: ProductVariant!
reservedCount: Int!
}

Fields​

CampaignInventoryItem.allocatedCount ● Int! non-null scalar types​

The number of units allocated to campaign orders for the product variant.

CampaignInventoryItem.appliedCount ● Int! non-null scalar types​

The number of units applied to the product variant through inventory applications.

CampaignInventoryItem.campaignItem ● CampaignItem! non-null object types​

The campaign item the campaign inventory item belongs to.

CampaignInventoryItem.id ● ID! non-null scalar types​

The campaign inventory item's ID.

CampaignInventoryItem.inventoryApplications ● [InventoryApplication!] list object types​

The campaign inventory item's inventory applications.

CampaignInventoryItem.productVariant ● ProductVariant! non-null object types​

The product variant the campaign inventory item tracks.

CampaignInventoryItem.reservedCount ● Int! non-null scalar types​

The number of units of the product variant on active campaign orders.

Member Of​

CampaignItem object ● CampaignOrder object ● CrowdfundingCampaign object ● InventoryApplication object ● PresaleCampaign object