api-documentation
api-documentation
InventoryService
Overview
Security
Type Name Scopes
apiKey Bearer
Paths
POST /v1/Images/addImage Uploads an image to a
specified inventory item. This endpoint allows adding
images during the creation or update of a stock.
Parameters
Responses
Content
text/plain
application/json
text/json
404 Returns an error if the specified inventory item is not found. No Links
500 Returns an error if the image upload fails due to server-side issues. No Links
1
DELETE /v1/Images/deleteImage Deletes a specific image
associated with an inventory item. This endpoint
allows removing images during the update of a stock.
Parameters
query forId The unique identifier of the inventory item from string
optional which the image will be deleted.
Responses
200 Returns a boolean value of true if the image is successfully deleted. No Links
Content
text/plain
application/json
text/json
400 Returns an error if the image or inventory item is not found. No Links
500 Returns an error if the image deletion fails due to server-side issues. No Links
query forId The unique identifier of the inventory item from string
optional which all images will be deleted.
Responses
2
Code Description Links
200 Returns a boolean value of true if all images are successfully No Links
deleted.
Content
text/plain
application/json
text/json
500 Returns an error if the image deletion fails due to server-side issues. No Links
Responses
Content
text/plain
application/json
text/json
404 Returns an error if the inventory ID is invalid or the inventory item No Links
is not found.
3
Code Description Links
Content
text/plain
application/json
text/json
401 Returns an error if the user is unauthorized to perform this action. No Links
Content
text/plain
application/json
text/json
400 Returns an error message if the request is invalid or the update fails. No Links
4
Code Description Links
Content
text/plain
application/json
text/json
Content
text/plain
application/json
text/json
200 Returns a list of inventory states with their associated actions as a No Links
List{InventoryState}
Content
text/plain
application/json
text/json
5
GET /v1/Inventory/getInventoriesCountCallToAction
Retrieves the count of inventory items grouped by
state or call-to-action.
This endpoint is used for dashboard reporting of stock counts. .Responses
200 Returns a list of states and their corresponding inventory counts as No Links
a GetInventoriesCountForStatesAndCallToActionQueryResponse
object.
Content
text/plain
application/json
text/json
query year The year of the vehicle whose details need to be integer (int32)
optional fetched.
query vin The VIN of the vehicle whose details need to be string
optional fetched.
Responses
200 If the VIN is found then vehicle details are returned successfully. No Links
Content
text/plain
application/json
text/json
6
Components
Schemas
AddInventoryCommand
Properties
inventoryMod InventoryMod
el optional el
Address
Properties
addressType AddressTypes
optional
AddressTypes
AssignedAuctionHouse
Represents the auction house that has been assigned to handle the auction of the inventory item.
Properties
7
Name Description Schema
nullable
nullable
isRecommende Indicates whether this auction house is recommended for the boolean
dAuctionHouse inventory item.
optional
nullable
AssignedAuctionInHouse
Properties
AuctionInformation
Properties
8
Name Description Schema
AuctionTransportDetails
Properties
9
Name Description Schema
AudioOptions
BodyType
BuyerInfo
Properties
10
Name Description Schema
CTAItem
Properties
Color
Properties
Condition
Properties
11
Name Description Schema
conditionRepo ConditionRepo
rtIAA optional rtIAA
ConditionReport
Properties
ConditionReportIAA
Properties
12
Name Description Schema
Contact
Properties
ContactDetails
Properties
Description
Properties
13
Name Description Schema
interiorColor Color
optional
exteriorColor Color
optional
engineType EngineType
optional
transmission TransmissionT
optional ype
interiorType InteriorType
optional
roofType RoofType
optional
driveType DriveType
optional
14
Name Description Schema
DriveType
DropOff
Represents the details related to the drop-off of an inventory item, applicable when the transport
type is "DropOff".
Properties
when optional The date and time when the drop-off is scheduled to occur. This string (date-
field is conditionally required based on specific business rules. time)
nullable
notes optional Additional notes or remarks about the drop-off, such as special string
instructions or clarifications.
nullable
EditableInventoryModel
Properties
pickupInforma Pickup
tion optional
dropOffInform DropOff
ation optional
subtype BodyType
optional
15
Name Description Schema
assignedAuctio AssignedAuctio
nHouse nHouse
optional
assignedAuctio AssignedAuctio
nInHouse nInHouse
optional
contact Contact
optional
description Description
optional
odometer Odometer
optional
physicalLocati PhysicalLocati
on optional on
condition Condition
optional
auctionTransp AuctionTransp
ortDetails ortDetails
optional
recommended Recommended
AuctionHouse AuctionHouse
optional
16
Name Description Schema
mmrReport MMRReport
optional
buyerInfo BuyerInfo
optional
17
Name Description Schema
paymentInfo PaymentInfo
optional
invoiceInfo InvoiceInfo
optional
EngineType
FuelType
GetAllInventoriesQuery
Properties
GetAllInventoriesQueryResponse
Properties
18
GetInventoriesCountForStatesAndCallToActionQueryResponse
Properties
GetInventoryQueryResponse
Properties
inventory InventoryMod
optional el
ImageModel
Properties
nullable
nullable
InteriorType
InventoryChangedEvent
Properties
InventoryCreatedEvent
Properties
19
Name Description Schema
inventoryMod InventoryMod
el optional el
InventoryHistory
Properties
trackingColor TrackColor
optional
InventoryModel
Properties
inventoryId The unique identifier for the inventory item, stored as an string
optional ObjectId in MongoDB.
nullable
sellerOrganizat The identifier of the seller organization that owns this inventory string
ionId optional item.
nullable
sellerOrganizat The identifier of the specific office of the seller organization that string
ionOfficeId owns this inventory item.
optional
nullable
creatorAccount The account ID of the user who created the inventory record. string
optional
nullable
pickupInforma Pickup
tion optional
dropOffInform DropOff
ation optional
subtype BodyType
optional
20
Name Description Schema
assignedAuctio AssignedAuctio
nHouse nHouse
optional
assignedAuctio AssignedAuctio
nInHouse nInHouse
optional
vin optional The unique Vehicle Identification Number (VIN) for this string
inventory item.
nullable
contact Contact
optional
description Description
optional
odometer Odometer
optional
physicalLocati PhysicalLocati
on optional on
conditionRepo Reports on the condition of the vehicle, provided by the auction <
rts optional house. ConditionRepo
rt > array
nullable
condition Condition
optional
currentState The current state of the inventory item in the workflow (e.g., string
optional Pending, Sold).
nullable
21
Name Description Schema
auctionTransp AuctionTransp
ortDetails ortDetails
optional
recommended Recommended
AuctionHouse AuctionHouse
optional
statesHistory A history of state changes for the inventory item, including <
optional timestamps. InventoryHisto
ry > array
nullable
stockNumber A unique stock number assigned to this inventory item by the integer (int32)
optional Revv system.
nullable
assignmentDat The date on which the inventory was assigned to its current state string (date-
e optional or workflow. time)
nullable
nullable
sales optional A collection of sales records related to the inventory item. < Sale > array
nullable
lights optional A list of light indicators associated with the vehicle’s condition. < Lights >
array
nullable
blackbookValu The market valuation of the vehicle as per the BlackBook API. number
e optional (double)
nullable
mmrReport MMRReport
optional
nullable
isFloorPriceDis Indicates if the floor price is disabled for this inventory item. boolean
able optional
nullable
22
Name Description Schema
isAssignSaleDa Indicates if the assignment sale date is disabled for this boolean
teDisable inventory item.
optional
nullable
sold optional The date when the inventory item was sold. string (date-
time)
nullable
cancellation The date when the inventory item was canceled. string (date-
optional time)
nullable
clearedForSale The date when the inventory item was cleared for sale. string (date-
Date optional time)
nullable
reRuns The number of times the inventory item has been re-listed for integer (int32)
optional sale.
nullable
buyerInfo BuyerInfo
optional
paymentInfo PaymentInfo
optional
invoiceInfo InvoiceInfo
optional
legalSaleDate The legally binding sale date for the inventory item. string (date-
optional time)
nullable
saleableDate The date from which the inventory item becomes saleable. string (date-
optional time)
nullable
onlineDaysRun A string representation of the number of days the inventory item string
optional has been online.
nullable
InventoryState
Properties
23
Name Description Schema
InvoiceInfo
Properties
Lights
LocationType
24
MMRReport
Properties
Odometer
Properties
OdometerType
OdometerUnits
OperatingLocation
Properties
PaymentInfo
Properties
25
Name Description Schema
PhysicalLocation
Properties
operatingLocat OperatingLoca
ion optional tion
26
Name Description Schema
Pickup
Represents the details related to the pickup of an inventory item, applicable when the transport
type is "Pickup".
Properties
when optional The date and time when the pickup is scheduled to occur. This string (date-
field is conditionally required based on certain business rules. time)
nullable
notes optional Additional notes or remarks about the pickup, provided for string
clarification or special instructions.
nullable
nullable
location Address
optional
primaryContac ContactDetails
t optional
secondaryCont ContactDetails
act optional
PriorPaint
Properties
RecommendedAuctionHouse
Properties
27
Name Description Schema
RoofType
Sale
Properties
saleOutcome SaleOutcomes
optional
auctionInform AuctionInform
ation optional ation
28
SaleOutcomes
StateCTAs
Properties
Title
Properties
location TitleLocation
optional
operatingLocat OperatingLoca
ion optional tion
branding TitleBranding
optional
TitleBranding
TitleLocation
TrackColor
TransmissionType
29
VINLookupQueryResponse
Properties
30
VehicleType
31