detach

To detach a file from an order, send the order/detach method:

Copied!
svc=order/detach&params={"itemId":<long>,
			 "id":<long>,
			 "path":"<text>"}

Parameters

Name Description
itemId Resource ID.
id Order ID within the resource.
path File name.

Response

Copied!
{ }

Error codes

Error code Description
7 Couldn’t get the item with the provided itemId.
5 An error occurred while deleting the file.

If you find a mistake in the text, please select it and press Ctrl+Enter.