Default:Cumulus
Example:2023-04-02T00:00:00Z
This path requests the computation of scores for all customers known in the domain. Scores are not immediately computed but must be acquired from the Google Storage URI returned. Depending on system load, it can take between a few minutes to several hours before scores are available. Clients must periodically check the returned URI, in order to know if the requested scores are ready for download.
The format of the scores is parquet.
After some period (usually several days) computed scores are garbage collected.
Default:Cumulus
Example:2023-04-02T00:00:00Z
Batch scoring request parameters
Relative share of scores to keep, descending order (aka. X1FilterRatio). This filter is applied after any filters based on single scores (e.g. max_score).
Default:0.75
>= 0<= 1
Migros ArtikelID
Match pattern:^[a-zA-Z0-9=]+$
Example:110136400000
Inclusive upper predicted purchase probability limit. Useful for not offering items which will be bought also without any incentive or communication.
Default:0.9
>= 0<= 1
Ratio of scores for not bought (in the last 12 months) items to bought items (aka. X0toX1FilterRatio). This filter is applied after any filters based on single scores (e.g. max_score).
Default:0.2
>= 0
Scoring request accepted
Example:gs://mgb-recommender-dev-data/1.0.0/scores/Cumulus/c4f01b13d11d7fd2-20211120T113908.123Z-20210919T000000.000Z/scores
Online scoring of individual customers/items.
Returns score (purchase probability) for the next seven days from the instant the query is executed. Optionally returns the input features that the model used.
Return features used as input in recommender model.
Default:false
Default:Cumulus
e.g. CumulusID, PersonenID or pseudonymized version thereof
Match pattern:^[a-zA-Z0-9-]+$
Example:2099XXXXXXX
Migros ArtikelID
Match pattern:^[a-zA-Z0-9=]+$
Example:110136400000
OK
Returns scores based on purchase probabilities for the next seven days from the instant the query is executed.
If a customer has opted out from profiling and/or has no transactions, scores for popular items are returned as a fallback. API consumers are notified about non-personalized scores i.e. popular items via HTTP response header.
Number of items. May return less than requested items.
Default:10
>= 1<= 300
Select whether to return only items not bought in the last twelve months, items bought in the last twelve months, or all items.
Allowed values:allnot_boughtbought
Default:all
Comma separated list of up to 50 item IDs. If provided, only items contained in item_list will be returned.
Match pattern:^[a-zA-Z0-9]+(,[a-zA-Z0-9]+){0,49}$
Comma separated list of up to 50 item IDs. If provided, items contained in items_blacklist will not be returned.
Match pattern:^[a-zA-Z0-9]+(,[a-zA-Z0-9]+){0,49}$
Select which items will be scored: all or only currently promoted items.
Allowed values:allpromoted
Default:all
Default:Cumulus
e.g. CumulusID, PersonenID or pseudonymized version thereof
Match pattern:^[a-zA-Z0-9-]+$
Example:2099XXXXXXX
OK
Migros ArtikelID
Match pattern:^[a-zA-Z0-9=]+$
Example:110136400000
Depending on context, a score relates to a 7-day purchase probability or is just a ranking.
>= 0<= 1
Get a customer’s purchased items sorted by recency, frequency, or monetary.
Number of items
Default:100
>= 1<= 700
Number of days to be considered
Default:180
>= 1<= 365
Default:Cumulus
e.g. CumulusID, PersonenID or pseudonymized version thereof
Match pattern:^[a-zA-Z0-9-]+$
Example:2099XXXXXXX
A comma separated list of sorting criteria. Currently, the following sorting criteria are understood:
The ordering is as follows:
It is strongly recommended to specify multiple sorting criteria in order to break ties. Example: sort_by=recency,monetary
Match pattern:^(recency|monetary|frequency)(,(recency|monetary|frequency)){0,2}$
Default:recency,monetary
OK
Migros ArtikelID
Match pattern:^[a-zA-Z0-9=]+$
Example:110136400000