---
title: "Remove delivery file from product"
method: DELETE
path: "/products/{productId}/delivery"
tags: ["Products"]
---

# Remove delivery file from product

`DELETE /products/{productId}/delivery`

Removes the attached distributable file from a product. Accepts the internal product id or, for Commerce API products, your productId.

## Path parameters

- `productId` string, required

## Response `200`

Delivery removed

- object
  - `success` boolean
  - `product` Product
    - `id` string
    - `provider` 'api' | 'stripe' | 'shopify' | 'woocommerce' | 'manual'
    - `providerProductId` string, nullable
    - `title` string
    - `description` string, nullable
    - `imageUrl` string, nullable
    - `price` integer, nullable — Price in cents
    - `currency` string, nullable
    - `url` string, nullable
    - `inStock` boolean, nullable — For Stripe products, false means archived in Stripe.
    - `digitalDelivery` ProductDigitalDelivery, nullable — Distributable file delivered after a purchase of this product.
      - `url` string
      - `source` 'upload' | 'url'
      - `fileName` string, nullable
      - `fileSizeBytes` integer, nullable
      - `mimeType` string, nullable
      - `updatedAt` string, date-time, nullable
    - `createdAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable

## Other responses

- `401` — Unauthorized
- `404` — Product not found

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/versions/af1cf9620482/schema)
