POST:customer_inventory/download.json
Commerce APIPOST:customer_inventory/download.json

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

Query Parameters

customer_inventory_id: String, required

Unique customer inventory item identifier. See also: Unique Identifiers

Example: ?customer_inventory_id=ii_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Response Body

FileURL

Response Body Type

Loading module