v3 - Transports - Demo Endpoints

Change transport information for order 7616222250

Change transport information for order 7616222250.

PUT /retailer-demo/transports/358612589

  • Request

  • Response

Accept: application/vnd.retailer.v3+json
Content-Type: application/vnd.retailer.v3+json
Authorization: Bearer token (omitted)

{
  "transporterCode" : "TNT",
  "trackAndTrace" : "3SAOLD1234567"
}

Content-Type: application/vnd.retailer.v3+json
Status: 202 ACCEPTED

{
  "id" : 1,
  "entityId" : "358612589",
  "eventType" : "CHANGE_TRANSPORT",
  "description" : "Change transport with id 358612589.",
  "status" : "PENDING",
  "createTimestamp" : "2020-10-26T10:21:58+01:00",
  "links" : [ {
    "rel" : "self",
    "href" : "http://api.bol.com/retailer-demo/process-status/1",
    "method" : "GET"
  } ]
}

Change transport information for order 7616222700

Change transport information for order 7616222700.

PUT /retailer-demo/transports/356988715

  • Request

  • Response

Accept: application/vnd.retailer.v3+json
Content-Type: application/vnd.retailer.v3+json
Authorization: Bearer token (omitted)

{
  "transporterCode" : "TNT",
  "trackAndTrace" : "3SBOLD1234567"
}

Content-Type: application/vnd.retailer.v3+json
Status: 202 ACCEPTED

{
  "id" : 1,
  "entityId" : "356988715",
  "eventType" : "CHANGE_TRANSPORT",
  "description" : "Change transport with id 356988715.",
  "status" : "PENDING",
  "createTimestamp" : "2020-10-26T10:21:58+01:00",
  "links" : [ {
    "rel" : "self",
    "href" : "http://api.bol.com/retailer-demo/process-status/1",
    "method" : "GET"
  } ]
}

Change transport information for order 7616222700

Change transport information for order 7616222700.

PUT /retailer-demo/transports/356988863

  • Request

  • Response

Accept: application/vnd.retailer.v3+json
Content-Type: application/vnd.retailer.v3+json
Authorization: Bearer token (omitted)

{
  "transporterCode" : "TNT",
  "trackAndTrace" : "3SBOLD1234567"
}

Content-Type: application/vnd.retailer.v3+json
Status: 202 ACCEPTED

{
  "id" : 1,
  "entityId" : "356988863",
  "eventType" : "CHANGE_TRANSPORT",
  "description" : "Change transport with id 356988863.",
  "status" : "PENDING",
  "createTimestamp" : "2020-10-26T10:21:58+01:00",
  "links" : [ {
    "rel" : "self",
    "href" : "http://api.bol.com/retailer-demo/process-status/1",
    "method" : "GET"
  } ]
}