detach
To detach a file from an order, send the order/detach command:
svc=order/detach¶ms={"itemId":<long>,
"id":<long>,
"path":"<text>"}
Parameters
Name | Description |
---|---|
itemId | Resource ID. |
id | Order ID within the resource. |
path | File name. |
To get the list of files attached to the order, use order/list_attachments.
Response
{ }
Error codes
Error code | Description |
---|---|
7 | Couldn't get the item with the provided itemId. |
5 | An error occurred while deleting the file. |