Application Load

IOrderDigitalFileRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IOrderDigitalFileRequest

Send attached_stock at the JSON root. Success returns binary file content.

app/interfaces/orionplace/orders/IOrderActions.ts
TypeScript
export interface IOrderDigitalFileRequest {
  // Purchased digital-attachment ID from `digital_stock[].attachment_id`.
  attached_stock: number;
}