Orders > Orders > storefrontOrdersDownload
POST:storefront/orders/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: Orders
Arguments
customer_inventory_id: String!
Unique customer inventory item identifier. See also: Unique Identifiers
Example: "ii_EQzGqWoY"
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Result
Preview (typescript)
Loading module