Shipments (Operations)

Endpoints to create, update and read shipments and parcels.

Create delivery note

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
localestringOptional

Provide the localized values for the delivery note. If not provided the default locale is used. For example de_DE

Body

DeliveryNote

Responses
post
/api/deliverynotes

List parcels

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional

all entities after given Id

sizeintegerOptional

number of entities to show

Default: 25
Responses
chevron-right
200

Parcels are found.

application/json

StrippedParcels

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/parcels

Get parcel

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of the parcel you want to get

Responses
chevron-right
200

Parcel was found & you were allowed to access it. The result is in the body.

application/json

Parcel

get
/api/parcels/{parcelId}

Update parcel

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of the parcel you want to get

Body

ParcelPatchActions

versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
Responses
chevron-right
200

Successfully updated the parcel.

application/json

Parcel

patch
/api/parcels/{parcelId}

Call parcel action

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Applies actions to a parcel. Check ParcelActionsParameter for available actions.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

Reference to the parcel you want to call an action for

Body

ParcelActionsParameter

or
or
or
Responses
chevron-right
200

Updated Parcel in the body.

application/json

Parcel

post
/api/parcels/{parcelId}/actions

Get parcel delivery note

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of parcel you want to retrieve deliveryNote for

Query parameters
localestringOptional

Provide the localized values for the delivery note. If not provided the default locale is used. For example de_DE.

Responses
chevron-right
200

Get delivery note as pdf.

application/pdf

DeliveryNote

get
/api/parcels/{parcelId}/deliverynote

Get parcel label

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of the parcel you want to get a label for

labelDocumentstring · enumRequired

The type of possible Parcel Labels

Possible values:
Responses
chevron-right
200

Parcel was found & you were allowed to access it. The label is in the body.

application/pdf
get
/api/parcels/{parcelId}/labels/{labelDocument}

Get parcel return note

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of parcel you want to retrieve returnNote for

Query parameters
localestringOptional

Provide the localized values for the returnNote. If not provided the default locale is used. For example de_DE.

Responses
chevron-right
200

Get delivery note as pdf.

application/pdf

ReturnNote

qrCodeContentstringOptional
get
/api/parcels/{parcelId}/returnnote

Get parcel transfer label

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
parcelIdstringRequired

ID of the parcel for which you want to get a transfer label

Responses
chevron-right
200

The transfer label for the given parcel

application/pdf
get
/api/parcels/{parcelId}/transferlabel

List parcels (search)

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Search for Parcel

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ParcelSearchPayload

afterstringOptional

The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.

beforestringOptional

The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).

lastnumber · min: 1 · max: 250Optional

Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.

sizenumber · min: 1 · max: 250Optional

Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.

startAfterIdstringOptionalDeprecated

The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.

Responses
chevron-right
200

Your search result

application/json

ParcelPaginatedResult

totalnumberOptional

The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.

post
/api/parcels/search

Create return note

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
localestringOptional

Provide the localized values for the return note. If not provided the default locale is used. For example de_DE.

Body

ReturnNote

qrCodeContentstringOptional
Responses
post
/api/returnnotes

List shipments

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
startAfterIdstringOptional

all entities after given Id

sizeintegerOptional

number of entities to show

Default: 25
pickJobRefstringOptional

This query can be used to find shipments for a referenced pickjob

facilityRefstringOptional

This query can be used to find shipments belonging to the referenced facility

carrierRefstringOptional

This query can be used to find shipments for a referenced carrier

tenantOrderIdstringOptional

This query can be used to find shipments with the given tenantOrderId

carrierKeysstring[]Optional

Find shipments with one the the given carriers

statusstring[]Optional

Find shipments in one of the given status

parcelStatusstring[]Optional

Find shipments with parcels in one of the given status

startTargetTimestring · date-timeOptional

Start date range for shipments

Example: 2020-02-03T08:45:50.525Z
endTargetTimestring · date-timeOptional

End date range for shipments

