# Modules

Endpoints for managing minor features that are not directly related to the main endpoints.

Available modules:

* Wishlist - Endpoints for managing wishlists
* Vehicles - Endpoints for managing vehicles [PREVIEW]


## List Vehicles [PREVIEW]

 - [GET /modules/vehicles/customerId/{customerId}](https://dev.triggloyalty.com/openapi/modules/getvehiclesbycustomerid.md): This method allows the client to search for vehicles by a customer id

Example: B9012E40-1B08-4DC5-84F9-BB8E2653B2A6

The response sample below shows the default response, but depending on your configuration the API may return additional fields in the extendedProperties object.

## Create Vehicle [PREVIEW]

 - [POST /modules/vehicles/customerId/{customerId}](https://dev.triggloyalty.com/openapi/modules/addvehicle.md): This method allows the client to add a new vehicle for a customer

## Update Vehicle [PREVIEW]

 - [PUT /modules/vehicles/vehicleId/{vehicleId}](https://dev.triggloyalty.com/openapi/modules/updatevehicle.md): This method allows the client to update a vehicle

## Delete Vehicle [PREVIEW]

 - [DELETE /modules/vehicles/vehicleId/{vehicleId}](https://dev.triggloyalty.com/openapi/modules/deletevehicle.md): This method allows the client to delete a vehicle

