Customers > Customer Inventory > storefrontCustomerInventoryDownload
Storefront APICustomersCustomer InventorystorefrontCustomerInventoryDownload
storefrontCustomerInventoryDownload
POST:storefront/customer_inventory/download.json

Description

Download customer inventory item if it's a digital product. Returns publically available link, the link is valid for few hours. Increments downloads counter, items may have a limit on number of downloads.

Topic: Customer Inventory

Arguments

customer_inventory_id: String!

Unique customer inventory item identifier. See also: Unique Identifiers

Example: "ii_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

FileURL

Preview (typescript)

Loading module