This API enables activating a return parcel.
Contents
Table of Contents | ||
---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
The user is a ws-user
The user has access to the web service FlowBooking
The user has access to the shop registered on the parcel
A parcel can only be activated once
Anchor | ||||
---|---|---|---|---|
|
Make sure you have the following information at hand before proceeding.
Example | Description | |
---|---|---|
Username (see Authentication section) | wsfoobar | A valid username. |
Password (see Authentication section) | a-very-very-long-password | A password matching given username. |
Anchor | ||||
---|---|---|---|---|
|
Consider using the TEST-endpoint wile developing your system. By doing this you ensure that your test-data will not pollute any potential external systems.
TEST |
|
| ||||||||
---|---|---|---|---|---|---|---|---|---|---|
PRODUCTION |
|
|
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Info | |
---|---|
title | Notes
|
Anchor | ||||
---|---|---|---|---|
|
key | value example | comment |
---|---|---|
Authorization | Bearer "SECRET_WS_TOKEN" | See authentication on how to obtain a token |
Content-Type | application/json |
Anchor | ||||
---|---|---|---|---|
|
Name | Type | Example | Mandatory | Description |
---|---|---|---|---|
identifier | string | (401)70712190172720651 / (00)370123460120012952 | The identifier determines the parcel which should be activated. Identifier can be either a trackingReference or a shipmentId. | |
desiredDeliveryDate | string | 20190612 | Date format yyyyMMdd. Optional field. |
should pickup the package and should be earliest tomorrow. Normally the |
consignor / sender will be instructed to lay out the package the day before pickup. |
exceed three months. |
Response
Name | Type | Example | Description |
---|---|---|---|
list |
of party objects | Note that the API could make minor changes to the returned consignee address. | |
map |
of root properties | Map with additional properties. See root properties below. |
Root properties
Name | Type | Example | Description |
---|---|---|---|
returnCode | string | R-1337 | This can be placed on some shipping labels. |
pickupDate | string | 12.06.2019 | Defines which date the customer should return the parcel. |
placementCode | string | mailbox | Defines where the customer should place the parcel when ready for pickup. |