Skip to main content

Transactions

A Transaction is the sale of tires from a manufacturer to a dealer. Each Transaction contains tire information, quantity, date, and price. Transactions do not include dealer or consumer level information.

Creating a Transaction

POST /tire-protection/transactions

To create a Transaction, send a POST request to the /tire-protection/transactions endpoint with a JSON payload matching the Transaction object schema

tip

This endpoint only accepts JSON - set the HTTP header Content-Type: application/json on every POST request.

Parameters

HTTP Headers

HeadersDescription
AuthorizationBearer token in form of a JWT see getting started for more information

HTTP Request Body

Send a Transaction object as the request body as JSON.

Errors

This endpoint may respond with any documented of the status codes, however the most common errors are 401: Unauthorized and 400: Bad Request.

StatusNameDescriptionResolution
400Bad RequestThe server could not understand the requestCheck all parameters and ensure the request is valid
401UnauthorizedThe request is unauthenticatedEnsure your JWT is valid

Example

Transaction object

{
"product_id": "YOUR-PRODUCT-ID",
"make": "NOKIAN",
"model": "HAKKAPELIITTA R5",
"size": "255/45R19",
"treadDepth": 12,
"date": "2025-09-15T13:08:00.000Z",
"unitPrice": 340,
"quantity": 16,
"isTrailer": false,
"partNumber": "NOK-117494",
"dot": "1B914057X3325"
}

Request

curl --location \
--request POST "https://sandbox.absintegrations.com/api/v3/tire-protection/transactions" \
--header "Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2Mjc2NTU5NzAsImV4cCI6MTYyNzY2MzE3MCwiYXVkIjoiaHR0cHM6Ly9zYW5kYm94LmFic2ludGVncmF0aW9ucy5jb20vYXBpL3YzIiwiaXNzIjoiNjEwMmI1MjFmNDAzZjQyZGRjZGU3YWU1In0.y5-vxJHlBtVf2Jr9sPO4I97L5hImkhyn1EtHeCoeIzqZwObpcVy9ZEMJoCGbXwnGdeZ6GpaiO8KD9xLqgUZcTg" \
--header "Content-Type: application/json" \
--data-raw '{
"product_id": "YOUR-PRODUCT-ID",
"make": "NOKIAN",
"model": "HAKKAPELIITTA R5",
"size": "255/45R19",
"treadDepth": 12,
"date": "2025-09-15T13:08:00.000Z",
"unitPrice": 340,
"quantity": 16,
"isTrailer": false,
"partNumber": "NOK-117494",
"dot": "1B914057X3325"
}'

Response

This endpoint will respond with HTTP status code 204: No Content and no response body if the request to create a transaction is successful.

StatusNameDescription
204No ContentThe transaction was successfully created