Skip to main content
PATCH
/
seller
/
orders
/
{id}
/
shipments
/
{shipmentId}
/
attachments
Finalize attachment
curl --request PATCH \
  --url https://api.managem.co.uk/seller/orders/{id}/shipments/{shipmentId}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "hidden": true
}
'
{
  "id": "<string>",
  "url": "<string>",
  "hidden": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Order ID

shipmentId
string
required

Shipment ID

Body

application/json

Image identifier to finalize upload

id
string
required

Image identifier

hidden
boolean

Hide attachment from the buyer

Response

Attachment saved

Image attachment linked to a shipment

id
string
required

Image identifier

url
string<uri>
required

Public URL for the attachment

hidden
boolean
required

True when the attachment is hidden from the buyer