Endpoint

Update Carwash Transaction Used

The Update Carwash Transaction Used endpoint allows to save the carwash transaction state as used or not used whitin the history of the user. It allows user to keep track of the carwash transaction they have used.

PUT

/user/history/carwash

Body

Response example

On successful saving of the carwash transaction used state, the response contains an empty data object, a success field set to true, and a null value for error. This confirms that the carwash transaction used state has been saved without returning additional data.

Possible errors

The following list provides a selection of possible errors that can occur when updating the carwash transaction used state. However, it is non-exhaustive. Developers can expect to find additional errors and data within the model, offering comprehensive information about each error.

HTTP 400

Bad Request due to missing parameters

This error is returned when the request is missing the transactionUUID parameters.

Error body response example:

  
HTTP 400

Bad Request due to invalid id

The transactionUUID passed as a query parameter is invalid or does not exist.

Error body response example:

  
HTTP 401

Unauthorized

The API token is invalid or missing.

Error body response example:

  
HTTP 500

Internal Server Error

An unexpected error occurred while processing the request. Please try again later or contact support if the problem persists.

Error body response example: