# deleteOrderDocument - Delete order document Description Use this API to delete a document. Call Frequency Recommended usage: On each document deletion on the order Maximum usage: On each document deletion on the order Endpoint: DELETE /v1/orders/documents/{channel_document_id} Security: Bearer ## Path parameters: - `channel_document_id` (string, required) Document ID from the channel Example: "DOC-1234" ## Request fields (application/json): - `origin` (object, required) - `origin.channel_id` (string, required) Unique identifier of the sales channel - `origin.channel_store_id` (string, required) Store identifier on the sales channel. ## Response 400 fields (application/json): - `code` (string, required) Error code (immutable) - `errors` (array) - `errors.extensions` (object) Free map where you find additional context data to better describe the error - `errors.field` (string) JsonPath to the field where the error occurred - `errors.message` (string, required) Literal string error item description (Please do not base your error handling on this field since it is subject to change) - `message` (string, required) Literal string error description (Please do not base your error handling on this field since it is subject to change) ## Response 404 fields (application/json): - `code` (string, required) Error code (immutable) - `errors` (array) - `errors.extensions` (object) Free map where you find additional context data to better describe the error - `errors.field` (string) JsonPath to the field where the error occurred - `errors.message` (string, required) Literal string error item description (Please do not base your error handling on this field since it is subject to change) - `message` (string, required) Literal string error description (Please do not base your error handling on this field since it is subject to change) ## Response 204 fields