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
chevron-right
201

Successfully created the delivery note.

application/pdf

DeliveryNote

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
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
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
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
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
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
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
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
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
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
chevron-right
201

Successfully created the return note.

application/pdf

ReturnNote

qrCodeContentstringOptional
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
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
chevron-right
201

The Shipment was successfully created. The Location header contains the URL of the Shipment.

application/json

Shipment

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
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
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
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
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
chevron-right
201

The Parcel was successfully created. The Location header contains the URL of the Shipment.

application/json

Parcel

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
chevron-right
201

Parcel was successfully created

application/json

Parcel

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
post
/api/shipments/search

Last updated