---
title: "Create attachment"
method: POST
path: "/seller/orders/{id}/shipments/{shipmentId}/attachments"
tags: ["seller-orders"]
---

# Create attachment

`POST /seller/orders/{id}/shipments/{shipmentId}/attachments`

Create a draft upload URL for a shipment attachment.

This is step 1 of the shipment attachment workflow.

Workflow:
1. Request an upload URL for a specific order + shipment.
2. Upload image bytes directly.
3. Finalize the attachment in a second call.

Rules:
- Shipment must belong to an order owned by the authenticated seller.
- Attachments are only allowed within a limited time window after shipment creation.
- Returns `403` when attachment uploads are no longer allowed.

## Path parameters

- `id` string, required — Order ID
- `shipmentId` string, required — Shipment ID

## Response `200`

Upload URL

- ImageUpload — Direct upload URL for an image
  - `id` string, required — Image identifier
  - `uploadURL` string, uri, required — URL to upload the image

## Other responses

- `403` — Attachments disabled
- `404` — Shipment not found

---

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