Order Controller

Remove a draft attachment (or all) for an order email

Send JSON { "url": "<full S3 URL>" } to remove that draft only. Omit url (or send an empty body) to remove all draft attachments for this order and delete their files from S3.

patch/orders/draft-attachments/{id}/remove

Path parameters

idnumber required
Example:1

The ID of the entity

Request body

urlstring

Full HTTPS S3 URL of the draft file (same value as in draftEmailAttachments[].url). Omit to clear all.

Response

Draft attachment(s) removed

Changes

No recorded changes to this endpoint across all 1 revision of this API.