API docs

Send files asynchronously

POST
/order/files

Set files for an existing order. This is only allowed if the item is in the PENDING_COMPLETION state.

Request Body

application/json
  1. body
order_id*number

id of the order missing files

merchant_api_key*string

API key of your account

file_details*

URLs and configurations for the files to be printed

Response Body

OK

response?stringtext/plain
Example Request
curl -X POST 'https://test.www.peecho.com/rest/v3/order/files' \  -H 'Content-Type: application/json' \  -d '{  "order_id": 0,  "merchant_api_key": "string",  "file_details": {    "content_width": 0,    "content_height": 0,    "number_of_pages": 0  }}'
Example Response
"OK"