Create a case from Frontier transactions

Creates a ThinkLP investigation case and links a batch of Frontier point-of-sale transactions to it as snapshots.

The API resolves each transaction's employee to a canonical Person and attaches that Person to the case as an involved person. When a Contact has no canonical Person, the API provisions one. When an employee cannot be resolved, the request fails.

The API also provisions each line item as a canonical Item and attaches it as a case item. It aggregates line items case-insensitively by SKU.

The whole operation is transactional. Any failure rolls back the case and every link. A write that the platform rejects returns 400 INVALID_CASE_PAYLOAD, and the message names the platform status code and the rejected fields. A duplicate transaction id returns 409 ALREADY_LINKED instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
theftCase
object
required

Case header for the investigation case to create. These fields map to the Theft Case API. See that reference for the authoritative and complete field list. This endpoint derives the case's involved persons and case items from the transactions' employees and line items. It ignores any value you supply here for those collections.

transactions
array of objects
required
length ≥ 1

Frontier transactions to snapshot and link. Must contain at least one entry.

transactions*
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json