Endpoint

Get store details

This endpoint serves to retrieve detailed information about specific carwash stores, including available carwash for purchase. By utilizing this endpoint, developers can access comprehensive details about each store's offerings, facilitating informed decision-making for users seeking carwash services.

GET

/store?id={storeId}

Store Model data

The following list provides a selection of key values included in the model; however, it is non-exhaustive. Developers can expect to find additional fields and data within the model, offering comprehensive information about each carwash store. This abbreviated list serves as a starting point for understanding the structure of the model and the types of information available for each store.

ID
Unique identifier for the store
Address
Address of the store
lat
The latitude point for the store
lng
The longitude point for the store
carwashs
List of Carwash Type model available for purchase

Response example

Below is an example of the API endpoint response, showcasing the structure and format of the data returned by the specified endpoint. This example serves as a practical illustration, demonstrating how developers can expect the information to be organized and presented when interacting with the API. It provides insight into the content and layout of the response, facilitating effective integration and utilization of the endpoint within your applications.

Possible errors

The following list provides a selection of possible errors that can occur when getting store details. 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 invalid id

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

Error body response example:

  
HTTP 500

Internal Server Error

An unexpected error occurred while processing the request. This can happen when the query parameters are malformed. Please try again later or contact support if the problem persists.

Error body response example: