Skip to main content
PUT
Attach Delivery File
Attach the distributable file buyers receive after purchasing this product. Purchase events then expose it as {{event.download.url}} and {{event.download.name}} in sequence emails.

Request

string
required
Product ID (from List Products). For products pushed via the Commerce API, you can also use your own productId (e.g. my-ebook).
string
required
Public http(s) URL of the file. Use Create Upload URL to host the file on Sequenzy, or link to a file hosted elsewhere.
string
default:"url"
upload for files hosted on Sequenzy, url for external links.
string
Display name for the file (e.g. guide.pdf). Used as {{event.download.name}}.
number
File size in bytes.
string
File MIME type.

Responses