Skip to content
LOLIAN

Changelog

What changed

Every release of the Developer API, newest first, and every deprecation notice.

Deprecations

Nothing is deprecated today.

Releases

  1. 1.5.0

    Current

    Variants can be numbered options or custom labels, not only colours

    • AddedEvery variant of GET /api/v1/developer/products and /products/{product_id} carries option_kind (color, numbered or custom) and option_label. A merchant who does not use colour names sells options 1, 2, 3 or A, B, C: those variants are numbered / custom, with the label in option_label and, when given, a swatch in color.
    • AddedFor a color variant option_label is the colour's name in the requested language (null: told apart by size, material or model only). The label is the merchant's text and is not translated. Order a labelled variant like any other, by variant id. Existing fields and routes are unchanged; every earlier variant is color.
  2. 1.4.0

    Recipients need a last name; countries are codes; delivery is worldwide by default

    • ChangedPOST /api/v1/developer/addresses needs the recipient's first AND last name: recipient_first_name with recipient_last_name, or a recipient_full_name of at least two words. A missing last name is a 422 naming recipient_last_name (VALIDATION_ERROR of type missing, or ADDRESS_FIELD_REQUIRED).
    • ChangedPATCH /api/v1/developer/addresses/{address_id} can no longer clear recipient_last_name, and a change of the recipient must leave both names.
    • ChangedThe country of an address is stored as its ISO 3166-1 alpha-2 code: send the code (any case) or a country name the store recognises (Turkey, Turquie), which comes back as the code. A country that cannot be told is a 422 naming country.
    • AddedEvery address carries recipient_name_complete: false for an address saved before the last name was required whose recipient has one name (recipient_last_name null). recipient_first_name of an address saved before names were structured is its best-effort split instead of null.
    • AddedPOST /api/v1/developer/orders refuses such an address with CHECKOUT_ADDRESS_RECIPIENT_INCOMPLETE, and one whose country cannot be told with CHECKOUT_ADDRESS_COUNTRY_INVALID (422, address_id and field in details), before anything is reserved. The order's shipping copy holds both names and the country code.
    • AddedPOST /api/v1/developer/quotes reports these address problems first as the issues address_recipient_incomplete, address_country_invalid and address_phone_invalid.
    • ChangedDelivery is worldwide by default: a country without a shipping rate of its own is priced at the default fee instead of being refused. SHIPPING_NOT_AVAILABLE (and the quote issue shipping_not_available) now means only that the shop does not deliver to that country; its details carry country and reason excluded.
  3. 1.3.0

    Crypto: the asset allow-list and the effective minimum

    • ChangedA crypto payment (POST /api/v1/developer/orders/{order_id}/payments, POST /api/v1/developer/wallet/topups) for an asset that is not offered is refused with CRYPTO_ASSET_UNAVAILABLE (was PAYMENT_CRYPTO_CURRENCY_NOT_AVAILABLE). An asset is offered only while the shop enabled it and the provider lists it.
    • ChangedBelow the asset's effective minimum (the larger of the shop's floor and the provider's live minimum, in USD) the refusal is CRYPTO_BELOW_MINIMUM (was PAYMENT_CRYPTO_AMOUNT_BELOW_MINIMUM); its details carry min_usd, policy_min_usd, provider_min_usd and amount_usd.
    • AddedCRYPTO_PROVIDER_UNAVAILABLE (503, Retry-After) when the provider's list or minimum cannot be obtained: nothing is offered and no payment is created.
    • AddedThe payment of the order-creation answer (POST /api/v1/developer/orders) and of the wallet top-up answer carries crypto_minimum (pay_currency, min_usd, policy_min_usd, provider_min_usd, amount_usd) when the check made right before the provider payment refused the amount; new failure codes minimum_unavailable and asset_unavailable. No address is shown for such an attempt.
  4. 1.2.0

    French replaces Russian; Turkish is the default language

    • AddedFrench (fr) is a supported language: GET /api/v1/developer/catalog/meta lists it, and names and descriptions come in fr where the catalogue has French text (otherwise the documented fallback applies).
    • RemovedRussian (ru) is no longer a supported language and no response carries it. A request that still asks for ru, or for any other language that is not supported, is answered in Turkish (tr) instead of being refused.
    • ChangedA request that names no supported language (no locale parameter and no supported Accept-Language tag) is answered in Turkish (tr), the store's primary language, instead of English; default_locale in GET /api/v1/developer/catalog/meta says tr. The locale of POST /api/v1/developer/orders and POST /api/v1/developer/quotes also defaults to tr. A missing translation still falls back to English first.
  5. 1.1.1

    Search finds brand names and SKUs

    • ChangedThe search parameter of GET /api/v1/developer/products and GET /api/v1/developer/products/facets also matches the product SKU, the brand name (a catalogue brand's or a free-typed one) and the SKU of a variant that is on sale, besides the name in any language. Only products that are on sale are found, and the facet counts follow the same match. No request or response field changed.
  6. 1.1.0

    Audience, address book, profile names, random order numbers

    • AddedProducts carry an audience (men, women, unisex or general). The product list accepts an audience filter (audience=men or audience=men,unisex, or the parameter repeated) and the facets answer carries an audiences dimension whose counts match the list.
    • AddedThe address book (scopes addresses:read and addresses:write): GET and POST /api/v1/developer/addresses and GET, PATCH and DELETE /api/v1/developer/addresses/{address_id}. A recipient is named by recipient_first_name and recipient_last_name; at most 10 addresses per account, exactly one default.
    • AddedThe scope profile:read: read the account's own profile identity (first name, last name and whether the e-mail address and the phone number are verified) through GET /api/v1/developer/me.
    • ChangedGET /api/v1/developer/me also returns the account's first_name, last_name, email_verified and phone_verified, but only to a key that holds profile:read; for any other key the four fields are absent. The key's own facts are returned to every valid key.
    • ChangedThe shipping copy on an order also carries recipient_first_name and recipient_last_name, as they were when the order was placed.
    • ChangedNew orders carry a random public order number such as LOL-26-7K4M9Q2D instead of a sequential one. Numbers already issued keep their form; the number never changes and never grants access to an order.
    • ChangedPOST /api/v1/developer/wallet/topups is strict and crypto only: a field the API does not take is a 422 instead of being ignored, and the same Idempotency-Key with a different pay_currency is a 409 (WALLET_TOPUP_IDEMPOTENCY_KEY_REUSED) instead of a 200 with the instructions of the first coin.
  7. 1.0.0

    First public contract

    • AddedAPI-key authentication (Authorization: Bearer lk1_<prefix>_<secret>), per-key scopes, an optional network allowlist per key, rate limits with RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers and 429 with Retry-After, and one error envelope with stable machine codes. GET /api/v1/developer/me checks the key.
    • AddedCatalogue reads (scope catalog:read): GET /api/v1/developer/products, /products/{product_id}, /products/by-slug/{slug}, /products/facets, /categories, /brands and /catalog/meta. Prices are those of the calling account; names and descriptions come in ar, en, tr and ru.
    • AddedConditional requests on the catalogue reads: a weak ETag over the answer, If-None-Match and 304 Not Modified.
    • AddedA catalogue sync feed, GET /api/v1/developer/catalog/changes, to keep a local copy current by following a watermark.
    • AddedQuotes and orders: POST /api/v1/developer/quotes, idempotent order creation with an Idempotency-Key header, payments (wallet, crypto or points), switching the crypto coin, cancelling an unpaid order, and reading orders, their payments and their refunds.
    • AddedWallet reads (scope wallet:read) and top-ups paid with crypto (scope topups:write): GET /api/v1/developer/wallet, /wallet/transactions, /wallet/topups and POST /wallet/topups.
    • AddedPoints and referral reads (scopes points:read and referral:read) and the points payment method, which pays a whole order.
    • AddedThe public OpenAPI document, GET /api/v1/developer/openapi.json: no key needed, identical for everyone, with an ETag.
    • AddedThis changelog, GET /api/v1/developer/changelog, and the deprecation mechanism: a deprecated route answers with Deprecation, Sunset and Link headers and is listed in deprecations here with the day it may stop working. Nothing is deprecated yet.