Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

OrderWorkflow /GetPrintAttachment

Allows 150 calls per minute

Response: GetPrintAttachmentResponse



Marks the attachment as printed, reprints document if its not available anymore and returns the URL of the document to be downloaded

Parameters

NameTypeDescription
requestGetPrintAttachmentRequest

Permissions

GlobalPermissions.OrderBook.Workflow.ViewWorkflowNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/OrderWorkflow/GetPrintAttachment

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "JobId": 1,
  "AttachmentId": 2
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "IsPDFAvailable": true,
  "PDFURL": "sample string 2"
}