Delete Product Downloadables
DevelopingDELETE
v1/products/0de9183126d346e2918aba6415c5ad69/downloadables/0de9183126d346e2918aba6415c5ad69This endpoint deletes a specific downloadable file associated with a product. Upon successful deletion, the response returns the details of the deleted file, confirming the operation. This response helps the client verify the removal of the file and provides relevant metadata for record-keeping.
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Unique identifier of the store.
Preferred language for the response. Defaults to en
if not specified.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Role of the user.
The currency in which the data should be returned. This should be provided as an ISO 4217 currency code. For example, SAR for Saudi Riyal, USD for United States Dollar, KWD for Kuwaiti Dinar, etc.
Request samples
Responses
The unique identifier of the deleted downloadable file.
The ID of the product associated with the downloadable file that was deleted.
Contains access details for the deleted file.
The access URL of the file, reflecting the last known URL prior to deletion.
The name of the file as displayed to the user.
Optional ordering value used to manage display sequence among files.
Indicates whether the file was available for download before deletion.
Specifies whether the file was hosted externally or within the primary storage system.
{
"id": "f2f3ff33-a68e-498a-a052-0ea1bbddc144",
"product_id": "5af835b7-1a37-4401-a3fc-6d9007c44c8f",
"file": {
"url": "https://www.editage.com/info/file/most-common-reasons-for-journal-rejections.pdf"
},
"display_name": "most-common-reasons-for-journal-rejections",
"display_order": null,
"is_enabled": true,
"is_external": true
}