Skip to main content

Cancellations

danger

This version of the API has been deprecated and is no longer supported.

Cancellation of an existing warranty.

warning

To accommodate retransmissions any cancellation with identical OrgID, ShopID, InvoiceNumber, CancelShopID and CancelInvoiceNumber will be treated as an update, not a new cancellation.

Field NameField DescData TypeRequiredNotes
OrgIDOrganization IDstring (50)NOptional field for grouping. For example ownership group. Blank if not passed in
ShopIDDealer/Store/Shop IDstring(25)YShop ID from original sale and registration
InvoiceNumberSale Invoice Numberstring(25)YInvoice from the original sale and registration
CancelShopIDDealer/Store/Shop IDstring(25)YShop ID where the tire registrations were cancelled
CancelInvoiceNumberSale Invoice Numberstring(25)YInvoice from the the shop where tire registrations were cancelled
TireCancelCountCount of Tires CancelledintYHow many tires were cancelled
CancelDateDate CancelleddatetimeYDate of the cancellation

Get Cancellations

GET https://data.absintegrations.com/v2/partners/{company_name}?rec=cancellations

Use this endpoint to retrieve one or more cancellations

Example

curl --location --request GET https://data.absintegrations.com/v2/partners/{company_name}?rec=cancellations&partnerid={partnerid}&ShopID={shop_id}&InvoiceNumber={invoice_number} \
--header 'content-type: application/json' \
--header 'Authorization: Bearer {JWT}'

The above returns JSON structured like this

{
"PartnerID": 1001,
"OrgID": "",
"ShopID": "005108",
"InvoiceNumber": "104283",
"CancelShopID": "005108",
"CancelInvoiceNumber": "104283",
"CancelDate": "2020-01-27T00:00:00Z"
}

Create Cancellations

POST https://data.absintegrations.com/v2/partners/{company_name}

Use this endpoint to make one or more cancellation with ABS

Example

curl --request POST \
--url https://data.absintegrations.com/v2/partners/{company_name} \
--header 'authorization: Bearer eyJhb...SQj6A' \
--header 'content-type: application/json' \
--data {
"Cancellations": [
{
"ShopID": "005054568",
"InvoiceNumber": "354365667",
"CancelShopID": "005054568",
"CancelInvoiceNumber": "365365167",
"TireCancelCount": "1",
"CancelDate": "2020-01-27"
}]}