Example: 2020-02-03T08:45:50.525Z
anonymizedbooleanOptional

Parameter to filter anonymized shipments

searchTermstringOptional

Fulltext search in shipment's tenantOrderId, shortId, parcels.carrierTrackingNumber, lineItems.article.tenantArticleId, lineItems.article.title, invoiceAddress, targetAddress and customerName

Responses
chevron-right
200

Shipments are found.

application/json

StrippedShipments

totalintegerOptional

Total number of found entities for this query

Example: 42
get
/api/shipments

Create shipment

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ShipmentForCreation

carrierLogoUrlstringOptional

The URL to the carrier logo

carrierProductstringOptional

Desired product of given carrier to choose when ordering a label

Example: EXPRESS
carrierRefstringOptional

The reference to the carrier for which the shipment is assigned to

Example: ca525716-7208-4a63-a2a6-11274eb37f67-0
customAttributesobjectOptional

Attributes that can be added to the shipment. These attributes cannot be used within fulfillment processes, but it could be useful to have the informations carried here.

facilityRefstringRequired

The reference to the facility which the shipment is assigned to.

operativeProcessRefstringOptional
orderDatestring · date-timeRequired

The date this order was created at the supplying system.

pickJobRefstringOptional

The id of the facility reference.

Example: Esb20gpHBL94X5NdMp3C
processIdstringOptional

Id of the global process related to this entity. For example used for starting the GDPR process and others.

shortIdstringOptional

The short identifier of the shipment.

targetTimestring · date-timeRequired

At which time the result is expected.

Example: 2020-02-03T09:45:51.525Z
targetTimeBaseDatestring · date-timeOptional

The start date for the targetTime calculation.

Example: 2020-02-03T08:45:50.525Z
tenantOrderIdstringOptional

Reference to the order in the tenant system.

Responses
post
/api/shipments

Get shipment

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shipmentIdstringRequired

ID of Shipment you want to get

Responses
chevron-right
200

Shipment was found & you were allowed to access it. The result is in the body.

application/json

Shipment

get
/api/shipments/{shipmentId}

Update shipment

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shipmentIdstringRequired

ID of shipment you want to patch

Body

ShipmentPatchActions

versioninteger · int64Required

The version of the document to be used in optimistic locking mechanisms.

Example: 42
Responses
chevron-right
200

Shipment was found & patch-set has been applied. The patched entity is in the body.

application/json

Shipment

patch
/api/shipments/{shipmentId}

Call shipment action

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shipmentIdstringRequired

Reference to the shipment you want to call an action for

Body

ShipmentActionsParameter

or
Responses
chevron-right
200

Updated Shipment in the body.

application/json

Shipment

post
/api/shipments/{shipmentId}/actions

Get shipment delivery note

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shipmentIdstringRequired

ID of shipment you want to retrieve delivery note for

Query parameters
localestringOptional

Provide the localized values for the delivery note. If not provided the default locale is used. For example de_DE.

Responses
chevron-right
200

Get delivery note as pdf.

application/pdf

DeliveryNote

get
/api/shipments/{shipmentId}/deliverynote

Create shipment parcel

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shipmentIdstringRequired

ID of shipment you want to create parcel for

Body

ParcelForCreation

carrierProductstringOptional

Desired product of given carrier to choose when ordering a label

Example: EXPRESS
carrierRefstringOptional

references the carrier to be used for sending. Can not be set when creating a parcel for an existing shipment.

customAttributesobjectOptional

Attributes that can be added to the parcel. These attributes cannot be used within fulfillment processes, but it could be useful to have the information carried here.

customProductValuenumberOptional

Set this value if you want to overwrite the calculated product value of the parcel.

Example: 12.5
loadUnitRefsstring[]Optional

Reference to array of load unit Refs

productValuenumberOptional

Monetary value of all goods in this parcel. Needed for sending cross border packages (customs) To be interpreted as money in the currency given under paymentInformation.currency. This value is calculated from the items in the parcel.

Example: 12.5
productValueTypestring · enumOptional

