This API enables activating a return parcel.
...
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.
...
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
| codehttps://staging-ws.di.no/ws/json/parcel/booking/v-1/activateOrder | |||||||||
PRODUCTION
| codehttps://ws.di.no/ws/json/parcel/booking/v-1/activateOrder |
Anchor | ||||
---|---|---|---|---|
|
...
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. |
Error response
Code | Action |
---|---|
409 - order.waiting.for.register.arrival | Activation done too soon after registration. Wait a couple of minutes and try again |