Skip to main content
GET
/
v3
/
variants
/
{variant_id}
/
digital-product-files
List variant digital product files
curl --request GET \
  --url https://api.myscalev.com/v3/variants/{variant_id}/digital-product-files \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "content_type": "<string>",
      "id": 123,
      "name": "<string>",
      "size_in_bytes": 123,
      "url": "<string>"
    }
  ],
  "is_paginated": true,
  "has_next": false,
  "last_id": 99,
  "page_size": 25
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

variant_id
string
required

Query Parameters

last_id
integer

Last ID for cursor-based pagination

page_size
integer

Number of items per page (default: 25, max: 25)

Required range: x <= 25
Example:

25

Response

Paginated list of digital product files

Paginated list payload for v3.

data
DigitalProductFile · object[]
required
is_paginated
enum<boolean>
required
Available options:
true
Example:

true

has_next
boolean
default:false
Example:

false

last_id
integer | null
Example:

99

page_size
integer
default:25
Example:

25