v93

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01218121759.7 KB
Products

Attach delivery file to product

Attaches the distributable file delivered after a purchase of this product. Purchase events then expose it as download.url / download.name. Accepts the internal product id or, for Commerce API products, your productId.

put/products/{productId}/delivery

Path parameters

productIdstring required

Internal product id, or your own productId for products pushed via the Commerce API.

Request body

urlstring required

Public http(s) URL of the file.

source'upload' | 'url'
fileNamestring
fileSizeBytesinteger
mimeTypestring

Response

Delivery attached

successboolean

Example response

{
  "product": {
    "id": "prod_internal_1",
    "providerProductId": "prod_ABC123",
    "title": "The Indie Hacker Guide",
    "price": 4900,
    "currency": "USD",
    "digitalDelivery": {
      "url": "https://images.sequenzy.com/product-files/comp_123/9f2.../guide.pdf",
      "fileName": "guide.pdf",
      "mimeType": "application/pdf"
    }
  }
}