Finalize attachment
Shipment attachments
Finalize attachment
Finalize a shipment attachment after direct upload.
This is step 2 of the shipment attachment workflow.
Validation pipeline:
- Validates that
imageIdmatches the expected shipment attachment URN. - Confirms shipment ownership and time-window eligibility.
- Ensures image upload is complete (not draft).
- Runs moderation and rejects unsuitable content.
Responses:
451when moderation rejects the image.400/403/404for invalid ID, disabled uploads, or missing shipment.- Returns saved attachment metadata on success.
PATCH
Finalize attachment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Image identifier to finalize upload
Image identifier
Hide attachment from the buyer