# Update fuel prices for an airport Update or set fuel prices for a specific airport. This endpoint allows partners to submit fuel pricing information that will be used for operational and financial processes. Only fuel prices associated with the operator linked to the authentication token can be updated. An operations manager needs to update the fuel price for a particular airport after receiving new rates from a provider. By using this endpoint, they can ensure that all future fuel orders and cost calculations use the most current pricing data. Endpoint: PUT /api/v2/partners/airports/{airportCode}/fuel-prices Version: 2.0.0 Security: X-Api-Client-Id, X-Auth-Token ## Path parameters: - `airportCode` (string, required) The airport code for which fuel prices are being updated. This can be an IATA, ICAO, FAA code, or airport ID. Valid examples during demo include: AGAT, AGGR, EBCR, EGSK, EHPC, EPJA, DAOS Example: "AGGR" ## Request fields (application/json): - `fboName` (string, required) The name of the Fixed Base Operator (FBO) at the airport. This is the entity responsible for providing fuel services. Example: "Jet FBO" - `contractorName` (string, required) The name of the contractor providing the fuel services. This could be a fuel supplier or service provider. Example: "Shell Aviation" - `currency` (string, required) The currency in which the fuel prices are specified. This is a three-letter ISO currency code, such as EUR for Euro or USD for US Dollar. Enum: "EUR", "USD" - `unit` (string, required) The unit of volume for the fuel prices. This indicates whether the prices are specified per liter or per US gallon. The options are: - : Prices are specified per liter. - : Prices are specified per US gallon. Enum: "LITER", "GALLON_USA" - `volumeFrom` (number) The minimum volume (inclusive) for which this fuel price applies. Used to define the lower bound of the applicable volume range. Example: 1000 - `volumeTo` (number) The maximum volume (inclusive) for which this fuel price applies. Used to define the upper bound of the applicable volume range. Example: 5000 - `pricingPrivate` (object) - `pricingPrivate.price` (number) The price of the fuel per unit. Specified in the currency defined in the field. Example: 1.85 - `pricingPrivate.priceIndex` (number) Price in the given location divided by the Price Private in the base location multiplied by 100 Example: 105.5 - `pricingCommercial` (object) - `preArrivalRemarks` (string) Remarks or instructions for pre-arrival fuel services. This could include special handling instructions or requirements. Example: "24-hour notice required" - `paymentMethod` (string) The method of payment for the fuel services. This could include options like credit card, invoice, or cash. Example: "Credit Card, Invoice" - `phone` (string) The contact phone number for the FBO or fuel provider. This is used for communication regarding fuel services. Example: "+1-555-123-4567" - `email` (string) The contact email address for the FBO or fuel provider. This is used for communication regarding fuel services. Example: "fuel@jetfbo.com" - `remarks` (string) Additional remarks or comments regarding the fuel services. This could include special requests or notes for the fuel provider. Example: "Preferred fuel provider" - `expirationDateTime` (string) The expiration date and time for the fuel price offer. After this time, the offer may no longer be valid. Example: "2024-12-31T23:59:59.000Z" ## Response 200 fields (application/json): - `id` (string) Unique identifier for the fuel price record Example: "12345" - `fboName` (string) Name of the Fixed Base Operator (FBO) Example: "Jet FBO" - `contractorName` (string) Name of the fuel contractor Example: "Shell Aviation" - `currency` (string) Currency code for the fuel prices Example: "EUR" - `volumeFrom` (number) Minimum volume for this price tier Example: 1000 - `volumeTo` (number) Maximum volume for this price tier Example: 5000 - `unit` (string) The unit of volume for the fuel prices. This indicates whether the prices are specified per liter or per US gallon. The options are: - : Prices are specified per liter. - : Prices are specified per US gallon. Enum: "LITER", "GALLON_USA" - `pricingPrivate` (object) - `pricingPrivate.price` (number) The price of the fuel per unit. Specified in the currency defined in the field. Example: 1.85 - `pricingPrivate.priceIndex` (number) Price in the given location divided by the Price Private in the base location multiplied by 100 Example: 105.5 - `pricingCommercial` (object) - `preArrivalRemarks` (string) Remarks for pre-arrival fuel services Example: "24-hour notice required" - `paymentMethod` (string) Accepted payment methods Example: "Credit Card, Invoice" - `phone` (string) Contact phone number Example: "+1-555-123-4567" - `email` (string) Contact email address Example: "fuel@jetfbo.com" - `remarks` (string) Additional remarks or notes Example: "Preferred fuel provider" - `airport` (object) - `airport.id` (string) Airport identifier Example: "123" - `airport.name` (string) Airport name Example: "Vienna International Airport" - `airport.icao` (string) ICAO code Example: "LOWW" - `airport.iata` (string) IATA code Example: "VIE" - `source` (string) Source of the fuel price data Example: "Partner API" - `vendorId` (string) Vendor identifier Example: "vendor123" - `vendorName` (string) Vendor name Example: "Fuel Provider Inc" - `expirationDateTime` (string) Expiration date and time for the fuel price Example: "2024-12-31T23:59:59.000Z" - `createdAtDateTime` (string) Creation date and time Example: "2024-12-31T23:59:59.000Z" - `updatedAtDateTime` (string) Last update date and time Example: "2024-12-31T23:59:59.000Z"