Confirmation/withdrawal statuses

Application logic 198 views

The shipments.collection_state field allows for these possible states:

id

Icon

State

Description

Subsequent states

1

NOT_PLANNED

This concerns all cases in which collection by the courier is not foreseen or has not yet been requested

REQUESTED_SINGLE

REQUESTED_AGGREGATED

2


REQUESTED_SINGLE

Indicates that a collection request has been made for a single shipment

PLANNED_WITHOUT_DATE

PLANNED_WITH_DATE

FAILED

3


REQUESTED_AGGREGATED

Indicates that an aggregate collection request has been made, for multiple shipments at the same time

PLANNED_WITHOUT_DATE

PLANNED_WITH_DATE

FAILED

4

PLANNED_WITHOUT_DATE

This concerns all cases in which collection by the courier is planned, but without a specific agreed date

-

5

PLANNED_WITH_DATE

This concerns all cases in which collection by the courier is foreseen, with a specific agreed date

-

9


FAILED

Withdrawal request failed

REQUESTED_SINGLE

REQUESTED_AGGREGATED