v14

OpenAPI 3.1.02026-08-03122113375.9 KB
seller-listings

Delete attachment

Delete an existing attachment from a seller listing.

Use this endpoint to remove outdated or incorrect listing images.

Validation and ownership:

  • Listing must belong to the authenticated seller and be active.
  • Attachment id must match the expected listing-scoped image URN format.

Deletion behavior:

  • Removes the image from storage.
  • Deletes the listing attachment association in the database.
  • Re-evaluates listing validity after deletion:
    • Listings that require photos (price >= 2000 or grading metadata) become valid: false when no attachments remain.

Response:

  • Returns 204 No Content when deletion completes.
delete/seller/listings/{id}/attachments

Path parameters

idstring required

Listing ID

Listing ID

Request body

idstring required

Image identifier

Response

Attachment deleted