Biklo for developersTESTsandbox-api.biklo.comchange

Update a product

PUT/v1/products/{id}

scope products.write

Partial: keys you omit are left alone. Send attributes only when you want to replace the whole set.

Request body#

FieldTypeRequiredDescription
titlestringoptionalA PARTIAL update: send only what changes. Anything you omit keeps its current value — this is not a replace.
priceobjectoptionalSame shape as on create.
price.amountintegeroptionalMinor units. For price alone, PATCH /v1/products/{id}/price is the cheaper call.
attributesarrayoptionalSending this REPLACES every attribute on the listing, so send the complete set, not a delta. Omit the key to leave them untouched. Same {field_id, option_id, value} entries as on create.
descriptionstringoptionalEvery other field from POST /v1/products — description, category_id, stock, sku, ean, gtin, mpn, shipping, images, city_id, county_id — is accepted here with the same meaning, and each is optional.
imagesarrayoptionalLike attributes: sending it REPLACES every image on the listing (an identical list changes nothing); omit the key to leave them untouched.

Example

{
    "title": "Bicicleta MTB Hardtail 29 actualizata",
    "price": {
        "amount": 199900
    }
}

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 PUT "https://sandbox-api.biklo.com/v1/products/711" \
  -H "Authorization: Bearer bk_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Bicicleta MTB Hardtail 29 actualizata",
    "price": {
        "amount": 199900
    }
}'
<?php

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

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([
      'title' => 'Bicicleta MTB Hardtail 29 actualizata',
      'price' => [
        'amount' => 199900,
      ],
    ]),
]);

$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/products/711");

request.Content = new StringContent(
    @"{ ""title"": ""Bicicleta MTB Hardtail 29 actualizata"", ""price"": { ""amount"": 199900 } }",
    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/products/711",
    headers={"Authorization": "Bearer bk_test_YOUR_KEY"},
    json={
        "title": "Bicicleta MTB Hardtail 29 actualizata",
        "price": {
            "amount": 199900
        }
    },
)

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/products/711", {
  method: "PUT",
  headers: {
    Authorization: "Bearer bk_test_YOUR_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
      "title": "Bicicleta MTB Hardtail 29 actualizata",
      "price": {
          "amount": 199900
      }
  })
});

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"))
    .header("Authorization", "Bearer bk_test_YOUR_KEY")
    .header("Content-Type", "application/json")
    .method("PUT", HttpRequest.BodyPublishers.ofString(
        "{ \"title\": \"Bicicleta MTB Hardtail 29 actualizata\", \"price\": { \"amount\": 199900 } }"))
    .build();

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