Skip to main content
Documentation

Domain

Vehicles capabilities

7 capabilities, all acting on a vehicle. A reference to one from another domain is spelled vehicle_id — never a bare id — and every one of those fields names the capability that produces it, so a model can chain calls without guessing.
CapabilityWhat it doesEffect
vehicles.listPOST /api/v1/vehicles/listList the vehicles in a customer's garage, or across the shopread-only
vehicles.getPOST /api/v1/vehicles/getGet one vehicle by idread-only
vehicles.find_by_vinPOST /api/v1/vehicles/find_by_vinFind a vehicle by its VINread-only
vehicles.createPOST /api/v1/vehicles/createAdd a vehicle to a customer's garagewrites
vehicles.updatePOST /api/v1/vehicles/updateChange one detail on a vehiclewrites
vehicles.typesPOST /api/v1/vehicles/typesList the vehicle size classes this shop prices byread-only
vehicles.decode_vinPOST /api/v1/vehicles/decode_vinDecode a VIN into the vehicle's year, make, model and sizeread-only

← Every domain