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

# Create attachment

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

## Request

- Base URL: `https://api.managem.co.uk`
- URL: `https://api.managem.co.uk/seller/orders/{id}/shipments/{shipmentId}/attachments`
- Auth: HTTP bearer

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.dev/managem/apis/managem-api.md) · [All operations](https://skmtc.dev/managem/apis/managem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/managem/apis/managem-api/revisions/3a4470b55521?raw)
