Examples

These examples are an internal illustration of how the different return types affect delivery options generation, ordering and filtering.

Different backend systems may have variations in how the methods are implemented and also may only provide a subset of these types.

When making an implementation / product / UX decision related to the return type parameter, please make sure you seek advise and discuss it with a MetaPack implementation analyst.

Service Definitions

Group (*1) Service Cost Score Type (*2)
X A 9 1 24h
X B 8 2 48h
X C 7 3 24h
Y C 7 3 24h
Y D 6 4 48h
Y E 5 5 48h

Notes

  1. Carrier Service Group
  2. Carrier Service Type

Grids

Services by Cost / Score

gsc / gss

Mon. Tue. Wed. Thu. Fri. Sat. Sun.
- TODAY A [X]
C [X, Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]
A [X]
B [X]
C [X, Y]
D [Y]
E [Y]

Groups by Cost

ggg

Groups are expanded: if a service belongs to multiple groups, there will be one option per service + unique group combination which is then filtered by selecting the cheapest one, per group in each day.

Mon. Tue. Wed. Thu. Fri. Sat. Sun.
- TODAY A [X]
C [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]
C [X]
E [Y]

Lists

Groups by Cost

lgg

C [X], E [Y] (earliest collection slots)

Services by Cost

lsc

E [Y], D [Y], C [X], C [Y], B [X], A [X] (earliest collection slots)

Services by Date

lsd

A [X], C [X, Y], B [X], D [Y], E [Y] (earliest delivery slots)

Services by Score

lss

E [Y], D [Y], C [Y], C [X], A [X], B [X] (earliest collection slots)

results matching ""

    No results matching ""