ProductValueType

Example: INSURANCEPossible values:
shortIdstringOptionalExample: AA12-1
statusstring · enumOptional

ParcelStatus

Possible values:
tenantOrderIdstringOptional

Field can be used as a reference number in foreign systems, for example as a reference to the source system's identifier for this order.

Example: R456728546
tenantParcelIdstringOptional

Tenant specific parcel id, needs to be unique for non obsolete or canceled parcel

Example: MY-PARCEL-12345
Responses
post
/api/shipments/{shipmentId}/parcels

Create parcel

post

This endpoints directly creates a parcel. If no ShipmentRef was provided, a shipment will be created and linked to this parcel

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ParcelForDirectCreation

carrierProductstringOptional

Desired product of given carrier to choose when ordering a label

Example: EXPRESS
carrierRefstringRequired

references the carrier to be used for sending. Can not be set when creating a parcel for an existing shipment.

customAttributesobjectOptional

Attributes that can be added to the parcel. These attributes cannot be used within fulfillment processes, but it could be useful to have the information carried here.

customProductValuenumberOptional

Set this value if you want to overwrite the calculated product value of the parcel.

Example: 12.5
facilityRefstringRequired

Reference to the facility this parcel is created for

Example: 95EWrieX09OmeriXIUbb
loadUnitRefsstring[]Optional

Reference to array of load unit Refs

operativeProcessRefstringOptional

Reference to the operative process this parcel is created for

Example: 95EWrieX09OmeriXIUbb
orderDatestring · date-timeOptional

Date when the order for the given parcel has been placed Mandatory when no shipmentRef was provided

Example: 2020-02-03T08:45:50.525Z
processRefstringOptional

Reference to the process this parcel is created for

Example: 95EWrieX09OmeriXIUbb
productValuenumberOptional

Monetary value of all goods in this parcel. Needed for sending cross border packages (customs) To be interpreted as money in the currency given under paymentInformation.currency. This value is calculated from the items in the parcel.

Example: 12.5
productValueTypestring · enumOptional

ProductValueType

Example: INSURANCEPossible values:
shipmentRefstringOptional

Reference to the shipment this parcel is created for. If non provided, a shipment will be created automatically.

Example: 95EWrieX09OmeriXIUbb
shortIdstringOptionalExample: AA12-1
statusstring · enumOptional

ParcelStatus

Possible values:
targetTimestring · date-timeOptional

The target time for the parcel to be delivered. If not provided, the current time will be used.

Example: 2020-02-03T08:45:50.525Z
tenantOrderIdstringOptional

Field can be used as a reference number in foreign systems, for example as a reference to the source system's identifier for this order.

Example: R456728546
tenantParcelIdstringOptional

Tenant specific parcel id, needs to be unique for non obsolete or canceled parcel

Example: MY-PARCEL-12345
Responses
post
/api/shipments/parcels

List shipments (search)

post

This part of the API is in Beta status. For details please check the api-release-life-cycle documentationarrow-up-right. Search for Shipment

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

ShipmentSearchPayload

afterstringOptional

The cursor to start after for forward pagination. The value is provided in the pageInfo.endCursor field of the response. Cannot be used with before or last.

beforestringOptional

The cursor to start before for backward pagination. The value is provided in the pageInfo.startCursor field of the response. Cannot be used with after or size (first).

lastnumber · min: 1 · max: 250Optional

Number of items to return for backward pagination. Cannot be used with 'size' (first). Default: 20.

sizenumber · min: 1 · max: 250Optional

Number of items to return for forward pagination. Cannot be used with 'last'. Default: 20.

startAfterIdstringOptionalDeprecated

The ID to start after. Deprecated, use after with the value provided in pageInfo.endCursor instead.

Responses
chevron-right
200

Your search result

application/json

ShipmentPaginatedResult

totalnumberOptional

The total number of items matching the search criteria. Only filled, if withTotal is set to true in the search options.

post
/api/shipments/search

Last updated