Customers > Customer Inventory > customerInventoryDownload
Commerce APICustomersCustomer InventorycustomerInventoryDownload

customerInventoryDownload

POST: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.

Permission bit: "customer_inventory.modify"

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

Loading module