Orders > Orders > storefrontOrdersDownload
Storefront APIOrdersOrdersstorefrontOrdersDownload
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"


order_id: String!

Unique order identifier. See also: Unique Identifiers

Example: "or_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


uuid: String!


Result

FileURL

Preview (typescript)

Loading module