v20
latestOpenAPI 3.1.02026-08-08122113375.9 KBseller-orders
Create attachment
Create a draft upload URL for a shipment attachment.
This is step 1 of the shipment attachment workflow.
Workflow:
- Request an upload URL for a specific order + shipment.
- Upload image bytes directly.
- 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.
post/seller/orders/{id}/shipments/{shipmentId}/attachments
Path parameters
idstring required
Order ID
Order ID
shipmentIdstring required
Shipment ID
Shipment ID
Response
Upload URL