Skip to content

Get Digital Product

Retrieve a single digital product by its ID, including all linked assets.

Last updated

  • id (string, path, required)

    The digital product’s unique identifier (UUID).

  • digital_product (object, required)

    The digital product object.

    Digital product properties:

    • id (string, required)

      Unique digital product identifier (UUID).

    • shopify_product_id (integer | null)

      The numeric Shopify product ID.

    • shopify_variant_id (integer | null)

      The numeric Shopify variant ID. null if linked at the product level.

    • assets (array, required)

      The assets attached to this digital product.

    • upsert_always (boolean, required)

      When true, a new copy of this digital product’s assets is created for each order.

    • custom_message (string | null)

      Custom message shown on the download page.

    • preorder_enabled (boolean, required)

      Whether this is a preorder product.

    • preorder_launch_date (string | null)

      When preorder content becomes available.

    • preorder_subject (string | null)

      Email subject for the preorder notification.

    • preorder_heading (string | null)

      Heading shown while in preorder.

    • preorder_description (string | null)

      Description shown while in preorder.

    • created_at (string, required)

      ISO 8601 timestamp of creation.

    • updated_at (string, required)

      ISO 8601 timestamp of last update.

Example request

Terminal window
curl -X GET 'https://app.filemonk.io/api/v1/external/digital_products/b2c3d4e5-f6a7-8901-bcde-f12345678901' \
-H 'X-Auth-Token: fm_api_key_your_key_here'
const productId = 'b2c3d4e5-f6a7-8901-bcde-f12345678901';
const response = await fetch(
`https://app.filemonk.io/api/v1/external/digital_products/${productId}`,
{ headers: { 'X-Auth-Token': 'fm_api_key_your_key_here' } }
);
const data = await response.json();
product_id = 'b2c3d4e5-f6a7-8901-bcde-f12345678901'
response = requests.get(
f'https://app.filemonk.io/api/v1/external/digital_products/{product_id}',
headers={'X-Auth-Token': 'fm_api_key_your_key_here'}
)
data = response.json()

Example response

{
"digital_product": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"shopify_product_id": 8847261098265,
"shopify_variant_id": null,
"assets": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"type": "external",
"name": "Photoshop Brushes Pack",
"filename": "brushes-pack-v2.zip",
"external_url": "https://cdn.example.com/files/brushes-pack-v2.zip",
"content_type": "application/zip",
"byte_size": 0,
"created_at": "2026-03-01T14:30:00Z"
}
],
"upsert_always": false,
"custom_message": "Thanks for your purchase!",
"preorder_enabled": false,
"preorder_launch_date": null,
"preorder_subject": null,
"preorder_heading": null,
"preorder_description": null,
"created_at": "2026-03-05T10:00:00Z",
"updated_at": "2026-03-05T10:00:00Z"
}
}
{
"error": "Digital product not found"
}
Was this page helpful?

Still stuck? Ask Quinn or chat with support