Transports v2

Add transport information

Used to add information to a specific transport. The :id (Transport-ID)  is part of the Shipment. You can retrieve the transport-id through the GET shipments request.

Warning: It is not possible to change a transport. You can only add information that you left out when creating the shipment.

PUT /services/rest/transports/v2/:id

Parameters

Name Type Description
transport-id integer Required. Used to specify which transport you want to add information (like Track&trace) to.
PUT /services/rest/transports/v2/106603145

Input

Name Type Description
TransporterCode string Required. Specify the transporter used to fulfil this shipment. Choose a transporter from the list of available transporters.
TrackAndTrace string Required. Track&trace code associated with this transport.

Warning: This field is checked for a valid track&trace code. If you do not have the code, please omit this attribute entirely

Example request

<ChangeTransportRequest xmlns="https://plazaapi.bol.com/services/xsd/v2/plazaapi.xsd">
  <TransporterCode>DPD-BE</TransporterCode>
  <TrackAndTrace>3SNEW941245</TrackAndTrace>
</ChangeTransportRequest>

Example response

Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<ns1:ProcessStatus xmlns:ns1="https://plazaapi.bol.com/services/xsd/v2/plazaapi.xsd">
  <ns1:id>25</ns1:id>
  <ns1:sellerId></ns1:sellerId>
  <ns1:entityId></ns1:entityId>
  <ns1:eventType>CHANGE_TRANSPORT</ns1:eventType>
  <ns1:description>Change transport with id.</ns1:description>
  <ns1:status>PENDING</ns1:status>
  <ns1:createTimestamp></ns1:createTimestamp>
  <ns1:Links>
    <ns1:link ns1:method="GET" ns1:href="https://plazaapi.bol.com/services/rest/process-status/v2/25" ns1:rel="self" />
  </ns1:Links>
</ns1:ProcessStatus>

More information on the process-status endpoint.

Nieuws via e-mail

Mochten we nieuws hebben, dan stellen we je via deze weg op de hoogte.
Helemaal onderin deze pagina vind je ook ons Twitter en Google+ kanaal.