---
title: "Stores the order attachment information"
method: POST
path: "/orders/{orderId}/attachments"
tags: ["orders"]
---

# Stores the order attachment information

`POST /orders/{orderId}/attachments`

ADD ENDPOINT DESCRIPTION HERE

## Path parameters

- `orderId` integer, required

## Request body

- OrderAttachmentPost
  - `filename` string — Name for the attachment. This name will be displayed in the attachments section for the given order
  - `printerType` 'LABEL_PRINTER' | 'DOCUMENT_PRINTER' | 'DOCUMENT_PRINTER_2_A6' | 'DOCUMENT_PRINTER_2_FOLIO', required — Printer type, which should be used for printing the document in the warehouse
  - `attachmentPlacement` 'INSIDE_PACKAGE' | 'OUTSIDE_PACKAGE', required — Where the attached document should be placed in regard to the parcel
  - `copyCount` integer, required — Number of times the attachment should be printed per shipment
  - `printingType` 'ORDER' | 'SHIPMENT' — If the attached document should be printed per order or per shipment
  - `fileKey` string — Identifier of the file to be attached.
  - `mimeType` string — Mime type of the file

## Response `200`

successful operation

- OrderAttachmentGet
  - `filename` string — Name for the attachment. This name will be displayed in the attachments section for the given order
  - `printerType` 'LABEL_PRINTER' | 'DOCUMENT_PRINTER' | 'DOCUMENT_PRINTER_2_A6' | 'DOCUMENT_PRINTER_2_FOLIO', required — Printer type, which should be used for printing the document in the warehouse
  - `attachmentPlacement` 'INSIDE_PACKAGE' | 'OUTSIDE_PACKAGE', required — Where the attached document should be placed in regard to the parcel
  - `copyCount` integer, required — Number of times the attachment should be printed per shipment
  - `printingType` 'ORDER' | 'SHIPMENT' — If the attached document should be printed per order or per shipment
  - `fileKey` string
  - `mimeType` string
  - `id` integer
  - `url` Link
    - `link` string

---

[API](https://skmtc.net/writechoiceorg/apis/connector.md) · [All operations](https://skmtc.net/writechoiceorg/apis/connector/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/writechoiceorg/connector/versions/7ce09a4b2a4e/schema)
