Biklo for developersTESTsandbox-api.biklo.comchange

What a buyer pays, and what it costs you

GET/v1/products/{id}/pricing

scope products.read

The same figures the product page renders, from the same service — a partner and a buyer are never shown different numbers. Takes a DESTINATION, because delivery and absorption both depend on where the parcel goes; defaults to the listing's own country. Each status says who bears that line: charged means the buyer, anything else means your company or the platform absorbed it. delivery.quoted: false is NOT free delivery — it means we could not price that route at all, and the order may not be placeable there. Its own endpoint rather than a block on the product payload, because it costs a route lookup per product.

Query parameters#

NameExample
country_codeRODestination. Defaults to the listing's own country
by—Set to external_id to look the product up by your identifier

Response#

FieldTypeDescription
dataobjectWhat a buyer would pay for this listing, and what it costs you. Computed by the SAME service the product page renders, so a partner and a buyer are never shown different numbers.
data.currencystringThe listing currency. Every amount here is in its minor units.
data.destination_country_codestring|nullWhere the quote is for. Delivery and absorption both depend on it; pass ?country_code= to ask about somewhere else.
data.buyer_paysobjectThe buyer's side of it.
data.buyer_pays.productintegerThe listed price, or the negotiated price where an offer was accepted.
data.buyer_pays.buyer_protectionobjectOur commission, as the buyer sees it. "Buyer protection" IS the platform fee.
data.buyer_pays.buyer_protection.amountintegerThe fee, in minor units.
data.buyer_pays.buyer_protection.statusstringWHO BEARS IT. charged means the buyer pays it on top; anything else means it never reaches them — you or the platform carry it.

Accepts charged · absorbed_by_company · free_post · free_promotion · no_quote · not_applicable

data.buyer_pays.deliveryobjectThe courier charge.
data.buyer_pays.delivery.amountinteger|nullThe quote, or null when we could not price the route.
data.buyer_pays.delivery.statusstringWho bears delivery, same vocabulary. free_promotion is Biklo paying, not you.

Accepts charged · absorbed_by_company · free_post · free_promotion · no_quote · not_applicable

data.buyer_pays.delivery.quotedbooleanfalse means NO QUOTE — which is not free delivery. We could not price the route, and the order may simply not be placeable to that country. Never render an unquoted route as free.
data.buyer_pays.total_estimatedintegerEverything the buyer is charged. An ESTIMATE: absorption bands compare the seller-group subtotal at checkout, and this page knows one product, so the same item in a larger cart can cross a threshold this figure did not.
data.commissionobjectWhat we charge you on a sale.
data.commission.percentagenumberThe rate, as a percentage of the sale.
data.commission.min_amountintegerThe floor: the commission is never less than this, however cheap the item.
data.commission.max_amountinteger|nullThe cap, or null for UNCAPPED. null does not mean no commission.
data.notestringA reminder that what reaches your wallet also depends on which fees your company absorbs.

Example

{
    "data": {
        "currency": "RON",
        "destination_country_code": "RO",
        "buyer_pays": {
            "product": 120000,
            "buyer_protection": {
                "amount": 6000,
                "status": "absorbed_by_company"
            },
            "delivery": {
                "amount": 2500,
                "status": "charged",
                "quoted": true
            },
            "total_estimated": 122500
        },
        "commission": {
            "percentage": 5,
            "min_amount": 499,
            "max_amount": null
        },
        "note": "Estimates from the same service the product page renders."
    }
}

Failures use the shared error envelope — a machine-readable code and a request_id to quote to support. Error handling.

curl -X GET "https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO" \
  -H "Authorization: Bearer bk_test_YOUR_KEY"
<?php

$ch = curl_init('https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO');

curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST  => 'GET',
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer bk_test_YOUR_KEY',
    ],
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", "bk_test_YOUR_KEY");

var request = new HttpRequestMessage(
    new HttpMethod("GET"),
    "https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO");

var response = await client.SendAsync(request);
var json = await response.Content.ReadAsStringAsync();
import requests

response = requests.get(
    "https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO",
    headers={"Authorization": "Bearer bk_test_YOUR_KEY"},
)

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO", {
  method: "GET",
  headers: {
    Authorization: "Bearer bk_test_YOUR_KEY"
  }
});

const data = await response.json();
import java.net.http.*;
import java.net.URI;

var client = HttpClient.newHttpClient();

var request = HttpRequest.newBuilder()
    .uri(URI.create("https://sandbox-api.biklo.com/v1/products/711/pricing?country_code=RO"))
    .header("Authorization", "Bearer bk_test_YOUR_KEY")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

var response = client.send(request, HttpResponse.BodyHandlers.ofString());