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

Changes

No recorded changes to this endpoint across all 51 revisions of this API.