Download OpenAPI specification:Download
Lists APIs provided by Fraud Prevention are used to organize recommendations into categories and manage them.
Creates a new recommendation list.
List
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Unique field collision
Rate limit reached
Internal error
{- "list_name": "string",
 - "list_type": "action_id",
 - "creator": "string"
 
}{- "list_name": "string",
 - "tenant_id": "string",
 - "list_type": "action_id",
 - "creator": "string",
 - "list_id": "string",
 - "items": [
- {
- "item_id": "string",
 - "item_created_timestamp": "2019-08-24T14:15:22Z"
 
} 
], - "created_date": "2019-08-24T14:15:22Z",
 - "updated_date": "2019-08-24T14:15:22Z"
 
}Retrieves all lists of the tenant. To return lists that include a specific recommendation, add item_id  to the query.
Matching lists
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Rate limit reached
Internal error
[- {
- "list_name": "string",
 - "tenant_id": "string",
 - "list_type": "action_id",
 - "creator": "string",
 - "list_id": "string",
 - "items": [
- {
- "item_id": "string",
 - "item_created_timestamp": "2019-08-24T14:15:22Z"
 
} 
], - "created_date": "2019-08-24T14:15:22Z",
 - "updated_date": "2019-08-24T14:15:22Z"
 
} 
]Retrieves a specific list by its ID.
List
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Rate limit reached
Internal error
{- "list_name": "string",
 - "tenant_id": "string",
 - "list_type": "action_id",
 - "creator": "string",
 - "list_id": "string",
 - "items": [
- {
- "item_id": "string",
 - "item_created_timestamp": "2019-08-24T14:15:22Z"
 
} 
], - "created_date": "2019-08-24T14:15:22Z",
 - "updated_date": "2019-08-24T14:15:22Z"
 
}Updates a specific list. Currently, you can update a list name.
List
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Unique field collision
Rate limit reached
Internal error
{- "list_name": "string",
 - "tenant_id": "string",
 - "list_type": "action_id",
 - "creator": "string",
 - "list_id": "string",
 - "items": [
- {
- "item_id": "string",
 - "item_created_timestamp": "2019-08-24T14:15:22Z"
 
} 
], - "created_date": "2019-08-24T14:15:22Z",
 - "updated_date": "2019-08-24T14:15:22Z"
 
}Removes a recommendation list by its ID.
Success
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Rate limit reached
Internal error
{- "message": "string"
 
}Adds recommendations to the specific list.
List contents
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Unique field collision
Rate limit reached
Internal error
{- "item_ids": [
- "string"
 
] 
}{- "list_id": "string",
 - "tenant_id": "string",
 - "added_date": "2019-08-24T14:15:22Z",
 - "items": [
- {
- "item_id": "string",
 - "item_created_timestamp": "2019-08-24T14:15:22Z"
 
} 
] 
}Removes a specific item from the list.
Success
Bad request
Invalid authentication
Invalid authorization (e.g, unauthorized resource)
Not found
Rate limit reached
Internal error
{- "message": "string"
 
}