Conformance table and unverified facts
What this add-on sends to the marketplace, how each call was checked, and which B&Q-specific facts could not be verified publicly. Source of the API description: the official Mirakl Marketplace Seller OpenAPI file published on the Mirakl developer portal (developer.mirakl.com, Mirakl Marketplace APIs, Seller, downloaded 2026-11-09). The operator facts about B&Q come from B&Q’s public seller FAQ and from integrators’ public guides; anything that could not be confirmed is marked UNVERIFIED.
This is a statement about what was tested, not a certification: the add-on was tested against a local stand-in that validates every request against the OpenAPI file. No test ever called a B&Q or any other real Mirakl endpoint, and nothing was tested with a live B&Q seller account.
How the checks work
Section titled “How the checks work”tests/openapi/build-subset.mjsextracts the operations below from the downloaded OpenAPI file (parameters, enums, request and response schemas, the example payloads).php tests/unit_mirakl.phpruns the driver with the spec’s example payloads as answers and records every request;tests/openapi/check.mjsvalidates each recorded request: method and path, query parameters and their enum values, JSON body against the schema (unknown properties are errors), multipart fields, the import file columns, the API key header, theContent-Length: 0of OR24.- The mock server (
tests/mock-server/server.js) applies the same validator to every request of the HTTP end-to-end runs on CS-Cart and Multi-Vendor and answers 400 to a request that does not conform; the runs end with “every request conformed”. The e2e scripts refuse to start unless the store’s base URL points at 127.0.0.1.
Operations used
Section titled “Operations used”| Id | Method and path | Used for | Checked in |
|---|---|---|---|
| A01 | GET /api/account |
Test connection: shop name, id, currency, channels | unit, e2e |
| H11 | GET /api/hierarchies |
B&Q category tree for the mapping | unit, e2e |
| PM11 | GET /api/products/attributes |
Product attributes of a category (read only, informational) | unit, e2e |
| AF01 | GET /api/additional_fields?entities=OFFER |
Offer fields (attributes) and their allowed values | unit, e2e |
| OF61 | GET /api/offers/states |
Code of the condition “New” | unit, e2e |
| OF01 | POST /api/offers/imports (multipart, import_mode=NORMAL) |
Create or update offers from a CSV file | unit, e2e |
| OF24 | POST /api/offers (JSON) |
Alternative to OF01, selectable in the operator file; not used by default | unit |
| OF02 | GET /api/offers/imports/{import} |
State and statistics of an offer import | unit, e2e |
| OF03 | GET /api/offers/imports/{import}/error_report |
Reason per rejected offer line | unit, e2e |
| OF04 | GET /api/offers/imports |
Finds an import whose answer was lost | unit, e2e |
| STO01 / STO02 / STO03 | POST /api/offers/stock/imports, GET .../stock/imports/{id}/status, .../error_report |
Stock changes and their result | unit, e2e |
| PRI01 / PRI02 / PRI03 | POST /api/offers/pricing/imports, GET /api/offers/pricing/imports?import_id=, .../error_report |
Price changes and their result | unit, e2e |
| OR11 | GET /api/orders |
Orders waiting for acceptance, orders changed since a moment, order lines for a refund | unit, e2e |
| OR21 | PUT /api/orders/{order_id}/accept |
Accept or refuse each line (by stock) | unit, e2e |
| OR23 | PUT /api/orders/{order_id}/tracking |
Carrier (by code, or by name and link) and tracking number | unit, e2e |
| OR24 | PUT /api/orders/{order_id}/ship |
Validate the shipment (empty body, Content-Length: 0) |
unit, e2e |
| OR28 | PUT /api/orders/refund |
Refund shipped order lines | unit, e2e |
| OR33 | PUT /api/orders/{order_id}/cancel-order-lines |
Cancel lines the seller cannot deliver | unit, e2e |
| SH21 | GET /api/shipping/carriers |
Carrier codes | unit, e2e |
| RE01 | GET /api/reasons |
Cancellation (CANCELATION) and refund (REFUND) reasons | unit, e2e |
| RT11 | GET /api/returns |
Return requests (seek pagination) | unit, e2e |
| RT21 | PUT /api/returns/accept |
Accept a return request | unit, e2e |
Not used: the product imports (P41 and following): the add-on does not create catalogue products; OF51 to OF54 (offer exports); OR26 (the per-order refund; OR28 is used), incidents (OR64), messages, invoices and shop documents.
Authentication and limits
Section titled “Authentication and limits”| Topic | What the add-on does | Source |
|---|---|---|
| Authentication | The seller API key in the plain Authorization header (scheme “Shop-API-Key” of the OpenAPI file), no Bearer, no token request. |
OpenAPI file |
| Base URL | The Mirakl address of the seller’s account, entered by the seller per mode. https only; hosts that are an IP number, localhost or a non-public name are refused because the server calls the address. The add-on does not know or guess B&Q’s host. |
UNVERIFIED for B&Q (see below) |
| Several shops | shop_id query parameter when the account field is set |
OpenAPI file |
| Call frequency | Offer, stock and price imports: at most one per minute and recommended every 5 minutes, per seller; the sync interval setting defaults to 15 minutes. | OpenAPI file (“Call Frequency” of each operation) |
| Rate limit answers | The OpenAPI file does not describe HTTP 429 or Retry-After. The generic job queue treats 429, 408, 425 and 5xx as retryable and honours a Retry-After header. | Not in the OpenAPI file |
| Dates | ISO 8601 UTC (2026-11-09T10:00:00Z) |
OpenAPI file |
Things the OpenAPI file does not describe
Section titled “Things the OpenAPI file does not describe”| Item | What the add-on assumes | Status |
|---|---|---|
max and offset on OR11 |
Offset pagination with page size 100. | Mirakl’s general pagination convention; reported by the validator as a note |
page_token on RT11 and OF04 |
Seek pagination: the response has next_page_token; the add-on sends it back as page_token. OF04 also filters origins=API and mode=NORMAL, so a back-office, FTP or REPLACE import of the same size is never adopted. |
Same (the filters are in the OpenAPI file) |
| Additional offer fields in the OF01 file | Extra columns named by the field code (AF01). Only the OF24 JSON alternative lists them in the file. | Reported as a note |
Value of product-id-type |
EAN |
Used in the OpenAPI example of OF24; the allowed values are operator configuration |
| Layout of the error reports | OF03: a header with sku and error-message. STO03 / PRI03: line number, reason, then the submitted line. The parser finds the sku by header or by value. |
OpenAPI file |
| Country codes of orders | country_iso_code is ISO 3166 alpha 3; the add-on converts it to alpha 2 |
OpenAPI file |
| Address before acceptance | “Null before shipping (or acceptance, depending on platform setting)”: orders are imported once they carry an address | OpenAPI file |
| OR21 with a refused line | With “Yes, every line” (the default) every line is accepted=true. With “Yes, within stock” lines the add-on cannot deliver are accepted=false, a partial answer. The OpenAPI file documents the OR21 error ORDER_PARTIAL_ACCEPTANCE_DISABLED (“Partial acceptance is disabled for this shop”): an operator may switch partial acceptance off per shop. B&Q’s setting is UNVERIFIED. When the error comes back, the add-on logs it once for the order and sends no further OR21 for it. |
OpenAPI (OR21 errors); B&Q setting unverified |
| Amounts of refunds | OR11 price is the line “without shipping price” and total_price the line “with shipping price and fees”; OR28 takes the offer part (amount) and the shipping part (shipping_amount) separately. The refund row sends amount = price, shipping_amount = shipping_price, the line’s taxes and the order’s currency_iso_code (required off the operator default currency). A line counts as refunded when earlier refunds cover price and shipping_price. B&Q’s tax mode is UNVERIFIED. |
OpenAPI file (OR11, OR28) |
| Refused and cancelled lines | Lines in order_line_state REFUSED or CANCELED are not imported. |
OpenAPI file (OR11) |
B&Q facts: what is verified and what is not
Section titled “B&Q facts: what is verified and what is not”Checked on 2026-11-13 from public sources only: the Mirakl announcement of the B&Q marketplace (https://www.mirakl.com/news/bq-launches-marketplace/, March 2022), the trade report on the opening to European sellers (https://channelx.world/2025/11/bq-marketplace-welcomes-european-sellers/), the B&Q delivery FAQ for verified sellers on diy.com, and the connector guides of M2E (https://docs-m2.m2epro.com/docs/how-to-integrate-bq-marketplace-with-m2e-mirakl-connect/), ChannelEngine and several UK seller guides. Nothing here comes from a seller contract, a seller login or a live account, and no test ever called a real B&Q endpoint.
| Item | Value used | Status |
|---|---|---|
| Platform | The B&Q Marketplace (diy.com and the B&Q app) runs on Mirakl | Verified: Mirakl announcement |
| Seller model | Verified sellers; products are shown as “sold and shipped by” the seller; delivery is arranged by the seller | Verified: Mirakl announcement, diy.com delivery FAQ |
| Who may sell | Applications are reviewed by B&Q (“Become a B&Q verified seller”); sellers from Ireland, Italy, Poland, the Netherlands, Spain and Germany sell to UK shoppers | Verified: ChannelX (2025-11). The criteria themselves are not public |
| Market and currency | United Kingdom, prices in GBP | Integrator guides (M2E): not a B&Q document, UNVERIFIED |
| VAT | UK consumer prices include VAT; the add-on sends the price you set and imports orders at the prices as sold, tax exempt in CS-Cart | Whether B&Q expects VAT-inclusive offer prices is UNVERIFIED (not stated by B&Q or the guides); check your seller agreement |
| API address | Entered by the seller; no default | UNVERIFIED: the host of B&Q’s Mirakl instance is not published |
| Authentication | API key of the seller user in Seller Admin; plain Authorization header (Mirakl standard) |
Mirakl standard |
| Product identifier | product-id-type is an account setting, default EAN; a valid EAN / GTIN per product |
Integrator guides: UNVERIFIED |
| Logistic class | OF01 column logistic-class, set on the Rules page (B&Q codes S standard, B bulky, MTO made to order) |
Column: OF01 request example and OF24 property logistic_class of the official OpenAPI file (not in the OF01 column table). The three codes: M2E guide, UNVERIFIED |
| Delivery promise and lead time | The offer lead time (leadtime-to-ship) is the Rules page delivery time; guides describe a standard 7 day delivery promise with shipping included in the price and dispatch within 2 days |
Guides disagree on the dispatch figure: UNVERIFIED; not enforced by the add-on |
| Content rules | Product name in the form brand, colour, product type, size, quantity; main image at least 500 x 500 px, JPEG or PNG, up to 10 MB | M2E guide: UNVERIFIED; the add-on does not create catalogue products and does not check these rules |
| Required offer and product attributes | Read live from your instance: offer fields with AF01, product attributes with PM11 | Behind the seller login: not assumed |
| Category tree | Read live with H11 from your instance | Not public |
| Shipping | The seller ships; carrier mapping is optional and only carriers B&Q approves are recognised | M2E guide: UNVERIFIED. The add-on reads the carrier list of your account (SH21) and sends the carrier code when your carrier name matches one |
| Returns and refunds | Handled by the seller under the B&Q seller terms; many marketplace items can be returned in B&Q stores | Mirakl announcement (store returns); terms behind the seller login. The add-on accepts return requests (RT21) and refunds shipped lines (OR28) |
| Returns module (RT11 / RT21), STO01, PRI01, OR28 | Used for returns, stock, price, refunds | UNVERIFIED that they are enabled for B&Q; if the marketplace refuses them, the call is logged and nothing else changes |
| Pricing mode | Plain price; the discount and strike price fields are not sent |
Guides mention two pricing versions: the add-on uses the base price only |
| Fees | Monthly fee about GBP 39 plus a category commission, reported by several guides | Guides only: UNVERIFIED; not used by the add-on |
| API rate limits | Not published for B&Q | UNVERIFIED: the add-on uses the Mirakl defaults of the engine (one queue job per account, 100 orders per page, back-off on 429 and 5xx) |
| Title and images | Title up to 255 characters, up to 9 images in the operator file | Engine limits; not B&Q documents |
Trademarks
Section titled “Trademarks”B&Q is a trademark of its owner. Mirakl is a trademark of Mirakl. They are named only to say what the add-on connects to. The add-on and its store gallery show the name “B&Q” as plain text only. No B&Q or Kingfisher brand guideline for third parties was found; a logo reference site states the B&Q logo is a registered trademark that may not be used commercially without written permission, so no B&Q logo is used anywhere. This add-on is not affiliated with, endorsed by or certified by B&Q or Mirakl.