Customer Order
Download purchased downloadable product
Streams the purchased file. Increments download_used on each successful call. {id} is the downloadable_link_purchased row id from GET /customer-downloadable-products.
get/customer-downloadable-products/{id}/download
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Identifier
Headers
Authorizationstring required
Example:Bearer 1234|abcdef...
Bearer token for authenticated customer (format: Bearer <token>).
X-STOREFRONT-KEYstring required
Storefront API Key for authentication. Required for all shop/storefront API requests.
X-Localestring
Example:en
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
X-Channelstring
Example:default
Channel code (e.g. "default"). Defaults to the current channel.
X-Currencystring
Example:USD
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Response
Binary file stream
Changes
No recorded changes to this operation across all 13 revisions of this API.