Price and shipping for one catalog product
const url = 'https://api.fleet.co/platform/v1/catalog/products/34/pricing?delivery_country=FR¤cy=EUR&acquisition_mode=LEASING&keyboard_layout=FRENCH_AZERTY';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.fleet.co/platform/v1/catalog/products/34/pricing?delivery_country=FR¤cy=EUR&acquisition_mode=LEASING&keyboard_layout=FRENCH_AZERTY' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Catalog product id
Example
34Query Parameters
Section titled “Query Parameters”ISO 3166-1 alpha-2 delivery country code (e.g. FR). Cart line items must use a country where the catalog product is available.
Example
FRISO 4217 alpha-3 currency code for the price row to return
Example
EURLEASING: monthly lease. BUY: one-time purchase.
Example
LEASINGRequired when the catalog product has a keyboard or is a keyboard product; same enum as cart keyboard_layout and device characteristics.
Example
FRENCH_AZERTYResponses
Section titled “Responses”Shipping bounds and a single price amount for the requested currency and acquisition_mode (LEASING vs BUY)
object
object
Price in the requested currency: the monthly rent for LEASING, the one-time price for BUY
Example generated
{ "data": { "min_shipping": 1, "max_shipping": 1, "amount": 1, "is_cto": true }}Validation or business rule error
Missing, invalid, or revoked API key
Example
UnauthorizedResource not found
object
Example
{ "error": "COMPANY_NOT_FOUND"}Rate limit exceeded. The RateLimit-* headers give the limit and the reset time.
Example
Too many requests, please try again later.Unexpected server error
object
Example
{ "error": "INTERNAL_ERROR"}Rate limiting is temporarily unavailable; retry with backoff
object
Example generated
{ "message": "example"}
