Types > StorefrontCustomerInventory
Storefront APITypesStorefrontCustomerInventory
StorefrontCustomerInventory

Description

Topic: Customer Inventory

Fields

created_at: String!

Date and time item was added to inventory

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


customer: StorefrontCustomer


disabled_at: String

Date and time item was disabled

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


download_limit: Int

Total amount of times it is allowed to download the digital product

Example: 50


downloaded_times: Int

Amount of times the digital product was downloaded

Example: 5


expires_at: String

Date and time when item expires

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


gift_card_amount: Int

Amount of money gift card represents

Example: 10000


gift_card_code: String

Unique generated gift card code (shop owner/users only)

Example: "H35K-DJKS-75TK-TJR4"


gift_card_code_last4: String

Unique generated gift card code (last 4 symbols)

Example: "TJR4"


gift_card_used: Boolean

Whether gift card was used or not

Example: false


id: String!

Unique customer inventory item identifier. See also: Unique Identifiers

Example: "ii_EQzGqWoY"


order: StorefrontOrder


type: CustomerInventoryType!

Type of item


updated_at: String!

Date and time when the order was last modified

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


variant: StorefrontProductVariant


Used By

Queries

storefrontCustomerInventory

Types

StorefrontCustomerInventoryPage, StorefrontFulfillmentLineItem

Preview (typescript)

Loading module