Skip to main content
PUT
/
orders
/
{orderId}
/
attachments
/
{attachmentId}
Update order
curl --request PUT \
  --url https://api.quivo.co/orders/{orderId}/attachments/{attachmentId} \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
{
  "printerType": "LABEL_PRINTER",
  "attachmentPlacement": "INSIDE_PACKAGE",
  "copyCount": 2,
  "filename": "<string>",
  "printingType": "ORDER",
  "fileKey": "<string>",
  "mimeType": "<string>",
  "id": 123,
  "url": {
    "link": "<string>"
  }
}

Path Parameters

orderId
integer<int64>
required

The unique identifier for an order.

attachmentId
integer<int64>
required

The unique identifier for an attachment associated with an order.

Body

application/json

Complete resource data to update at /orders/{orderId}/attachments/{attachmentId}

The body is of type string.

Response

Returns the updated attachment information with assigned identifier and file details for the order.

Order attachment information. Contains attachment metadata and file references associated with an order.

printerType
enum<string>
required

Printer type, which should be used for printing the document in the warehouse

Available options:
LABEL_PRINTER,
DOCUMENT_PRINTER,
DOCUMENT_PRINTER_2_A6,
DOCUMENT_PRINTER_2_FOLIO
attachmentPlacement
enum<string>
required

Where the attached document should be placed in regard to the parcel

Available options:
INSIDE_PACKAGE,
OUTSIDE_PACKAGE
copyCount
integer<int32>
required

Number of times the attachment should be printed per shipment

Required range: x >= 1
filename
string

Name for the attachment. This name will be displayed in the attachments section for the given order

printingType
enum<string>

If the attached document should be printed per order or per shipment

Available options:
ORDER,
SHIPMENT
fileKey
string

Key or identifier

mimeType
string

The type or category of the mime

id
integer<int64>

The unique identifier for the id

url
object

URL link reference. Contains link URL and optional metadata.