Skip to content

deleteOrderDocument - Delete order document

Request

Description

Use this API to delete a document.

Call Frequency
Maximum usage: On each document deletion on the order
Security
Bearer(Required scopes:
connect-channel-platform:order-d...
)
Path
channel_order_idstringrequired

Order identifier from the channel

Example:COMMERCIAL_ID-A
channel_document_idstringrequired

Document ID from the channel

Example:DOC-1234
Bodyapplication/jsonrequired
originobjectrequired
curl -i -X DELETE \
  https://miraklconnect.com/api/channel-platform/v1/orders/COMMERCIAL_ID-A/documents/DOC-1234 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "origin": {
      "channel_id": "string",
      "channel_store_id": "string",
      "sub_channel_code": "string"
    }
  }'

Responses

No Content

Response
No content