Skip to main content
DELETE
Delete a digital product
Soft-deletes a digital product and unlists it. Its private file is also deleted from storage on a best-effort basis, after the product is gone. Existing buyer access records are kept, but the title no longer appears in buyers’ libraries and cannot be downloaded. Requires the WRITE_INVENTORY scope.
These endpoints only work on a store whose type is digital. On any other store they return 403 with This is only available on digital stores. See Digital stores.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side , never send a shop id.

Path Parameters

id
string
required

ObjectId of the digital product to delete.

Response

Delete a digital product: success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Digital product deleted successfully"

data
object | null
required
Example: