Biklo for developersTESTsandbox-api.biklo.comchange

Update price only

PATCH/v1/products/{id}/price

scope products.write

The cheap path for the field ERPs push most often — one UPDATE, no attribute or shipping rewrite. Amount in minor units.

Request body#

FieldTypeRequiredDescription
priceintegeroptionalThe new price in minor units — 179900 is 1 799,00. A non-negative integer; anything else is invalid_price (400). {"price": {"amount": 179900}} is accepted too, so the same shape as POST /v1/products works here.
stockintegeroptionalThis route accepts stock as well, so one call can move both. At least one of the two must be present, or you get nothing_to_update (400).

Example

{
    "price": 179900
}

Response#

Returns the same object as One product (GET /v1/products/{id}), described in full there.

Example

{
    "id": 237224,
    "external_id": "ERP-1001",
    "sku": "MTB-29-001",
    "gtin": null,
    "mpn": null,
    "ean": null,
    "title": "Bicicleta MTB Hardtail 29 inch",
    "description": "A hardtail mountain bike in very good condition, barely used.",
    "category_id": 4291,
    "status": "active",
    "is_reviewed": true,
    "price": {
        "amount": 249900,
        "currency": "RON",
        "negotiable": true
    },
    "stock": 4,
    "shipping": {
        "ship_with_us": true,
        "free_shipping": false,
        "shipping_class": "bike",
        "parcel_tier": "large",
        "weight_kg": 14.5,
        "width_cm": 80,
        "height_cm": 120,
        "length_cm": 180
    },
    "group_id": null,
    "images": [
        {
            "id": 108876841,
            "position": 0,
            "path": "files/237224/mtb-front.jpg",
            "source_url": null
        }
    ],
    "attributes": [
        {
            "field_id": 32,
            "option_id": 226,
            "value": null
        }
    ],
    "created_at": "2026-09-01T08:14:22Z",
    "updated_at": "2026-09-11T16:02:51Z"
}

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

curl -X PATCH "https://sandbox-api.biklo.com/v1/products/711/price" \
  -H "Authorization: Bearer bk_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "price": 179900
}'
<?php

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

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

$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("PATCH"),
    "https://sandbox-api.biklo.com/v1/products/711/price");

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

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

response = requests.patch(
    "https://sandbox-api.biklo.com/v1/products/711/price",
    headers={"Authorization": "Bearer bk_test_YOUR_KEY"},
    json={
        "price": 179900
    },
)

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/products/711/price", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer bk_test_YOUR_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
      "price": 179900
  })
});

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

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