Carriers Configuration (Operations)

Endpoints to create, update and read carriers configuration.

Get carrier config

get

Retrieves the configuration for a specific carrier by its ID. If no configuration exists, a default one is created and returned.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
Responses
200

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

application/json

CarrierConfiguration

additionalWeightInPercentnumberOptional

It is an amount of percentage for packaging weight which will be added to the calculated shipping weight

carrierRefstringRequired

Reference to the carrier this configuration belongs to

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

fallBackTrackAndTraceEmailstring · email · min: 1Optional

EmailAddress used to receive track and trace information when no other emailaddress was provided

Example: [email protected]
idstringOptional

The id of the carrier configuration

lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

mustBeWeighedbooleanOptional

Indicates if the content of a parcel must be weighed before ordering a label

Default: falseExample: false
returnLabelbooleanRequired

When enabled, a return label will be created by creating a shipping label

Default: falseExample: false
serviceUrlstringOptional

Service URL for this carrier configuration

versionintegerRequired

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

Example: 42
get
/api/carriers/{carrierId}/configuration

Update carrier config

put

Updates the complete configuration for a specific carrier. This includes settings like return labels, weight adjustments, non-delivery days, country service mappings, and pick-up times.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
Body
or
or
or
or
or
or
or
or
or
Responses
200

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

application/json

CarrierConfiguration

additionalWeightInPercentnumberOptional

It is an amount of percentage for packaging weight which will be added to the calculated shipping weight

carrierRefstringRequired

Reference to the carrier this configuration belongs to

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

fallBackTrackAndTraceEmailstring · email · min: 1Optional

EmailAddress used to receive track and trace information when no other emailaddress was provided

Example: [email protected]
idstringOptional

The id of the carrier configuration

lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

mustBeWeighedbooleanOptional

Indicates if the content of a parcel must be weighed before ordering a label

Default: falseExample: false
returnLabelbooleanRequired

When enabled, a return label will be created by creating a shipping label

Default: falseExample: false
serviceUrlstringOptional

Service URL for this carrier configuration

versionintegerRequired

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

Example: 42
put
/api/carriers/{carrierId}/configuration

List country service mappings

get

List country service mappings

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
Responses
200

Carrier's countryservicemappings found & you are allowed to access it. The result is in the body.

application/json

CarrierCountryServiceMapping

carrierProductCategorystring · enumOptional

Desired product class to choose when ordering a label

Possible values:
countAsTransitDayBeforestringOptional

Time before which this day counts as a transit day

Example: 12:00
destinationCountriesstring[] · max: 250OptionalDeprecated

deprecated - Use destinations instead.

idstringRequired

Unique identifier for a countryServiceMapping

Example: bc5b581a-8f65-45b0-9f81-6e0d4babbcb2
productsstring[] · max: 50Optional

Array of products for the given mapping

sourceCountrystringOptionalDeprecated

deprecated - Use source instead.

Example: DE
staticCCSMRefstringOptional

Reference to a static country service mapping

get
/api/carriers/{carrierId}/configuration/countryservicemappings

Create country service mapping

post

Create country service mapping

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

CarrierCountryServiceMappingForCreation

carrierConfigurationVersioninteger · int64Required

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

carrierProductCategorystring · enumOptional

Desired product class to choose when ordering a label

Possible values:
countAsTransitDayBeforestringOptional

Time before which this day counts as a transit day

destinationCountriesstring[] · min: 1OptionalDeprecated

deprecated - Use destination instead.

productsstring[]Optional

Products for this mapping

sourceCountrystring · min: 2 · max: 2OptionalDeprecated

deprecated - Use source instead.

Responses
post
/api/carriers/{carrierId}/configuration/countryservicemappings

Get country service mapping

get

Get country service mapping

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
countryServiceMappingIdstringRequired
Responses
200

Carrier's countryservicemapping found & you are allowed to access it. The result is in the body.

application/json

CarrierCountryServiceMapping

carrierProductCategorystring · enumOptional

Desired product class to choose when ordering a label

Possible values:
countAsTransitDayBeforestringOptional

Time before which this day counts as a transit day

Example: 12:00
destinationCountriesstring[] · max: 250OptionalDeprecated

deprecated - Use destinations instead.

idstringRequired

Unique identifier for a countryServiceMapping

Example: bc5b581a-8f65-45b0-9f81-6e0d4babbcb2
productsstring[] · max: 50Optional

Array of products for the given mapping

sourceCountrystringOptionalDeprecated

deprecated - Use source instead.

Example: DE
staticCCSMRefstringOptional

Reference to a static country service mapping

get
/api/carriers/{carrierId}/configuration/countryservicemappings/{countryServiceMappingId}

Delete country service mapping

delete

Delete country service mapping

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
countryServiceMappingIdstringRequired
Responses
200

CarrierCountryServiceMapping successfully deleted.

No content

delete
/api/carriers/{carrierId}/configuration/countryservicemappings/{countryServiceMappingId}

No content

Update country service mapping

patch

Update country service mapping

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
carrierIdstringRequired
countryServiceMappingIdstringRequired
Body

CarrierCountryServiceMappingForUpdate

carrierConfigurationVersioninteger · int64Required

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

carrierProductCategorystring · enumOptional

Desired product class to choose when ordering a label

Possible values:
countAsTransitDayBeforestringOptional

Time before which this day counts as a transit day

destinationCountriesstring[] · min: 1OptionalDeprecated

deprecated - Use destination instead.

productsstring[]Optional

Array of products for the given mapping

sourceCountrystring · min: 2 · max: 2OptionalDeprecated

deprecated - Use source instead.

Responses
200

CarrierCountryServiceMapping successfully updated. The result is in the body.

application/json

CarrierCountryServiceMapping

carrierProductCategorystring · enumOptional

Desired product class to choose when ordering a label

Possible values:
countAsTransitDayBeforestringOptional

Time before which this day counts as a transit day

Example: 12:00
destinationCountriesstring[] · max: 250OptionalDeprecated

deprecated - Use destinations instead.

idstringRequired

Unique identifier for a countryServiceMapping

Example: bc5b581a-8f65-45b0-9f81-6e0d4babbcb2
productsstring[] · max: 50Optional

Array of products for the given mapping

sourceCountrystringOptionalDeprecated

deprecated - Use source instead.

Example: DE
staticCCSMRefstringOptional

Reference to a static country service mapping

patch
/api/carriers/{carrierId}/configuration/countryservicemappings/{countryServiceMappingId}

Get transit time config

get

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

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

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

application/json

TransitTimeConfiguration

createdstring · date-timeOptional

The date this entity was created at the platform. This value is generated by the service.

Example: 2020-02-03T08:45:51.525Z
lastModifiedstring · date-timeOptional

The date this entity was modified last. This value is generated by the service.

Example: 2020-02-03T09:45:51.525Z
versioninteger · int64Required

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

Example: 42
calculationStrategystring · enumRequiredPossible values:
idstringRequired
get
/api/configurations/transittime

Last updated