Skip to main content
POST
Upload File to Order
Beta. The order asset management and notification endpoints are in active development. The request and response shapes shown here are stable for production use, but we may add new fields or capabilities without notice. Contact support to be notified of breaking changes.

Overview

A common workflow for custom/made-to-order products is:
  1. Upload a file via the Upload Asset flow
  2. Attach it to a specific order
  3. Notify the customer so they receive the download email
This guide walks through all three steps.

1. Upload the file

Create an internal asset and upload the file body. See Upload Asset for the full reference.

2. Attach the asset to the order

3. Notify the customer

That’s it — the customer will receive a download email with a link to their custom file.
You can also use an external URL asset instead of uploading a file. Create the asset with type: "external" and external_url pointing to your hosted file, then follow steps 2 and 3 above.

Using an external URL instead

If your file is already hosted elsewhere, skip the upload and create an external asset instead:
cURL
Then attach and notify as above.