The Shell API offers a solution for managing odometer reading.
While the API does not directly retrieve mileage from the vehicle, it provides a seamless way to incorporate odometer readings into transaction data.
Activation on Shell Card: The feature to prompt for odometer readings must be enabled on the Shell Card during card order. "OdometerInputRequired" needs to be set to "True", when not provided in the card order request it would not be activated. See reference documentation Shell Card Management APIs | Shell Developer Portal
Prompt During Payment: When the feature is activated, users will be prompted to enter the current odometer reading during the payment process. This step is crucial for accurate tracking and reporting.
Transaction Data: Once the odometer reading is entered, it becomes part of the transaction data. This data can be accessed via the Transaction Data API, which provides detailed information about each transaction, including the odometer reading. In Recent Transactions and Priced Transactions look for "OdometerInput"
Editing Odometer Readings: If the entered odometer reading is incorrect, it can be edited. This flexibility ensures that the data remains accurate and reliable. For editing please use Shell Data & Reporting APIs | UpdateOdometer endpoint
Integration with SmartPay: The odometer reading feature can be used in conjunction with SmartPay. When reserving a pump, users can enter the odometer reading, streamlining the process and enhancing the user experience.