Biklo for developersTESTsandbox-api.biklo.comchange

Update order settings

PUT/v1/company/settings

scope company.write

Today the only writable setting is allow_price_negotiation — whether buyers may send price offers on your listings. Fee absorption is changed through /v1/company/shipping-absorption, because it carries rules a toggle cannot express.

Request body#

FieldTypeRequiredDescription
allow_price_negotiationbooleanrequiredWhether buyers may make price offers on your listings. The only setting writable here, and it must be present (nothing_to_update, 400). Turning it OFF blocks NEW offers; a price already accepted stays binding. Fee absorption is changed through PUT /v1/company/shipping-absorption.

Example

{
    "allow_price_negotiation": true
}

Response#

FieldTypeDescription
settingsobjectHow your company behaves on the marketplace.
settings.allow_price_negotiationbooleanWhether buyers may send price offers on your listings.
settings.feesobjectWhich fees you carry rather than the buyer.
settings.fees.absorb_platform_feebooleantrue means YOU pay our commission and the buyer never sees it added. It comes out of your payout instead.
settings.fees.absorb_shipping_localbooleanWhether you carry delivery on domestic orders. The per-band detail is on GET /v1/company/shipping-absorption — this is the master switch.
settings.fees.absorb_shipping_internationalbooleanThe same for cross-border orders. Separate, because a cross-border parcel can cost more than the product.
settings.fees.absorption_is_lockedbooleantrue means absorption cannot simply be switched off once it is on. Stated here so an ERP does not offer a toggle that will be refused.
settings.shippingobjectWhat you may do with delivery.
settings.shipping.can_ship_with_usbooleanWhether your account may use Biklo's couriers at all. false makes shipping.ship_with_us on a product meaningless.

Example

{
    "settings": {
        "allow_price_negotiation": true,
        "fees": {
            "absorb_platform_fee": false,
            "absorb_shipping_local": true,
            "absorb_shipping_international": false,
            "absorption_is_locked": true
        },
        "shipping": {
            "can_ship_with_us": true
        }
    }
}

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

curl -X PUT "https://sandbox-api.biklo.com/v1/company/settings" \
  -H "Authorization: Bearer bk_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "allow_price_negotiation": true
}'
<?php

$ch = curl_init('https://sandbox-api.biklo.com/v1/company/settings');

curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST  => 'PUT',
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer bk_test_YOUR_KEY',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS     => json_encode([
      'allow_price_negotiation' => true,
    ]),
]);

$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("PUT"),
    "https://sandbox-api.biklo.com/v1/company/settings");

request.Content = new StringContent(
    @"{ ""allow_price_negotiation"": true }",
    System.Text.Encoding.UTF8,
    "application/json");

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

response = requests.put(
    "https://sandbox-api.biklo.com/v1/company/settings",
    headers={"Authorization": "Bearer bk_test_YOUR_KEY"},
    json={
        "allow_price_negotiation": True
    },
)

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/company/settings", {
  method: "PUT",
  headers: {
    Authorization: "Bearer bk_test_YOUR_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
      "allow_price_negotiation": true
  })
});

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/company/settings"))
    .header("Authorization", "Bearer bk_test_YOUR_KEY")
    .header("Content-Type", "application/json")
    .method("PUT", HttpRequest.BodyPublishers.ofString(
        "{ \"allow_price_negotiation\": true }"))
    .build();

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