logo

Important:

This API is designed for experienced developers only and is provided as a self-service tool with minimal support.

Please be aware that currently, this API only supports legacy checkouts and classic customer accounts. It does not support integration with New Customer Accounts & new Checkout Extensibility. Shopify has not yet enabled app integration capabilities for New Customer Accounts. It is anticipated that these Shopify features will become available later in 2024. See Shopify’s consideration guide.

Fileflare API

Deleting assets

This delete function is the same for both types of assets – Files and URL Assets.

Warning:

  • If you have a custom S3 connected and enabled the option to delete files from S3 when deleted in the app, this function will delete all of your files from your S3.
  • Deleting an asset will remove it from all linked products and orders.

Delete asset

To delete an asset, send a DELETE request with the ID of the asset in the URL to:

https://app.digital-downloads.com/api/v1/assets/:id

Example

https://app.digital-downloads.com/api/v1/assets/82664d96-6dfd-4343-96b0-05c46f412a5b

Response

You will receive a 202 response code.


Deleting all assets

To delete all assets, send a POST request to the below URL.

Note: This will be processed in the background. If you have many assets, then this might take some time.

https://app.digital-downloads.com/api/v1/assets/deleted-all

Response

You will receive a 202 response code.