{"openapi":"3.1.0","info":{"title":"Partstall storefront API","description":"The anonymous JSON surface behind the Partstall storefront: the parts catalogue, the car picker and the guest cart. Catalogue reads are public and cacheable; the cart is keyed by an opaque cookie this API sets itself.","license":{"name":"Proprietary"},"version":"0.1.0"},"servers":[{"url":"https://partstall.ee"}],"paths":{"/api/v1/account/company":{"get":{"tags":["account"],"operationId":"read","responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Company"},{"type":"null"}]}}}},"401":{}}},"put":{"tags":["account"],"operationId":"keep","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateCompany"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{},"401":{}}},"post":{"tags":["account"],"operationId":"open","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateCompany"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{},"401":{},"409":{}}},"delete":{"tags":["account"],"operationId":"clear","responses":{"204":{},"401":{}}}},"/api/v1/account/deletion":{"get":{"tags":["account"],"summary":"Why the account cannot be deleted yet, asked before the screen offers a password box. The\ndecision is SSO's: it owns the account, and it re-asks the same question inside the\ntransaction that erases, so this answer is a sign on the door rather than the lock.","operationId":"erasability","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erasability"}}}},"401":{},"503":{}}},"post":{"tags":["account"],"summary":"The press that deletes. Nothing of the shopper's is removed here: SSO erases the person, keeps\nthe order and its invoice for the seven years the Accounting Act asks for, and ends every\nsession including this service's own rows. What is left for the shop is the cookies in THIS\nbrowser, which name a session that no longer exists, and the notice the shopper is owed.","operationId":"erase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirm"}}},"required":true},"responses":{"204":{},"401":{},"409":{},"422":{},"503":{}}}},"/api/v1/account/details":{"get":{"tags":["account"],"operationId":"read","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Details"}}}},"401":{}}},"put":{"tags":["account"],"operationId":"keep","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateDetails"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Details"}}}},"400":{},"401":{},"409":{}}}},"/api/v1/account/email":{"post":{"tags":["account"],"operationId":"ask_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskEmail"}}},"required":true},"responses":{"202":{},"400":{},"401":{},"409":{},"422":{}}}},"/api/v1/account/email/cancel":{"post":{"tags":["account"],"operationId":"cancel_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pressed"}}},"required":true},"responses":{"204":{},"400":{}}}},"/api/v1/account/email/confirm":{"post":{"tags":["account"],"operationId":"confirm_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pressed"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInMethods"}}}},"400":{}}}},"/api/v1/account/password":{"put":{"tags":["account"],"operationId":"change_password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskPassword"}}},"required":true},"responses":{"204":{},"400":{},"401":{},"422":{}}}},"/api/v1/account/sign-in-methods":{"get":{"tags":["account"],"operationId":"methods","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInMethods"}}}},"401":{}}}},"/api/v1/address-suggest":{"get":{"tags":["address"],"operationId":"suggest","parameters":[{"name":"q","in":"query","description":"What the shopper has typed so far. Shorter than three characters is not asked upstream.","required":false,"schema":{"type":["string","null"]}},{"name":"country","in":"query","description":"ISO country to narrow to, as the delivery step has it.","required":false,"schema":{"type":["string","null"]}},{"name":"limit","in":"query","required":false,"schema":{"type":["integer","null"],"format":"int32","minimum":0}}],"responses":{"200":{"description":"Suggested addresses, or an empty list marked unavailable."}}}},"/api/v1/addresses":{"get":{"tags":["addresses"],"operationId":"list","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Address"}}}}},"401":{},"503":{}}},"post":{"tags":["addresses"],"operationId":"keep","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeepAddress"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}}},"400":{},"401":{},"409":{},"503":{}}}},"/api/v1/addresses/{id}":{"put":{"tags":["addresses"],"operationId":"amend","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeepAddress"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}}},"400":{},"401":{},"404":{},"503":{}}},"delete":{"tags":["addresses"],"operationId":"forget","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{},"401":{},"404":{},"503":{}}}},"/api/v1/addresses/{id}/default":{"post":{"tags":["addresses"],"operationId":"make_default","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{},"401":{},"404":{},"409":{},"503":{}}}},"/api/v1/articles/{id}":{"get":{"tags":["catalog"],"operationId":"article","parameters":[{"name":"id","in":"path","description":"The article's slug, as a listing's path ends in.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string"}},{"name":"v","in":"query","required":false,"schema":{"type":"string"}},{"name":"vq","in":"query","description":"Filters the fitting vehicles to the ones matching these words — the table's search box.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One article, with the page of fitting vehicles that was asked for.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleDetail"}}}},"404":{"description":"No such article.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/brands/search":{"get":{"tags":["catalog"],"operationId":"brand_search","parameters":[{"name":"q","in":"query","description":"A brand name. Fewer than two characters answers nothing.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"At most eight brands, exact name first.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BrandHit"}}}}}}}},"/api/v1/cart":{"get":{"tags":["cart"],"operationId":"read","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"The guest cart this request's cookie names, or an empty one.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"tags":["cart"],"operationId":"clear","responses":{"200":{"description":"The emptied cart.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No cart cookie, so there is no cart to empty.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/cart/items":{"post":{"tags":["cart"],"operationId":"add","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddItem"}}},"required":true},"responses":{"200":{"description":"The cart after the line was added or increased.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"400":{"description":"The quantity is outside 1..99.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such part, or nothing live to sell.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The cart store is unavailable; retry.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/cart/items/{line_id}":{"put":{"tags":["cart"],"operationId":"set_qty","parameters":[{"name":"line_id","in":"path","description":"The cart line being changed, which is one offer of one part.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetQty"}}},"required":true},"responses":{"200":{"description":"The cart after the line was set or removed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No cart cookie, so there is no cart to change.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"tags":["cart"],"operationId":"remove","parameters":[{"name":"line_id","in":"path","description":"The cart line being removed, which is one offer of one part.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"The cart after the line was removed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No cart cookie, so there is no cart to change.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/cart/suggestions":{"get":{"tags":["cart"],"operationId":"suggestions","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"This season's part types that the cart does not already hold, as the app's own product rows. Empty for a cart with nothing in it, or one this season has nothing to offer for.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/categories/suggest":{"get":{"tags":["catalog"],"operationId":"suggestions","parameters":[{"name":"q","in":"query","description":"What the shopper has typed so far. Fewer than two characters is answered with an empty list.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which storefront language the shopper is reading; English by default. A category is matched in every language the taxonomy carries whatever this says.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The shelves the typed words name, and the products a typed part number or EAN identifies.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suggestions"}}}}}}},"/api/v1/categories/{code}":{"get":{"tags":["catalog"],"operationId":"category","parameters":[{"name":"code","in":"path","description":"The taxonomy's dotted category code.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The category with its breadcrumb and children.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryPage"}}}},"404":{"description":"No such category.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/categories/{code}/listings":{"get":{"tags":["catalog"],"operationId":"listings","parameters":[{"name":"code","in":"path","description":"The taxonomy's dotted category code.","required":true,"schema":{"type":"string"}},{"name":"ktype","in":"query","description":"The TecDoc number of the shopper's car, when one is chosen: the list is then what fits it.","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"brand","in":"query","required":false,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which storefront language to name and describe the rows in. The rendered pages take it\nfrom the host; a direct JSON caller says so here, and English is the default.","required":false,"schema":{"type":"string"}},{"name":"attr","in":"query","description":"A ticked value of the category's own attribute rail, as `<field>:<value>` — a facet's key and one of the values it offered, for instance `capacity_ah:74`. Repeat it to tick several: values of one field widen the result, values of different fields narrow it. A field this category's facets do not offer is ignored; a value they do not offer is applied and matches nothing, so the page is empty rather than unfiltered.","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"One page of products, with the facets that narrow them.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingPage"}}}},"404":{"description":"No such category.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/categories/{code}/rail":{"get":{"tags":["catalog"],"operationId":"rail","parameters":[{"name":"code","in":"path","description":"The department whose rail this is.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"The department's groups and their sub-groups.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RailGroup"}}}}},"404":{"description":"No such category.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/checkout/abandon":{"post":{"tags":["checkout"],"summary":"Giving up on a booking the shopper no longer wants.","description":"The sweep refuses to release an order whose provider session is not terminal, and it is right\nto: it runs unattended and cannot ask anybody. Here the shopper IS present and has said so —\nthey cancelled at the bank, came back, changed the cart, and the guard then held their goods\nfor the rest of the unpaid window. Money arriving afterwards is not lost: the capture refuses\nto apply to a released order and records RECOVER, which is a refund a person owes rather than\ngoods somebody else was given.","operationId":"abandon","responses":{"200":{"description":"The booking is released; this cart can be ordered again."},"404":{"description":"This cart has no unpaid booking.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/checkout/pay":{"post":{"tags":["checkout"],"operationId":"pay","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayFor"}}},"required":true},"responses":{"200":{"description":"The provider's payment page for this order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentSession"}}}},"400":{"description":"Not an order id.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No unpaid storefront order with that id.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Already paid, or already has a payment session.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The provider refused this payment.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The provider could not be reached; the attempt is recorded and may be retried.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/checkout/payment-methods":{"get":{"tags":["checkout"],"summary":"Which methods this store may actually offer, and the banks of each country.","description":"Read from the provider rather than listed in the bundle: WHICH methods a store carries is its\nconfiguration in Montonio's partner system, and a list of our own offers a shopper a door that\nis shut. Cached for an hour per replica, and a failed read keeps the last good copy — see\n`Montonio::methods_cached` (WEB-63).","operationId":"payment_methods","responses":{"200":{"description":"The methods and banks this store offers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MethodList"}}}},"503":{"description":"The provider could not be asked and nothing is held.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/checkout/place":{"post":{"tags":["checkout"],"operationId":"place","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Placement"}}},"required":true},"responses":{"201":{"description":"The order, awaiting payment. Carries the rotated cart cookie when this request opened the buyer's account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacedOrder"}}}},"400":{"description":"The delivery details the carrier needs are incomplete, or SSO refused the guest's details in its own words.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Nothing to order, a checkout continued elsewhere, no buyer and no mailbox to open one on, a parcel locker the carrier no longer lists, a price changed, or the cart changed under the request.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The goods are no longer available in the quantity asked for.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The rate engine, SSO or the database is unavailable; retry. `account_opened_cart_not_bound` is the one that is not a retry: SSO opened the account and this database did not attach the cart, so the shopper sets a password and signs in.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/delivery/countries":{"get":{"tags":["checkout"],"operationId":"countries","responses":{"200":{"description":"Where the active delivery configuration can ship.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServedCountries"}}}},"503":{"description":"No active delivery configuration, so nowhere can be named (`delivery_not_quotable`), or wms-back is unreachable (`delivery_quote_unavailable`, retry).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/delivery/lockers":{"get":{"tags":["checkout"],"operationId":"lockers","parameters":[{"name":"country","in":"query","description":"ISO country. Required: there is no default, because a guessed country is a guessed directory.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Every parcel locker the carrier serves in that country.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PickupPoint"}}}}},"400":{"description":"Not a country code.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The carrier directory is unavailable; retry.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/delivery/quote":{"post":{"tags":["checkout"],"operationId":"quote","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Destination"}}},"required":true},"responses":{"200":{"description":"The delivery charge for this cart, VAT included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryQuote"}}}},"400":{"description":"Unknown method, or no destination country.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"There is no cart to deliver.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"These goods cannot go by this method, in wms-back's own words.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The rate engine is unavailable (`delivery_quote_unavailable`, retry), or delivery cannot be priced at all because a price list or a measurement is missing on our side (`delivery_not_quotable`, which a retry will not fix).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/departments":{"get":{"tags":["catalog"],"operationId":"departments","responses":{"200":{"description":"The top level of the taxonomy.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryNode"}}}}}}}},"/api/v1/garage":{"get":{"tags":["garage"],"operationId":"list","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Vehicle"}}}}},"401":{}}},"post":{"tags":["garage"],"operationId":"keep","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeepVehicle"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vehicle"}}}},"400":{},"401":{},"409":{}}}},"/api/v1/garage/{id}":{"delete":{"tags":["garage"],"operationId":"forget","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{},"401":{},"404":{}}}},"/api/v1/orders":{"get":{"tags":["checkout"],"operationId":"mine","responses":{"200":{"description":"The signed-in shopper's own orders, newest first.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummary"}}}}},"401":{"description":"Orders belong to an account; sign in to see yours.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}":{"get":{"tags":["checkout"],"operationId":"by_reference","parameters":[{"name":"reference","in":"path","description":"The payment reference the shopper returns with.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The order, with the figures it was charged at.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderView"}}}},"403":{"description":"A signed-in shopper asking for somebody else's order.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No storefront order with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/cancel":{"post":{"tags":["checkout"],"operationId":"ask","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskToCancel"}}},"required":true},"responses":{"200":{"description":"The cancellation as it now stands: a request the seller must answer, or an order already cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cancellation"}}}},"400":{"description":"No reason, or one no column will hold.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"The order can no longer be cancelled here.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/claim-account":{"post":{"tags":["checkout"],"operationId":"claim_account","parameters":[{"name":"reference","in":"path","description":"The payment reference the shopper returns with.","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"A link to set a password is on its way to the mailbox the order was placed from."},"404":{"description":"No storefront order with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"SSO is unavailable; retry.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/core-returns":{"get":{"tags":["checkout"],"operationId":"core_returns","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The casings this order may send back, and the claims already made.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoreReturns"}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"tags":["checkout"],"operationId":"core_create","parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"201":{"description":"The casing is expected back; the deposit follows the supplier's grading.","content":{"application/json":{"schema":{}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"The window has closed, or the casing was already claimed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/credit-note.pdf":{"get":{"tags":["checkout"],"summary":"The credit note that reversed this order's invoice, as the document it is.","description":"Rendered by market-back from the stored row, like the invoice two rows above it on the page:\none company, one house layout. Scoped twice over — this handler names only a document of the\nshopper's own order, and market-back scopes its own lookup by that party again.","operationId":"credit_note_pdf","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The credit note, as issued.","content":{"application/pdf":{}}},"404":{"description":"No such order of this shopper's, or it has no credit note.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The document could not be rendered just now.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/invoice.pdf":{"get":{"tags":["checkout"],"summary":"The shopper's own invoice, as the document they were issued.","description":"Rendered by market-back from the stored row, never redrawn here: it is the same company's\ninvoice as a marketplace one and there is one house layout. Scoped twice over — this handler\nwill only name a document that belongs to the signed-in shopper's own party, and market-back\nscopes its own lookup by that party again.","operationId":"invoice_pdf","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The invoice, as issued.","content":{"application/pdf":{}}},"404":{"description":"No such order of this shopper's, or it has no invoice yet.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The document could not be rendered just now.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/measured":{"post":{"tags":["checkout"],"operationId":"measured","parameters":[{"name":"reference","in":"path","description":"The payment reference the shopper returns with.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Recorded: the server will not send GA4's purchase for this order."},"404":{"description":"No storefront order with that reference, or no grant for it.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/received":{"post":{"tags":["checkout"],"operationId":"received","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The receipt is recorded, and the withdrawal window starts now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Received"}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Nothing to confirm: it has not been dispatched, or the receipt is already recorded.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/returnable":{"get":{"tags":["checkout"],"operationId":"returnable","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"What may be returned, and under which window.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Returnable"}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/returns":{"get":{"tags":["checkout"],"operationId":"mine","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The shopper's own return claims on this order.","content":{"application/json":{"schema":{"type":"array","items":{}}}}},"404":{"description":"No order of this shopper's with that reference.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"tags":["checkout"],"operationId":"create","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"description":"Multipart: `request` carries the claim, repeated `files` carry its evidence.","content":{"multipart/form-data":{"schema":{"type":"string"}}},"required":true},"responses":{"201":{"description":"The claim, as recorded.","content":{"application/json":{"schema":{}}}},"409":{"description":"Already requested, or the order cannot be returned.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"The window has closed, evidence is missing, or a quantity is not available.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/orders/{reference}/returns/{claim}/label.pdf":{"get":{"tags":["checkout"],"operationId":"label","parameters":[{"name":"reference","in":"path","description":"The order's payment reference.","required":true,"schema":{"type":"string"}},{"name":"claim","in":"path","description":"The return's id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The return label, to print and tape on.","content":{"application/pdf":{}}},"404":{"description":"No label yet, or not this shopper's claim.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/payments/montonio":{"post":{"tags":["checkout"],"operationId":"notified","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}},"required":true},"responses":{"200":{"description":"Applied, or valid and deliberately ignored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnState"}}}},"400":{"description":"A token that will never be valid; do not retry."},"503":{"description":"An operational failure; please retry."}}}},"/api/v1/popular":{"get":{"tags":["catalog"],"operationId":"popular","responses":{"200":{"description":"The twelve categories the storefront leads with.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryNode"}}}}}}}},"/api/v1/saved-carts":{"get":{"tags":["saved-carts"],"operationId":"list","responses":{"200":{"description":"The signed-in shopper's saved carts, newest first.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SavedCart"}}}}},"401":{"description":"A saved cart belongs to an account; this caller has none.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"tags":["saved-carts"],"operationId":"save","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCart"}}},"required":true},"responses":{"200":{"description":"The saved cart, with the lines the live cart held.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedCartDetail"}}}},"400":{"description":"The name is empty or too long, or the cart has nothing in it to save.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"A saved cart belongs to an account; this caller has none.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"The account already holds the maximum number of saved carts.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/saved-carts/{id}":{"get":{"tags":["saved-carts"],"operationId":"read","parameters":[{"name":"id","in":"path","description":"The saved cart.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"The saved cart's lines, priced and counted as they stand now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedCartDetail"}}}},"401":{"description":"A saved cart belongs to an account; this caller has none.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such saved cart on this account.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"tags":["saved-carts"],"operationId":"remove","parameters":[{"name":"id","in":"path","description":"The saved cart to delete.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The saved cart is gone."},"401":{"description":"A saved cart belongs to an account; this caller has none.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such saved cart on this account.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/saved-carts/{id}/restore":{"post":{"tags":["saved-carts"],"operationId":"restore","parameters":[{"name":"id","in":"path","description":"The saved cart to put in the cart.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"The cart this saved one replaced, and what could not be reproduced.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Restored"}}}},"401":{"description":"A saved cart belongs to an account; this caller has none.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"A signed-in company identity: this shop serves private customers.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No such saved cart on this account.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The cart is being changed by another request; retry.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/search":{"get":{"tags":["catalog"],"operationId":"search","parameters":[{"name":"q","in":"query","description":"What the shopper typed: a part number, an OE number, or words.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which storefront language to name the rows in; English by default.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Up to 24 matching products.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}}}}}}}},"/api/v1/search/agent":{"get":{"tags":["catalog"],"operationId":"search_agent","parameters":[{"name":"q","in":"query","description":"Words, a part number or an OE number.","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","description":"Which storefront language to name the rows in. English when omitted.","required":false,"schema":{"type":"string"}},{"name":"brand","in":"query","description":"A brand name from the answer's brand facet. Repeat the parameter to tick several.","required":false,"schema":{"type":"string"}},{"name":"attr","in":"query","description":"A facet slug, a colon, and one of that facet's values. A shelf is shelf:<category code>. Repeat to tick several.","required":false,"schema":{"type":"string"}},{"name":"cat","in":"query","description":"Limit the search to one category, by its code.","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"relevance, price-asc, price-desc or brand. Omitted means relevance.","required":false,"schema":{"type":"string"}},{"name":"mk","in":"query","description":"The shop's make key.","required":false,"schema":{"type":"string"}},{"name":"md","in":"query","description":"The shop's model key.","required":false,"schema":{"type":"string"}},{"name":"eng","in":"query","description":"The shop's version slug.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One page of products and the facets that narrow them.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSearch"}}}}}}},"/api/v1/tyres/facets":{"get":{"tags":["catalog"],"operationId":"tyre_facets","parameters":[{"name":"lang","in":"query","description":"Which language to name things in. A page's is its path prefix, which a fetch does not carry.","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"description":"Every tyre size the catalogue stocks, for the size selector.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TyreFacets"}}}}}}},"/api/v1/vehicles/engines":{"get":{"tags":["vehicles"],"operationId":"vehicle_engines","parameters":[{"name":"make","in":"query","required":false,"schema":{"type":"string"}},{"name":"model","in":"query","required":false,"schema":{"type":"string"}},{"name":"generation","in":"query","description":"The generation segment, because a model slug names every generation of that model.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The engine versions of one model.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleEngine"}}}}},"404":{"description":"No make or no model was named.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/vehicles/makes":{"get":{"tags":["vehicles"],"operationId":"vehicle_makes","responses":{"200":{"description":"Every manufacturer the catalogue holds versions for.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleMake"}}}}}}}},"/api/v1/vehicles/models":{"get":{"tags":["vehicles"],"operationId":"vehicle_models","parameters":[{"name":"make","in":"query","required":false,"schema":{"type":"string"}},{"name":"model","in":"query","required":false,"schema":{"type":"string"}},{"name":"generation","in":"query","description":"The generation segment, because a model slug names every generation of that model.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The models of one make.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VehicleModel"}}}}},"404":{"description":"No make was named.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/vehicles/search":{"get":{"tags":["vehicles"],"operationId":"vehicles_search","parameters":[{"name":"q","in":"query","description":"Filters the current step by name. Fewer than two characters matches nothing.","required":false,"schema":{"type":"string"}},{"name":"mk","in":"query","description":"The shop's make key. Absent, the answer is makes.","required":false,"schema":{"type":"string"}},{"name":"md","in":"query","description":"The shop's model key. With mk and without md, the answer is models.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Makes, or one make's models, or one model's versions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleSearch"}}}}}}},"/api/v1/vehicles/vin":{"get":{"tags":["vehicles"],"summary":"The storefront decodes the VIN itself. It used to ask wms-back over an internal route, which\nis the HTTP hop this repository's own rule names as the thing to avoid — and what the hop\nbought, the shared rate ceiling and the shared response cache, both turned out to be tables\nrather than libraries, so nothing had to be copied to bring the call here.","operationId":"vehicle_vin","parameters":[{"name":"vin","in":"query","description":"The 17 characters from the registration card. Case and surrounding space are the shopper's;\nI, O and Q are not VIN characters and a string holding one is refused unread.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The vehicles this VIN can be. SEVERAL is the normal answer — a VIN pins the model, rarely the engine version. `decoded` counts what the decode named and `vehicles` what the shop carries parts for: `decoded > 0` with no vehicles means the VIN is fine and the shop sells nothing for that car.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VinDecode"}}}},"400":{"description":"Not a VIN.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"The decoder could not be reached or has no budget left today. The shopper picks their car from the list instead.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/version":{"get":{"tags":["meta"],"operationId":"version","responses":{"200":{"description":"The build this replica is running.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildInfo"}}}}}}},"/api/v1/wheels/facets":{"get":{"tags":["catalog"],"operationId":"wheel_facets","responses":{"200":{"description":"Every wheel fitment the catalogue stocks, for the size selector.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WheelFacets"}}}}}}}},"components":{"schemas":{"AddItem":{"type":"object","description":"A part to put in the cart. The article id is the slug a listing's path ends in; the quantity defaults to one and must be 1..99.","required":["article_id"],"properties":{"article_id":{"type":"string"},"offer_id":{"type":["string","null"],"format":"uuid","description":"The offer the shopper picked from the buy box or the row's drop-down. Absent means \"the\nprice the page quoted\", which is the cheapest live offer."},"quantity":{"type":"integer","format":"int32","default":1,"maximum":99,"minimum":1}}},"Address":{"type":"object","description":"One address the shopper keeps. A DOOR carries their own typing; a POINT carries the parcel locker as the carrier's directory has it now, so the shopper is never shown one address and shipped to another: a locker the carrier has dropped is reported `retired` and named by what it was, and one whose entry has changed under the same id is reported `moved`.","required":["id","kind","is_default","retired","moved"],"properties":{"address_line2":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"id":{"type":"string"},"is_default":{"type":"boolean"},"kind":{"type":"string"},"locker_city":{"type":["string","null"]},"locker_country":{"type":["string","null"]},"locker_name":{"type":["string","null"]},"locker_postcode":{"type":["string","null"]},"locker_street":{"type":["string","null"]},"moved":{"type":"boolean"},"postcode":{"type":["string","null"]},"pudo_id":{"type":["string","null"]},"retired":{"type":"boolean"},"street":{"type":["string","null"]}}},"AgentSearch":{"type":"object","description":"One page of the same ranking the search page runs, plus the facets that narrow it.","required":["items","total","total_capped","facets"],"properties":{"facets":{"type":"array","items":{"$ref":"#/components/schemas/Facet"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"total":{"type":"integer","format":"int32","minimum":0},"total_capped":{"type":"boolean"}}},"ArticleDetail":{"type":"object","description":"One article as the product page draws it: its listing row, its photos and specifications, the\noriginal-equipment numbers, the fitting vehicles, the replacements and every live offer.","required":["listing","images","specifications","eprel_id","ean","mpn","oe_groups","oe_total","oe_make","oe_capped","fits","fits_listed","fits_total","fits_capped","fit_makes","replacements","offers","summary","wheel_bolt_warning","faq","tyre_rules","tyre_features","heading_prefix","replacement_products"],"properties":{"category":{"type":["string","null"],"description":"The deepest category the article belongs to, for the breadcrumb. A product URL carries no\npath, so the trail is read from the article's own membership rather than from the URL.","example":"spare-parts.filters.oil-filter"},"ean":{"type":"string","example":"4047024520738"},"eprel_id":{"type":"string","description":"This tyre's registration number in the EU's EPREL register, which is where its energy\nlabel is published. Empty for anything that is not a tyre and for the tyres the catalogue\nhas no number for; empty rather than absent so the wire payload never carries a `null`.","example":"2684877"},"eu_label":{"oneOf":[{"$ref":"#/components/schemas/EuLabel","description":"Set only on a tyre, and only where the catalogue states a class, a figure or the studded\nexemption. Regulation (EU) 2020/740 Article 6(7) requires the label to be presented, so it\nis its own block rather than three rows in the specification table."},{"type":"null"}]},"faq":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"string"}]},"description":"Question then answer, in the order they are shown.","example":[["Does this part fit my car?","The manufacturer catalogue lists 134 vehicle versions for it."]]},"fit_makes":{"type":"array","items":{"$ref":"#/components/schemas/FitMake"},"description":"Each make in `fits` with its own count, counted over the whole list rather than the page\non screen — a chip reading \"VW 27\" when the article fits 312 Volkswagens is a wrong number,\nnot a partial one."},"fit_years":{"type":["string","null"],"description":"The model years the fitting vehicles span, as the design's summary line prints it.","example":"2012–2023"},"fits":{"type":"array","items":{"$ref":"#/components/schemas/Fitment"},"description":"The slice of fitting vehicles the request asked for, sorted by make, model and engine.\nOnly this page travels: an article that fits 2,000 versions would otherwise put all of\nthem in every response to show ten."},"fits_capped":{"type":"boolean","description":"Whether the catalogue lists more versions than the read is bounded at, which makes\n`fits_total` a floor rather than the count. True for 0.29% of articles — the worst fits\n34,044 — and the page says so instead of presenting a bound as a total."},"fits_listed":{"type":"integer","format":"int32","description":"How many versions the catalogue holds a name for, which is what the pager counts through.","example":134,"minimum":0},"fits_total":{"type":"integer","format":"int32","example":134,"minimum":0},"group":{"type":["string","null"],"description":"The manufacturer's product group — TecDoc's assembly group — which the design shows as the\nlast specification row and in the page's own description.","example":"Lubrication"},"heading_prefix":{"type":"string","description":"What the page prints before the name in its `<h1>`, and \"\" where the name identifies the\nproduct on its own. Composed once here, because the rule was written twice — in Rust and\nin ReScript — and the two paths then had to be kept in step by hand.","example":"BLUE PRINT ADBP210033"},"images":{"type":"array","items":{"type":"string"},"description":"Every photo the catalogue holds of this article, main one first. The row carries only the\nfirst; the product page draws the gallery, and three copies of one photo is not a gallery.","example":["https://s3.partstall.itworks.ee/platform/article/01a0c02f-55e7-76fc-a186-c07fa713d97e/01a0f639-6f2b-7d4e-80b5-11f90813b885.jpg"]},"listing":{"$ref":"#/components/schemas/Listing"},"mpn":{"type":"string","example":"0 986 479 S23"},"oe_capped":{"type":"boolean","description":"Whether the catalogue holds more numbers than the read is bounded at. False for every\narticle on file today — the bound is above the worst — and carried so that a page can\nnever present a bound as a total if the data grows past it."},"oe_groups":{"type":"array","items":{"$ref":"#/components/schemas/OeGroup"},"description":"Original-equipment numbers, grouped by the vehicle make that issued them, in alphabetical\norder — the order someone scanning for their own marque expects. All of them: the worst"},"oe_make":{"type":"string","description":"The make the list was narrowed to, when the vehicles table above has one selected. A\npart's original numbers are issued per marque, so choosing a marque there and being left\nwith ninety other manufacturers' numbers here is the wrong answer to the same question.","example":"RENAULT"},"oe_total":{"type":"integer","format":"int32","example":11,"minimum":0},"offers":{"type":"array","items":{"$ref":"#/components/schemas/Offer"},"description":"Cheapest first, which is the order the buy box presents them in."},"replacement_products":{"type":"array","items":{"$ref":"#/components/schemas/Listing"},"description":"The replacements the shop actually stocks, as rows with a photo, a price and a link. Never\nthis article itself: 60% of the catalogue's replacement rows name the article's own number\nunder its own brand, and those used to be drawn as alternatives to itself."},"replacements":{"type":"array","items":{"$ref":"#/components/schemas/Replacement"}},"same_size":{"oneOf":[{"$ref":"#/components/schemas/SameSize"},{"type":"null"}]},"size_standing":{"oneOf":[{"$ref":"#/components/schemas/SizeStanding","description":"Set only on a tyre whose size and season name a group large enough to compare it against."},{"type":"null"}]},"sold_in_fours":{"oneOf":[{"$ref":"#/components/schemas/SoldInFours","description":"Set where the article is bought by the corner, which is a rim or a TPMS sensor."},{"type":"null"}]},"specifications":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"string"}]},"example":[["Height [mm]","113"],["Brand","BLUE PRINT"]]},"summary":{"type":"string","description":"A sentence or two about the article, composed from the facts the catalogue holds for it —\nwhat it is, its key criteria, how many vehicles it fits and over which years, how many","example":"BLUE PRINT ADBP210033 is a oil filter with height 113 mm. According to the manufacturer catalogue it fits 134 vehicle versions from RENAULT, NISSAN, MERCEDES-BENZ, DACIA, built 2012–2023. It replaces 11 original part numbers, including 15 20 925 67R, 6000640167, A608 180 06 00. 6 offers are available, from €3.08."},"tyre_features":{"type":"array","items":{"type":"string"},"description":"A sentence per sidewall marking this tyre carries. Empty where the catalogue records none.","example":["The sidewall has a rim protector ridge."]},"tyre_rules":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"string"}]},"description":"The rules for this tyre's own season, as heading and body; a body holds one paragraph per line."},"wheel_bolt_warning":{"type":"string","description":"Empty for everything that is not a rim.","example":"Bolts: needs conical 60° seat bolts or nuts. Bolts from the car's original wheels may not fit."}}},"AskEmail":{"type":"object","description":"The address to move the account to, and the password that proves the asker is the account's owner.","properties":{"lang":{"type":"string","description":"Which language the two mailed links should land in. The market is the request's own host;\na language it does not carry falls back to the market's default."},"new_email":{"type":"string"},"password":{"type":"string"}}},"AskPassword":{"type":"object","description":"The current password and the one to replace it with.","properties":{"current_password":{"type":"string"},"new_password":{"type":"string"}}},"AskToCancel":{"type":"object","description":"Why the shopper wants the order cancelled. The seller reads it.","properties":{"reason":{"type":"string"}}},"BrandHit":{"type":"object","required":["name","code","articles"],"properties":{"articles":{"type":"integer","format":"int32","minimum":0},"code":{"type":"string"},"name":{"type":"string"}}},"BuildInfo":{"type":"object","required":["service","version","commit","built_at"],"properties":{"built_at":{"type":"string"},"commit":{"type":"string"},"service":{"type":"string"},"version":{"type":"string"}}},"Cancellation":{"type":"object","description":"An order's cancellation: who cancelled it or asked to, the reason, the credit note that reversed the invoice and where the money is.","required":["status","refund_status"],"properties":{"at":{"type":["string","null"]},"by":{"type":["string","null"]},"credit_note_number":{"type":["string","null"]},"reason":{"type":["string","null"]},"refund_amount":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"refund_status":{"type":"string"},"refunded_at":{"type":["string","null"]},"status":{"type":"string"}}},"Cart":{"type":"object","required":["lines","parcels","item_count","delivery_methods"],"properties":{"core_deposit_total":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"Deposits are a SIBLING of the goods totals, never part of them: MONEY.md:789 says a deposit\nis never part of the goods price, and folding it into `net_total` would let deposit money\nunlock free delivery, which the marketplace's own threshold (goods only) never does."},{"type":"null"}]},"delivery_methods":{"type":"array","items":{"type":"string"},"description":"The same answer for the whole cart, for the one method an unsplit cart chooses."},"free_delivery_from":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"Both WITH VAT, because a private customer is only ever shown prices with VAT and cannot\nmeasure a gross cart against a net limit (WEB-21). The configured figure and the\ncomparison stay net; only what the shopper reads is grossed up."},{"type":"null"}]},"free_delivery_shortfall":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"gross_total":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"item_count":{"type":"integer","format":"int32","minimum":0},"lines":{"type":"array","items":{"$ref":"#/components/schemas/CartLine"}},"net_total":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"parcels":{"type":"array","items":{"$ref":"#/components/schemas/Parcel"}},"total_gross":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"Goods and deposits, summed here so that no browser adds up money. NOT the payable: the\ncart has no destination, so it cannot know the carriage, and the summary labels this\nfigure as the total before delivery. The cart deliberately does not decide the waiver —\nthe threshold is per DESTINATION COUNTRY (EE 50, FI 150, nothing at all for SE or LV), so\na cart that answered \"Free\" from one hardcoded country would under-state the order button\nfor every other, which is the WEB-22 defect one layer up."},{"type":"null"}]},"vat_total":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}}},"CartLine":{"type":"object","required":["line_id","article_id","code","brand","name","quantity","parcel","available","unit","line_net","line_gross","image"],"properties":{"article_id":{"type":"string"},"available":{"type":"integer","format":"int32","description":"The ceiling this line can be raised to, which the quantity calls already enforce. Without\nit the stepper's + was a button that silently did nothing on the last one in stock.","minimum":0},"brand":{"type":"string"},"code":{"type":"string"},"core_deposit":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"The refundable deposit on this line, GROSS, because every price beside it is. `None` is a\npart with no casing to return. The order freezes the NET of the same figure."},{"type":"null"}]},"delivery":{"type":["string","null"],"description":"The day this line's goods reach the shopper; the dispatch day alone where the route states\nno transit."},"fits":{"oneOf":[{"$ref":"#/components/schemas/Fitment"},{"type":"null"}]},"image":{"type":"string"},"is_unstudded":{"type":"boolean"},"line_gross":{"$ref":"#/components/schemas/Money"},"line_id":{"type":"string","description":"The OFFER this line holds, which is what the stepper and the remove button name. A part\nwhose quantity reached past one offer's stock is several lines, so the part's own id no\nlonger picks one out."},"line_net":{"$ref":"#/components/schemas/Money"},"name":{"type":"string"},"parcel":{"type":"integer","format":"int32","minimum":0},"quantity":{"type":"integer","format":"int32","minimum":0},"rest_dearer":{"type":["boolean","null"],"description":"Present on a line that is the remainder of a part whose first offer ran out, and `true`\nwhere that remainder really does cost more. Two offers can carry the SAME price, and\n\"these come at a higher price\" would then be a sentence the row's own figures contradict."},"unit":{"$ref":"#/components/schemas/RetailPrice"}}},"CategoryNode":{"type":"object","description":"One node of the browse taxonomy: a department, a group or a leaf category, with its name in\neach storefront language, its article count and the slug path it is served at.","required":["code","slug","name","name_en","name_ru","name_fi","name_sv","level","article_count","vehicle_specific","icon","path"],"properties":{"article_count":{"type":"integer","format":"int32","example":6495,"minimum":0},"code":{"type":"string","example":"spare-parts.filters.oil-filter"},"icon":{"type":"string","description":"The design's icon for this category; a leaf inherits its group's.","example":"/img/oil-filter.svg"},"level":{"type":"integer","format":"int32","example":2,"minimum":0},"name":{"type":"string","description":"The Estonian name, which is what the taxonomy calls `name_et`.","example":"Õlifilter"},"name_en":{"type":"string","example":"Oil Filter"},"name_fi":{"type":"string","example":"Öljynsuodattimet"},"name_ru":{"type":"string","example":"Масляный фильтр"},"name_sv":{"type":"string","example":"Oljefilter"},"parent":{"type":["string","null"],"example":"spare-parts.filters"},"path":{"type":"string","description":"Hierarchical, human-readable path used as the canonical URL: \"spare-parts/filters/oil-filters\".","example":"spare-parts/filters/oil-filter"},"slug":{"type":"string","example":"oil-filter"},"vehicle_specific":{"type":"boolean"}}},"CategoryPage":{"type":"object","description":"One category as a page draws it: the node itself, the trail down to it, and its children.","required":["node","breadcrumb","children"],"properties":{"breadcrumb":{"type":"array","items":{"$ref":"#/components/schemas/CategoryNode"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/CategoryNode"}},"node":{"$ref":"#/components/schemas/CategoryNode"}}},"CategorySuggestion":{"type":"object","required":["name","path","article_count"],"properties":{"article_count":{"type":"integer","format":"int32","example":24888,"minimum":0},"name":{"type":"string","example":"Piduriklotsid"},"path":{"type":"string","example":"spare-parts/braking-system/disc-brake/brake-pad"}}},"Company":{"type":"object","description":"The company this account's invoices are made out to.","required":["name","reg_number","street","city","country"],"properties":{"city":{"type":"string"},"country":{"type":"string"},"name":{"type":"string"},"postcode":{"type":["string","null"]},"reg_number":{"type":"string"},"street":{"type":"string"},"vat_number":{"type":["string","null"]}}},"Condition":{"type":"string","description":"The five the database's `article_condition` holds. The wire value is the variant's own\nspelling, so the UI translates it and the payload never carries an English sentence.","enum":["NEW","USED_A","USED_B","USED_C","SALVAGE"]},"Confirm":{"type":"object","description":"The password that proves the asker owns the account being deleted.","properties":{"password":{"type":"string"}}},"CoreReturns":{"type":"object","description":"What this order still owes a casing for, and what has already been asked for. One read, two\nhalves, because a screen that shows the second without the first cannot say what is left.","required":["sources","claims"],"properties":{"claims":{"type":"array","items":{}},"sources":{"type":"array","items":{}}}},"CreditShort":{"type":"object","description":"A credit family this basket is too small for, and by how much.","required":["method","missing"],"properties":{"method":{"type":"string"},"missing":{"$ref":"#/components/schemas/Money"}}},"DeliveryQuote":{"type":"object","description":"What delivery costs for this cart, VAT included at the same rate as the goods. Advisory until the order is placed: the order re-asks and refuses a changed cart.","required":["method","transport","waived","parcels"],"properties":{"credit_short":{"type":"array","items":{"$ref":"#/components/schemas/CreditShort"},"description":"How much more this basket needs before a credit family will take it. Worked out here\nbecause subtracting one price from another is money arithmetic, and the checkout does not\ndo that — it only renders what the server states."},"method":{"type":"string"},"parcels":{"type":"array","items":{"$ref":"#/components/schemas/ParcelOffer"},"description":"One entry per parcel, for the method asked about. A one-parcel cart gets one, which is what\nit already renders as a single choice."},"payable":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"Goods, any core deposit and transport, all VAT-inclusive — the figure the order button\nstates, equal to the `total_amount` `/checkout/place` writes. Withheld while any parcel\nrefuses the asked method: there is no amount to agree to for a combination that cannot ship."},{"type":"null"}]},"transport":{"$ref":"#/components/schemas/RetailPrice"},"waived":{"type":"boolean"}}},"Destination":{"type":"object","description":"Where the cart is going and how. A parcel locker is chosen separately; the quote does not need the point, only the country and postcode it stands in.","required":["method","country"],"properties":{"country":{"type":"string"},"method":{"type":"string"},"parcel_methods":{"type":"object","description":"A method per PARCEL, keyed by the id the cart gave it. `method` covers every parcel this\ndoes not name, so a one-parcel cart sends nothing here and nothing changes for it."},"point_postcode":{"type":["string","null"],"description":"Where a LOCKER leg goes when that is not the door. A mixed order has two destinations and\none carrier zone each, so one field cannot price both legs."},"postcode":{"type":"string"}}},"Details":{"type":"object","description":"The shopper's own name and the phone their parcels are called about.","required":["full_name","phone"],"properties":{"full_name":{"type":"string"},"phone":{"type":"string","description":"Empty where the account has no party yet, which is every account that has not ordered."}}},"Erasability":{"type":"object","description":"Whether this account can be deleted yet, and what is holding it if not.","required":["erasable"],"properties":{"erasable":{"type":"boolean"},"erasable_at":{"type":["string","null"]},"open_orders":{"type":"integer","format":"int64"},"reason":{"type":"string"}}},"EuLabel":{"type":"object","description":"One tyre's EU energy label, as Regulation (EU) 2020/740 Article 6(7) requires it to be\npresented: the fuel-efficiency and wet-grip classes on the A–E scale, the external rolling\nnoise, the severe-snow and ice-grip pictograms the label has carried since 2021, and the\nregister entry the label itself is published in. Every field is a string or a bool so the wire\npayload never carries a `null`.","required":["fuel","wet","noise_class","noise_db","ice_grip","three_pmsf","eprel_id","exempt","exemption"],"properties":{"eprel_id":{"type":"string","example":"542234"},"exempt":{"type":"boolean"},"exemption":{"type":"string","example":"STUDDED_OR_STUDDABLE"},"fuel":{"type":"string","example":"C"},"ice_grip":{"type":"boolean"},"noise_class":{"type":"string","example":"B"},"noise_db":{"type":"string","example":"72"},"three_pmsf":{"type":"boolean"},"wet":{"type":"string","example":"B"}}},"Facet":{"type":"object","description":"One dimension of the filter rail, with the values it offers. The brand rail is the only one\nthe catalogue computes today.","required":["key","slug","label","values"],"properties":{"key":{"type":"string","example":"brand"},"label":{"type":"string","example":"Brand"},"slug":{"type":"string","description":"What a filter URL names this criterion: `key` with its underscores hyphenated.","example":"viscosity-grade"},"values":{"type":"array","items":{"$ref":"#/components/schemas/FacetValue"}}}},"FacetValue":{"type":"object","description":"One tickable value of a facet, with how many of the branch's articles carry it. `value` is\nwhat a filter submits and what the catalogue matches on, so it is the same string in every\nlanguage; `label` is what the rail prints — the value translated where a translation was\nauthored, carrying the criterion's unit.","required":["value","label","count"],"properties":{"count":{"type":"integer","format":"int32","example":450,"minimum":0},"label":{"type":"string","example":"74 Ah"},"value":{"type":"string","example":"74"}}},"FitMake":{"type":"object","description":"One make above the fitting-vehicles table, with how many of its versions fit. A pair would\nserialise as a two-element array of mixed types, which no schema can describe honestly.","required":["make","count"],"properties":{"count":{"type":"integer","format":"int32","example":60,"minimum":1},"make":{"type":"string","example":"RENAULT","minLength":1}}},"Fitment":{"type":"object","description":"One vehicle version the article fits, as the design's table draws it.","required":["make","model","engine","years","engine_code","model_path"],"properties":{"engine":{"type":"string","description":"The type name, which is what TecDoc calls the engine variant: \"1.9 TDI\".","example":"1.5 Blue dCi 95 (KEJL)"},"engine_code":{"type":"string","description":"The manufacturer's engine code, which is what a shopper checks against the plate under the\nbonnet when two versions share a type name. Empty for the 13% of versions the catalogue\nholds none for, never null.","example":"K9K 626"},"make":{"type":"string","example":"DACIA","minLength":1},"model":{"type":"string","example":"DOKKER MPV (KE_)"},"model_path":{"type":"string","description":"This part's own category with the car picker already on that make and model, so the one\nstep left is the engine. Empty where the catalogue holds no folded make or model to key\nthe picker on, and the cell is then plain text rather than a dead link.","example":"spare-parts/filters/oil-filter?mk=dacia&md=dokker+mpv+%28ke_%29"},"power_kw":{"type":["integer","null"],"format":"int32","description":"Power in kilowatts, which the table's own heading names so the cell can be the number\nalone. The catalogue holds `power_hp` for 9 of its 80,945 versions, so a horsepower\ncolumn would be empty, and deriving one from the kilowatts would be inventing it.","example":70,"minimum":1},"years":{"type":"string","example":"2018–2021"}}},"KeepAddress":{"type":"object","description":"An address to keep. `kind` is DOOR or POINT. A DOOR states the country, street, city and postcode; a POINT states only `pudo_id`, because a parcel locker's address is the carrier directory's to state and not the browser's to send.","required":["kind"],"properties":{"address_line2":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"kind":{"type":"string"},"postcode":{"type":"string"},"pudo_id":{"type":"string"},"street":{"type":"string"}}},"KeepVehicle":{"type":"object","description":"A vehicle to keep. Its carry names it, or a ktype, plate or vin does.","properties":{"carry":{"type":["string","null"]},"ktype":{"type":["integer","null"],"format":"int32"},"label":{"type":["string","null"]},"plate":{"type":["string","null"]},"vin":{"type":["string","null"]}}},"Listing":{"type":"object","description":"One product row: what the category grid, the search results and the cart all show of an\narticle, priced from its cheapest live offer.","required":["id","path","article_number","brand","name","name_en","category_code","price","in_stock","delivery_days","low_stock","condition","offer_count","specs","oe_brand","image"],"properties":{"article_number":{"type":"string","example":"ADBP210033"},"brand":{"type":"string","example":"BLUE PRINT"},"category_code":{"type":"string"},"condition":{"$ref":"#/components/schemas/Condition","description":"The cheapest offer's own condition, as `market_listing.condition` holds it: NEW, USED_A,\nUSED_B, USED_C or SALVAGE. A used part priced like a new one is the row a shopper\ncomplains about, so this is read rather than assumed."},"delivery":{"type":["string","null"],"description":"The day the goods reach the shopper, in the page's language; the dispatch day alone where\nthe route states no transit.","example":"Arrives Wed, Nov 11"},"delivery_days":{"type":"integer","format":"int32","example":2,"minimum":0},"description":{"type":["string","null"],"description":"The catalogue's own description, where there is one. Many articles have none, so it is an\noption rather than an empty string nobody can tell apart from a missing one."},"eu_label":{"oneOf":[{"$ref":"#/components/schemas/EuLabel"},{"type":"null"}]},"id":{"type":"string","example":"blue-print-adbp210033"},"image":{"type":"string","example":"https://s3.partstall.itworks.ee/platform/article/01a0c02f-55e7-76fc-a186-c07fa713d97e/01a0f639-6f2b-7d4e-80b5-11f90813b885.jpg"},"in_stock":{"type":"integer","format":"int32","example":71,"minimum":0},"is_unstudded":{"type":"boolean","description":"Studdable winter tyre sold without studs fitted (WEB-154). False on every non-tyre row."},"low_stock":{"type":"boolean","description":"Whether the stock is short of what the page proposes to buy."},"name":{"type":"string","description":"The catalogue carries et/en/ru; a listing keeps both so the renderer can pick the language\nthe page was requested in, exactly as a category node does.","example":"Oil Filter"},"name_en":{"type":"string","example":"Oil Filter"},"oe_brand":{"type":"boolean","description":"Whether the brand is the car maker, so the row can mark the part as the original. Not\nto be confused with `ArticleDetail`'s `oe_*`, which are the OE reference NUMBERS."},"offer_count":{"type":"integer","format":"int32","description":"How many live offers this article has. The design shows \"N offers\" on the row and turns\nthe price into a select, so a row with one offer and a row with six are not the same row.\nZero on a catalogue row the shop cannot sell, which an original number's page still lists.","example":6,"minimum":0},"offers":{"type":"array","items":{"$ref":"#/components/schemas/RowOffer"},"description":"Every live offer on this article, cheapest first, when there is a choice to make. Empty\nwhere the article has one offer: the row already quotes it."},"path":{"type":"string","description":"The URL this listing is served at: the category's slug path plus a `-<n>` leaf, which is\nwhat `render::meta` parses back to find the article.","example":"part/blue-print-adbp210033"},"price":{"$ref":"#/components/schemas/RetailPrice"},"quality_tier":{"type":["string","null"],"description":"ECONOMY, STANDARD or PREMIUM: the product's own class where it has one, else its brand's.\nABSENT, never null, for the overwhelming majority that have neither — the app parses this\ndocument against a strict schema where an optional field may be absent but may not be null.","example":"PREMIUM"},"sold_in_fours":{"oneOf":[{"$ref":"#/components/schemas/SoldInFours"},{"type":"null"}]},"specs":{"type":"array","items":{"type":"string"},"description":"The key criteria the design prints as chips under the name — the article's own values from\n`product.descriptive_attributes`, in the language the page was requested in.","example":["Height: 113 mm","Outer Diameter: 58 mm"]}}},"ListingPage":{"type":"object","description":"One page of a category or search listing, with the facets that narrow it.","required":["items","total","pages","page","per_page","facets"],"properties":{"facets":{"type":"array","items":{"$ref":"#/components/schemas/Facet"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"page":{"type":"integer","format":"int32","example":1,"minimum":1},"pages":{"type":"integer","format":"int32","description":"How many pages the pager offers. Less than `total / per_page` where the category runs\ndeeper than the read stays fast; the page says so rather than offering a number it would\nanswer in a quarter of a second.","example":271,"minimum":1},"per_page":{"type":"integer","format":"int32","example":24,"maximum":60,"minimum":1},"priced":{"type":"boolean"},"sort_capped":{"type":"boolean","description":"This branch orders by price, but the matched set was too big to price. `priced` alone\ncannot say so: it is false on every ordinary part category too, where no price order is\noffered at all and there is nothing to explain."},"total":{"type":"integer","format":"int32","description":"Everything in the branch, which is what the heading counts.","example":6495,"minimum":0}}},"MakeHit":{"type":"object","required":["name","mk"],"properties":{"mk":{"type":"string"},"name":{"type":"string"}}},"MethodLimit":{"type":"object","description":"What a credit family will accept, in cents. Montonio states these in its documentation and\nNOWHERE in its API: the payment-methods response carries a processor and a logo and nothing\nelse, and Montonio's own WooCommerce plugin hardcodes the same numbers. So they are ours to\nkeep, and a button drawn outside them can only be refused by Inbank.","required":["method","min","max"],"properties":{"max":{"type":"integer","format":"int64"},"method":{"type":"string"},"min":{"type":"integer","format":"int64"},"period":{"type":["integer","null"],"format":"int32","description":"Absent, never null: a family without instalments has no period, and the rest of this API\nomits what it does not have. A null here was rejected by the checkout's own parser, which\nthen had no method list at all and drew no way to pay.","minimum":0}}},"MethodList":{"type":"object","description":"What the store may offer, by country for the banks and as bare names for the rest. Card, Apple\nPay, Google Pay, MobilePay, BLIK and the two Inbank families come back with a logo and nothing\nelse — those buttons are ours to draw.","required":["banks","others","limits"],"properties":{"banks":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"array","items":{"type":"object","description":"One bank a shopper may be sent straight to. `code` is what `preferredProvider` takes, and\nsending it is the whole difference between our checkout handing the shopper to their bank and\nMontonio asking them which bank it is (measured 20.11.2026: with it the answer is the gateway\nredirect, without it their own selection page).","required":["code","name","logo","position"],"properties":{"code":{"type":"string"},"logo":{"type":"string"},"name":{"type":"string"},"position":{"type":"integer","format":"int64"}}}}]}},"limits":{"type":"array","items":{"$ref":"#/components/schemas/MethodLimit"}},"others":{"type":"array","items":{"type":"string"}}}},"ModelHit":{"type":"object","required":["name","years","md"],"properties":{"md":{"type":"string"},"name":{"type":"string"},"years":{"type":"string"}}},"Money":{"type":"object","description":"A decimal string plus its currency; never a float.","required":["amount","currency"],"properties":{"amount":{"type":"string","example":"2.48","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"currency":{"type":"string","example":"EUR","maxLength":3,"minLength":3}}},"NotRestored":{"type":"object","description":"A saved line the restore could not reproduce. Nothing is substituted: choosing another offer is the shopper's to make.","required":["product_slug","name","reason","requested","restored","available"],"properties":{"available":{"type":"integer","format":"int32","minimum":0},"condition":{"oneOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"name":{"type":"string"},"product_slug":{"type":"string"},"reason":{"$ref":"#/components/schemas/Reason"},"requested":{"type":"integer","format":"int32"},"restored":{"type":"integer","format":"int32"}}},"Notification":{"type":"object","required":["orderToken"],"properties":{"orderToken":{"type":"string"}}},"OeGroup":{"type":"object","description":"The original-equipment numbers one vehicle manufacturer issued for this part. The make starts\nthe row and its numbers run on from it, which is how a shopper checking the number off their\nold part reads them: find the marque, then scan.","required":["brand","numbers"],"properties":{"brand":{"type":"string","example":"MERCEDES-BENZ"},"numbers":{"type":"array","items":{"type":"string"},"example":["A608 180 06 00","608 180 06 00"]}}},"Offer":{"type":"object","description":"One live offer on an article. Offers differ by price, by how many are in stock, by condition\nand by whether a core deposit applies — so all four travel, or the buy box's select shows a\nlist of rows that look identical.\n\n`placeable` marks the one the cart would actually add, which is NOT simply the first row: the\npage orders by retail gross and the cart resolves by the seller's price and then by id, and a\nscoped commission rule separates the two. 81,473 articles carry two or more listings tied at\nthe cheapest price, so guessing \"index 0\" in the frontend both refused real sales and still\nlet a mischarge through.","required":["id","price","in_stock","delivery_days","low_stock","condition","platform"],"properties":{"condition":{"$ref":"#/components/schemas/Condition"},"core_deposit":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"The refundable deposit on an exchange part, VAT included and with no commission on it: it\nis money the shopper gets back, not margin. Absent where the offer carries none."},{"type":"null"}]},"core_return_days":{"type":["integer","null"],"format":"int32","description":"How many days the shopper has to return the old part to get the deposit back.","example":14,"minimum":1},"delivery":{"type":["string","null"],"description":"The day THIS offer's goods reach the shopper; the dispatch day alone where the route states\nno transit.","example":"Arrives Wed, Nov 11"},"delivery_days":{"type":"integer","format":"int32","example":2,"minimum":0},"id":{"type":"string","format":"uuid","description":"The handle the buy box and the row's offers drop-down add to the cart by. Opaque: it names\nno seller, and a cart line has always been a listing rather than an article."},"in_stock":{"type":"integer","format":"int32","example":71,"minimum":0},"low_stock":{"type":"boolean"},"platform":{"type":"boolean","description":"False where this offer leaves a partner's warehouse, which travels as its own parcel with\nits own dispatch day and its own carriage. It names nobody - the cart already says\n\"Partnerladu\" over such a parcel, and which seller it is stays the shopper's non-business."},"price":{"$ref":"#/components/schemas/RetailPrice"},"set_total":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"Per offer, because the buy box quotes whichever one is selected."},{"type":"null"}]}}},"OrderLine":{"type":"object","description":"One line of an order, as the order froze it.","required":["name","code","quantity","line_gross"],"properties":{"code":{"type":"string"},"line_gross":{"$ref":"#/components/schemas/Money","description":"What the line costs the BUYER, VAT in. Named for what it is rather than for the column\nit came from: `line_total` on the row is a NET, and a DTO that carried a gross under that\nname is the confusion the `net` -> `goods` rename exists to prevent (WEB-22)."},"name":{"type":"string"},"quantity":{"type":"integer","format":"int32"},"unit_gross":{"type":["string","null"],"description":"What ONE of them costs the buyer, VAT in, as `billing.AllocateUnitDisplay` states it, so no\ncaller divides a line total: 2 x 20.22 is not the line gross wherever a line rounded.","example":"20.22"}}},"OrderSummary":{"type":"object","description":"One of the shopper's past orders, newest first.","required":["reference","placed_at","status","paid","total","items","cancelled"],"properties":{"cancelled":{"type":"boolean","description":"The list says the one word; the order's own page carries the reason, the credit note and\nwhere the money is. Read from the leg's own status, which is one column of a read the list\nalready does — a hundred rows are not a hundred hops to another service."},"invoice_number":{"type":["string","null"]},"items":{"type":"integer","format":"int64"},"paid":{"type":"boolean"},"placed_at":{"type":"string"},"reference":{"type":"string"},"status":{"type":"string"},"total":{"$ref":"#/components/schemas/Money"}}},"OrderView":{"type":"object","description":"An order as it stands. Every figure is the one the order was charged at, never recomputed here.","required":["reference","order_id","status","paid","payable","financing","goods","vat","vat_rate","total","transport","delivery_method","lines","cancelled","cancel_offered"],"properties":{"cancel_offered":{"type":"boolean","description":"Whether the shop OFFERS the cancel button. The refusal is market-back's, on the goods'\nactual movement inside the cancelling transaction; this is the narrower half of the same\nquestion. It is not the whole of it: the decline cooldown and the fulfilment hold are\nmarket-back's alone, so a pressed button can still answer 409 with its own sentence."},"cancellation":{"oneOf":[{"$ref":"#/components/schemas/Cancellation","description":"The whole object, as the buyer is owed it: the reason, the credit note that reversed their\ninvoice and where the money is. Absent where the order carries no cancellation."},{"type":"null"}]},"cancelled":{"type":"boolean","description":"Read from the order's own status, so the page says \"Tühistatud\" even when the cancellation\nobject below cannot be fetched."},"core_deposit":{"oneOf":[{"$ref":"#/components/schemas/Money","description":"The refundable core deposit, VAT in, where the order froze one. Its own row because the\ncart gives it one and the invoice writes it as its own line; absent otherwise, so a page\nthat never saw a deposit does not draw an empty row for it."},{"type":"null"}]},"delivery_method":{"type":"string"},"destination":{"oneOf":[{"$ref":"#/components/schemas/Destination","description":"Absent only for an order whose legs carry no captured delivery at all."},{"type":"null"}]},"financing":{"type":"boolean","description":"The shopper asked a lender, not a bank. A credit decision is an application they fill in\nat Inbank, so the page waits minutes rather than a card's moment before saying anything."},"goods":{"$ref":"#/components/schemas/Money","description":"The goods, VAT in, as the order's own lines froze them. Named for what it is: a field\ncalled `net` holding a gross is how a figure comes to be labelled three ways (WEB-22)."},"invoice_number":{"type":["string","null"],"description":"Present once the money has arrived: no document exists before then."},"lines":{"type":"array","items":{"$ref":"#/components/schemas/OrderLine"}},"order_id":{"type":"string","description":"The order itself, which outlives any one payment attempt: what `POST /checkout/pay` reopens\n(WEB-129) and the identity both measurement halves report the purchase under (WEB-59)."},"paid":{"type":"boolean"},"pay_blocked":{"type":["string","null"]},"payable":{"type":"boolean","description":"Whether payment may be reopened. A flag rather than a second id: this was `payable_id`, and\nan id that disappears once paid is what left the paid page measuring a payment reference."},"reference":{"type":"string"},"status":{"type":"string"},"total":{"$ref":"#/components/schemas/Money"},"transport":{"$ref":"#/components/schemas/Money"},"vat":{"$ref":"#/components/schemas/Money","description":"The VAT already inside `goods` and `transport`, stated rather than added."},"vat_rate":{"type":"string","description":"The rate the order froze, as a PERCENT, because that is what every other `vat_rate` on\nthis API is and what the frontend's own formatter appends a `%` to. The column holds the\nfraction, so sending it unconverted read \"Sisaldab käibemaksu 0,240000 %\"."}}},"Parcel":{"type":"object","description":"One physical dispatch. The shop's published rule is that goods leaving one place travel\ntogether and goods leaving another travel separately, with their own date and their own\ncarriage, so a parcel is an ORIGIN and the lines that share it. `dispatch` carries the whole\nparcel's delivery promise, worded by the server from its slowest line, because nothing ships\nbefore the last of it is in; `lead_days` is the figure behind it, which the checkout needs to\ndate the parcel against the destination the shopper has by then named.","required":["id","platform_warehouse","item_count","methods"],"properties":{"dispatch":{"type":["string","null"]},"id":{"type":"string","description":"What a delivery method is chosen FOR. The quote keys its legs on the same string, so a\ncart with two parcels can carry two methods."},"item_count":{"type":"integer","format":"int32","minimum":0},"methods":{"type":"array","items":{"type":"string"},"description":"What these goods may travel by, from their stored class rather than a refused quote (WEB-22)."},"platform_warehouse":{"type":"boolean"}}},"ParcelOffer":{"type":"object","description":"One parcel's own answer for the method asked about. The page renders a choice per parcel from\nthese, so the server states each verdict rather than the browser inferring one from a total.","required":["id","method","waived"],"properties":{"arrival":{"type":["string","null"],"description":"The day this parcel reaches the shopper, dispatch and transit in one date and a range where\nthe carrier states one. Absent where either half is unstated, and `transit` then says the\nhalf we hold."},"id":{"type":"string","description":"The id the cart gave this parcel, which a chosen method is keyed by."},"method":{"type":"string"},"refusal":{"type":["string","null"]},"transit":{"type":["string","null"],"description":"How long the CARRIER takes on this parcel's own route, worded by the server. Absent where\nthe operator has stated no route for it, which says nothing rather than a wrong number."},"transport":{"oneOf":[{"$ref":"#/components/schemas/RetailPrice","description":"Absent when the parcel refuses this method — `refusal` then says why, in wms-back's words."},{"type":"null"}]},"waived":{"type":"boolean"}}},"PayFor":{"type":"object","required":["customer_order_id"],"properties":{"customer_order_id":{"type":"string","description":"The order to pay for, as `POST /checkout/place` returned it."},"method":{"type":["string","null"],"description":"Which family the shopper pressed: the bank link, or card, Apple Pay, BNPL and the rest as\n`GET /checkout/payment-methods` names them. Absent means the bank link, which is what every\npayment used to be regardless of what the checkout advertised (WEB-63)."},"period":{"type":["integer","null"],"format":"int32","description":"How many monthly instalments the shopper chose for Pay Later: 1 pays the whole amount next\nmonth, 2 and 3 split it. Montonio allows only those three, and the choice is the\nshopper's — it was fixed at 1 here, so the split the provider offers was never reachable.","minimum":0},"provider":{"type":["string","null"],"description":"The bank the shopper chose on our page, as `GET /checkout/payment-methods` spelled it.\nSent on to the provider so they land on that bank instead of its method page (WEB-63).\nAbsent for card and the other families, which have no bank to preselect."}}},"PaymentSession":{"type":"object","description":"Where to send the shopper to pay. Montonio is the only way this shop takes money, and the methods inside it are its own.","required":["payment_url","reference","sandbox"],"properties":{"payment_url":{"type":"string"},"reference":{"type":"string"},"sandbox":{"type":"boolean"}}},"PickupPoint":{"type":"object","description":"One DPD parcel locker. The whole country's list comes back at once, for the browser to hold and filter: every distinct search would otherwise be a billed carrier call.","required":["id","name","street","city","postal_code"],"properties":{"city":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"postal_code":{"type":"string"},"street":{"type":"string"}}},"PlacedOrder":{"type":"object","description":"The order, awaiting payment. No invoice exists yet: the document belongs to the paid transition.","required":["customer_order_id","total","net","vat","transport","status","replayed"],"properties":{"customer_order_id":{"type":"string"},"net":{"$ref":"#/components/schemas/Money"},"replayed":{"type":"boolean","description":"True when this request replayed an order a previous attempt had already written."},"status":{"type":"string"},"total":{"$ref":"#/components/schemas/Money"},"transport":{"$ref":"#/components/schemas/Money"},"vat":{"$ref":"#/components/schemas/Money"}}},"Placement":{"type":"object","description":"Where the order ships and how, and — for a guest whose cart has no buyer yet — the mailbox the account is opened on. `email` is ignored for a signed-in shopper and ignored once the cart already names a buyer, so one cart can cost at most one account.","required":["method","country","name","phone"],"properties":{"address_line2":{"type":"string"},"bill_city":{"type":"string"},"bill_country":{"type":"string"},"bill_name":{"type":"string","description":"Who the invoice names, where that is not the shopper themselves: a company buying for its\nown books, or a shopper whose own address is not where the parcel goes. A registry code is\nwhat makes it a company; a name is required as soon as anything here is filled (WEB-23)."},"bill_postcode":{"type":"string"},"bill_reg_number":{"type":"string"},"bill_street":{"type":"string"},"bill_vat_number":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"email":{"type":"string"},"email_acknowledged":{"type":"boolean","description":"The shopper's answer to being told `email` already has an account and that this order joins\nit. SSO refuses a mailbox it can reach until this says yes, so the disclosure costs an\nattempt to buy rather than becoming an endpoint that reports who is registered (WEB-138)."},"fitment_plate":{"type":"string","description":"Optional, and read by a person: there is no registration-plate lookup on this platform, so\na plate is text for PartStall's team to check the fit against before dispatch."},"fitment_vin":{"type":"string"},"method":{"type":"string"},"name":{"type":"string"},"parcel_methods":{"type":"object","description":"The method chosen for each PARCEL, keyed by the id the cart gave it. `method` covers any\nparcel this does not name, so a one-parcel order sends nothing here (WEB-21.1)."},"phone":{"type":"string"},"postcode":{"type":"string"},"pudo_id":{"type":"string"},"street":{"type":"string"}}},"Pressed":{"type":"object","description":"The token from a mailed link, spent by the press that sends it.","properties":{"token":{"type":"string"}}},"Problem":{"type":"object","title":"Problem","description":"RFC 9457 problem+json, the error shape every service on the platform returns.","required":["status","code","title","detail"],"properties":{"code":{"type":"string"},"detail":{"type":"string"},"status":{"type":"integer","format":"int32","minimum":0},"title":{"type":"string"}},"example":{"code":"not_found","detail":"article not found","status":404,"title":"not found"}},"ProductSuggestion":{"type":"object","required":["name","slug","code"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"price":{"type":["string","null"]},"slug":{"type":"string"}}},"RailGroup":{"type":"object","description":"One group in the browse rail, with the sub-groups it opens. The rail is the same for every\npage in a department, so it is fetched once rather than carried inside each document - where it\nwas 48 KB, seven tenths of a category payload.","required":["name","path","article_count","subs"],"properties":{"article_count":{"type":"integer","format":"int32","minimum":0},"name":{"type":"string"},"path":{"type":"string"},"subs":{"type":"array","items":{"$ref":"#/components/schemas/RailSub"}}}},"RailSub":{"type":"object","required":["name","path","article_count"],"properties":{"article_count":{"type":"integer","format":"int32","minimum":0},"name":{"type":"string"},"path":{"type":"string"}}},"Reason":{"type":"string","description":"Why a saved line did not come back whole: the offer is gone, it has nothing in stock, or fewer were available than were saved.","enum":["GONE","OUT_OF_STOCK","REDUCED"]},"Received":{"type":"object","required":["legs"],"properties":{"legs":{"type":"integer","format":"int64","description":"How many of the order's legs the confirmation reached. An order with several sellers is one\ndelivery to the shopper, so one click answers for all of them."}}},"Replacement":{"type":"object","description":"An interchangeable part the shop does NOT stock: the same thing under another brand's number,\nwhich is still the cross-reference a shopper comparing numbers came for. The ones the shop does\nstock travel as `ArticleDetail.replacement_products`, with a photo, a price and a link.","required":["brand","article_number"],"properties":{"article_number":{"type":"string","example":"ADBP210033","minLength":1},"brand":{"type":"string","example":"BLUE PRINT"}}},"Restored":{"type":"object","description":"The live cart after the restore replaced it, with whatever could not be reproduced.","required":["cart","not_restored"],"properties":{"cart":{"$ref":"#/components/schemas/Cart"},"not_restored":{"type":"array","items":{"$ref":"#/components/schemas/NotRestored"}}}},"RetailPrice":{"type":"object","description":"A buyer-facing price: net, VAT and gross, each rounded once at the currency scale.","required":["net","vat","gross","vat_rate","vat_basis"],"properties":{"gross":{"$ref":"#/components/schemas/Money"},"net":{"$ref":"#/components/schemas/Money"},"vat":{"$ref":"#/components/schemas/Money"},"vat_basis":{"$ref":"#/components/schemas/VatBasis"},"vat_rate":{"type":"string","example":"24","pattern":"^[0-9]+(\\.[0-9]+)?$"}}},"ReturnState":{"type":"object","description":"What the shopper's own return POST learns. Montonio ignores response bodies, so the webhook\ncontract is untouched; the browser that carried the token back gets the verdict instead of\nre-deriving it by polling.","required":["paid","terminal"],"properties":{"paid":{"type":"boolean"},"terminal":{"type":"boolean","description":"The provider will not change its mind: paid, voided, abandoned or failed."}}},"Returnable":{"type":"object","required":["offered","items","withdrawal_open","receipt_known","seller_window_closed","reasons"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ReturnableItem"}},"offered":{"type":"boolean","description":"Whether there is a return to talk about at all: nothing has left the warehouse, nothing is\nclaimed and no arrival is recorded, and `/confirm-received` would refuse one anyway."},"reasons":{"type":"array","items":{"type":"string"}},"receipt_known":{"type":"boolean"},"seller_window_closed":{"type":"boolean","description":"The seller's own period, which is a different clock and can be closed while the statutory\none is open."},"withdrawal_open":{"type":"boolean","description":"The statutory 14 days from RECEIPT. Closed when receipt is unknown, which is why\n`receipt_known` is beside it rather than left for the shopper to infer."}}},"ReturnableItem":{"type":"object","required":["item_id","name","code","returnable","sources","source_required"],"properties":{"code":{"type":"string"},"item_id":{"type":"string"},"name":{"type":"string"},"returnable":{"type":"integer","format":"int64","description":"How many units of this line may still be asked for."},"source_required":{"type":"boolean"},"sources":{"type":"array","items":{"type":"string"},"description":"The picks a claim for this line must name. Which pick a unit comes from freezes donor\nprovenance, so the shop passes them through rather than choosing."}}},"RowOffer":{"type":"object","description":"One of a row's offers, as the row's drop-down shows it: a price, how many there are and when\nthey leave. Not `Offer` — that carries the buy box's deposit and set arithmetic, which a list\nrow does not draw, and 24 rows of it is payload nobody reads.","required":["id","price","in_stock","condition"],"properties":{"condition":{"$ref":"#/components/schemas/Condition"},"delivery":{"type":["string","null"]},"delivery_date":{"type":["string","null"]},"id":{"type":"string","format":"uuid"},"in_stock":{"type":"integer","format":"int32","example":12,"minimum":0},"price":{"$ref":"#/components/schemas/RetailPrice"},"set_total":{"oneOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}}},"SameSize":{"type":"object","description":"Other products of one product's size — four other rims of a rim's bolt pattern and diameter,\nfour other tyres of a tyre's size — and where the rest of that size are. The heading and the\nlink are worded by the server, so neither rendering path has to know which of the two it is\ndrawing and the size is spelt once.","required":["heading","link","path","items"],"properties":{"heading":{"type":"string","example":"Other wheels 5×112 17\""},"items":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"link":{"type":"string","example":"All wheels 5×112 17\""},"path":{"type":"string","example":"tyres-wheels/wheels-rims?wp=5x112&wd=17"},"pattern_href":{"type":"string"},"pattern_link":{"type":"string","description":"The pattern page, where the rest of THIS pattern's sizes are. Empty for a wheel, and for a\ntyre whose pattern the catalogue does not record."}}},"SaveCart":{"type":"object","description":"The name to save the current cart under. Saving under a name already in use replaces that saved cart's items.","required":["name"],"properties":{"name":{"type":"string"}}},"SavedCart":{"type":"object","description":"One of the shopper's saved carts, as the list shows it.","required":["id","name","item_count","created_at","updated_at"],"properties":{"created_at":{"type":"string"},"id":{"type":"string"},"item_count":{"type":"integer","format":"int64"},"name":{"type":"string"},"updated_at":{"type":"string"}}},"SavedCartDetail":{"type":"object","description":"A saved cart with its lines.","required":["id","name","created_at","updated_at","items"],"properties":{"created_at":{"type":"string"},"id":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/SavedCartItem"}},"name":{"type":"string"},"updated_at":{"type":"string"}}},"SavedCartItem":{"type":"object","description":"One saved line, priced and counted as it stands now. A line whose offer is gone keeps its part and its condition, carries no price, and is never swapped for another offer.","required":["id","product_slug","name","brand","image","quantity","available","orderable"],"properties":{"available":{"type":"integer","format":"int32","minimum":0},"brand":{"type":"string"},"condition":{"oneOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"id":{"type":"string"},"image":{"type":"string"},"name":{"type":"string"},"orderable":{"type":"boolean"},"product_slug":{"type":"string"},"quantity":{"type":"integer","format":"int32"},"unit":{"oneOf":[{"$ref":"#/components/schemas/RetailPrice"},{"type":"null"}]}}},"ServedCountries":{"type":"object","description":"The countries this shop can take an order for. One is not a choice and the checkout draws no picker for it; several are the shopper's to pick from.","required":["countries"],"properties":{"countries":{"type":"array","items":{"type":"string"}}}},"SetQty":{"type":"object","description":"The new quantity for a line. Zero removes it.","required":["quantity"],"properties":{"quantity":{"type":"integer","format":"int32","maximum":99,"minimum":0}}},"SetUnit":{"type":"string","description":"What a product bought by the corner is counted in.","enum":["WHEEL","TYRE","SENSOR"]},"SignInMethods":{"type":"object","description":"How this account signs in. The address is the account's own, read now rather than from the session cookie, because a confirmed change makes that cookie stale.","required":["email"],"properties":{"email":{"type":"string"}}},"SizeStanding":{"type":"object","description":"Where one tyre stands among the tyres of its own size and season, worded by the server so the\nrendered page and the scripted one cannot compare the same group differently. A sentence is\nempty where the group was too small to have a position in.","required":["price_position","label_comparison"],"properties":{"label_comparison":{"type":"string","example":"Mõõdus 205/55 R16 ja samal hooajal on märghaardumise klass parem kui C 3 rehvil 64 märgistatud rehvi seast."},"price_position":{"type":"string","example":"Hind 72,10 € on mõõdus 205/55 R16 sama hooaja rehvide keskmises kolmandikus; hinnavahemik on 48,37 € – 214,60 €."}}},"SoldInFours":{"type":"object","description":"The set a product bought by the corner is quoted in. `RowOffer::set_total` carries the same\nfigure for each OTHER offer on the row, because choosing one has to change what the set costs\nand only the server may work that out -- the row's displayed unit price is rounded for display,\nso unit x quantity is not the line total (WEB-6, owner 15.11.2026: a 54,70 EUR offer left the\nset reading 197,74 EUR).","required":["unit","quantity","total"],"properties":{"quantity":{"type":"integer","format":"int32","example":4,"minimum":1},"total":{"$ref":"#/components/schemas/Money"},"unit":{"$ref":"#/components/schemas/SetUnit"}}},"StateCompany":{"type":"object","description":"The company to keep. A registry code is what makes it one, and a company needs the legal address its invoice will print.","properties":{"city":{"type":"string"},"country":{"type":"string"},"name":{"type":"string"},"postcode":{"type":"string"},"reg_number":{"type":"string"},"street":{"type":"string"},"vat_number":{"type":"string"}}},"StateDetails":{"type":"object","description":"The details to keep. An unstated phone leaves the kept one alone.","properties":{"full_name":{"type":"string"},"phone":{"type":"string"}}},"Suggestions":{"type":"object","required":["categories","products"],"properties":{"categories":{"type":"array","items":{"$ref":"#/components/schemas/CategorySuggestion"}},"products":{"type":"array","items":{"$ref":"#/components/schemas/ProductSuggestion"}}}},"TyreFacets":{"type":"object","description":"The values each of the finder's three selects offers.","required":["fuels","wets","noises","speeds","widths","aspects","diameters","seasons","vehicles","top_sizes","segment","brands"],"properties":{"aspects":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"brands":{"type":"array","items":{"type":"string"},"description":"Filled only by the cacheable facets endpoint: the brand read costs 2,584 buffers and the\ntyre category is the hottest branch in the shop, so it never rides on a page request."},"diameters":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"fuels":{"type":"array","items":{"type":"string"},"description":"The EU label grades and speed ratings the branch stocks, for the filter rail."},"noises":{"type":"array","items":{"type":"string"}},"seasons":{"type":"array","items":{"type":"string"},"description":"The catalogue's own spelling - `winter-nordic`, `all-season` - deduplicated case\ninsensitively, because it also holds a handful of `WINTER` rows."},"segment":{"type":"string"},"speeds":{"type":"array","items":{"type":"string"}},"top_sizes":{"type":"array","items":{"$ref":"#/components/schemas/TyreSizeCount"},"description":"The car segment's sizes, most live articles first, folded at the snapshot: the same answer\nasked per request is 84 ms and 1,478 buffers."},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/TyreVehicle"},"description":"The vehicle a tyre is for, which in this catalogue is the subcategory it sits in:\nPassenger / SUV, Van (C), Motorcycle, Truck. Read off the taxonomy already in memory."},"wets":{"type":"array","items":{"type":"string"}},"widths":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"TyreSize":{"type":"object","description":"A tyre size as the finder names it: 205/55 R16.","required":["width","aspect","diameter"],"properties":{"aspect":{"type":"integer","format":"int32","minimum":0},"diameter":{"type":"integer","format":"int32","minimum":0},"width":{"type":"integer","format":"int32","minimum":0}}},"TyreSizeCount":{"type":"object","description":"One size with how many live articles the car segment holds in it. Counted off the catalogue,\nso the shortcut row says what is STOCKED and never what anyone searched for.","required":["size","articles"],"properties":{"articles":{"type":"integer","format":"int32","minimum":0},"size":{"$ref":"#/components/schemas/TyreSize"}}},"TyreVehicle":{"type":"object","required":["code","name","widths","aspects","diameters","seasons"],"properties":{"aspects":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"code":{"type":"string"},"diameters":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"name":{"type":"string"},"seasons":{"type":"array","items":{"type":"string"}},"widths":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"VatBasis":{"type":"string","description":"Whether the gross figure is a price the buyer is held to. The storefront prices one\ndestination, so VAT_INCLUDED is the only basis it can state; `MONEY.md` forbids a second\nvalue arriving before the code that resolves it.","enum":["VAT_INCLUDED"]},"Vehicle":{"type":"object","description":"One vehicle the shopper keeps in their garage.","required":["id","label","carry"],"properties":{"carry":{"type":"string","description":"The query the shop re-selects this car with, exactly as the finder produced it."},"id":{"type":"string"},"ktype":{"type":["integer","null"],"format":"int32"},"label":{"type":"string"},"plate":{"type":["string","null"]},"vin":{"type":["string","null"]}}},"VehicleEngine":{"type":"object","description":"One engine version of a model — the thing a shopper actually picks, and the row the\ncatalogue's fitment points at.","required":["ktype","name","key","slug","generation","years"],"properties":{"fuel":{"type":["string","null"],"description":"The catalogue's own wording, verbatim. Which of its 17 spellings share one heading is a\nproduct decision, so it is not made here.","example":"Petrol"},"generation":{"type":"string","example":"1977-1983"},"key":{"type":"string","example":"1-6-63kw-yv"},"ktype":{"type":"integer","format":"int32","description":"TecDoc's own vehicle number, which is what the platform's fitment is keyed by. Carried\nthrough the picker instead of a row id, so choosing a car needs no lookup to use it.","example":11042},"name":{"type":"string","example":"316 i","minLength":1},"power_kw":{"type":["integer","null"],"format":"int32","example":77,"minimum":1},"slug":{"type":"string","example":"1-6-63kw-yv-11042"},"years":{"type":"string","example":"1998–2002"}}},"VehicleMake":{"type":"object","description":"One manufacturer in the car picker, with how many versions of it the catalogue holds.","required":["name","key","vehicles"],"properties":{"key":{"type":"string","example":"alfa romeo"},"name":{"type":"string","example":"ALFA ROMEO"},"vehicles":{"type":"integer","format":"int32","example":505,"minimum":1}}},"VehicleModel":{"type":"object","description":"One model of a make, with the years its versions span.","required":["name","key","years","vehicles","family"],"properties":{"family":{"type":"string","example":"3"},"key":{"type":"string","example":"3-e46"},"name":{"type":"string","example":"3 (E46)","minLength":1},"vehicles":{"type":"integer","format":"int32","example":24,"minimum":1},"years":{"type":"string","example":"1997–2005"}}},"VehicleSearch":{"type":"object","properties":{"makes":{"type":"array","items":{"$ref":"#/components/schemas/MakeHit"}},"models":{"type":"array","items":{"$ref":"#/components/schemas/ModelHit"}},"versions":{"type":"array","items":{"$ref":"#/components/schemas/VersionHit"}}}},"VersionHit":{"type":"object","required":["name","years","eng"],"properties":{"eng":{"type":"string"},"fuel":{"type":["string","null"]},"name":{"type":"string"},"power_kw":{"type":["integer","null"],"format":"int32","minimum":0},"years":{"type":"string"}}},"VinDecode":{"type":"object","description":"What a VIN decoded to. `decoded` is how many vehicles the decode named, BEFORE the catalogue\nwas asked about them; `vehicles` is the subset the shop carries parts for. The two differ often\nenough to matter — the mirror the decode enriches from is larger than the one the car picker is\nbuilt on — and collapsing them tells a shopper with a perfectly good VIN that it is unknown.","required":["decoded","vehicles"],"properties":{"decoded":{"type":"integer","format":"int32","example":3,"minimum":0},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/VinVehicle"}}}},"VinVehicle":{"type":"object","description":"One vehicle a VIN decoded to, named the way the car picker names things: `make_key` and\n`model_key` are the picker's own `mk` and `md`, so a decoded car can be handed straight to a\ncategory URL instead of being matched by name afterwards.","required":["ktype","make","make_key","model","model_key","name","years"],"properties":{"ktype":{"type":"integer","format":"int32","example":12470},"make":{"type":"string","example":"BMW","minLength":1},"make_key":{"type":"string","example":"bmw"},"model":{"type":"string","example":"3 (F30, F80)","minLength":1},"model_key":{"type":"string","example":"3 (f30, f80)"},"name":{"type":"string","example":"328 i","minLength":1},"power_kw":{"type":["integer","null"],"format":"int32","example":180,"minimum":1},"years":{"type":"string","example":"2011–2018"}}},"WheelFacets":{"type":"object","description":"The values each of the wheel finder's four selects offers, in the catalogue's own spelling —\n`5x112`, `17`, `7.5`, `45`. Kept as the text the rollup holds rather than parsed into numbers:\na half-inch rim width and a negative offset both survive the round trip through the URL\nunchanged, and membership in this list is what validates an incoming value.","required":["bolt_patterns","diameters","widths","offsets","brands","materials","path"],"properties":{"bolt_patterns":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"},"description":"The rim brands the branch carries, biggest first, as the panel's fifth select. By name,\nbecause a name can own several brand rows and the listing already filters by name."},"diameters":{"type":"array","items":{"type":"string"}},"materials":{"type":"array","items":{"type":"string"},"description":"What a rim is made of, as the catalogue states it: the codes of the shelves under the\nbranch. `product_wheel.material` is NULL on all 26,777 rows, while 479 rims are filed\nunder `alloy-wheel` and 130 under `steel-wheel`."},"offsets":{"type":"array","items":{"type":"string"}},"path":{"type":"string","description":"Where the panel's GET lands: the wheels branch's own slug path, which is the taxonomy's\nand not the dotted code with its dots swapped for slashes."},"widths":{"type":"array","items":{"type":"string"}}}}}},"tags":[{"name":"catalog","description":"Categories, products and search."},{"name":"vehicles","description":"The car picker: make, then model, then engine version."},{"name":"cart","description":"The guest cart, keyed by the store_cart cookie."},{"name":"saved-carts","description":"A signed-in shopper's named carts, kept against their account."},{"name":"garage","description":"The vehicles a signed-in shopper keeps, to search by them again."},{"name":"addresses","description":"The delivery addresses a signed-in shopper keeps, street and parcel locker alike."},{"name":"account","description":"What a signed-in shopper keeps on their account: the company their invoices are made out to."},{"name":"meta","description":"What this build is."}]}