Skip to main content
PUT
Save the deliverable

Authorizations

Authorization
string
header
required

Your account's secret key: Authorization: Bearer sk_test_… or sk_live_…. Server-side only.

Path Parameters

productID
string
required

Product ID.

Pattern: ^prod_[0-9A-Za-z]{22}$
Example:

"prod_1d4YogBuw00jAySh5mbUpk"

Body

application/json
kind
enum<string>
required

file or link.

Available options:
file,
link
objectKey
string | null

For file: the objectKey from the presign. Upload the file before saving; if it does not exist, the call is refused.

fileName
string | null

For file: the name shown to the buyer.

contentType
string | null

For file: MIME type. If omitted, it is read from the uploaded file.

sizeBytes
integer<int64> | null

For file: size in bytes. If omitted, it is read from the uploaded file.

url
string | null

For link: the URL the buyer receives (members area, Notion, video…).

Response

Deliverable saved.

What the buyer receives once the payment is confirmed: a file or a link.

id
string<uuid>
required
productId
string
required
Pattern: ^prod_[0-9A-Za-z]{22}$
Example:

"prod_1d4YogBuw00jAySh5mbUpk"

kind
enum<string>
required

file (uploaded file) or link (external URL).

Available options:
file,
link
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
fileName
string | null

File name, when kind is file.

contentType
string | null

MIME type, when kind is file.

sizeBytes
integer<int64> | null

Size in bytes, when kind is file.

url
string | null

The delivered URL, when kind is link.