Beta

The Partner Trading API v1 is in beta — endpoints and response shapes may still change.

Developers
Cru World Wine
API v1 · REST & MCP
Warehouses

List warehouses

The five Cru warehouses wine can be delivered into: codes, addresses, bond references, delivery instructions, and whether your inbond wine sells through each.

GET/warehousesLIVE
Required scopemeta:readAuthentication requiredTry it
The codes every other endpoint uses

A bid’s deliverable_warehouses, an offer’s warehouse_code and the warehouse.deliverable_warehouse_code of a listing or a portfolio line all use these five codes, and so does the warehouse.current_location_code of wine stored in one. Warehouses outside Cru, where your wine may be stored, are GET /warehouses/inbond: an inbond_address_id is never a warehouse_code.

Request parameters

This endpoint takes no parameters, and is not paged.

Response fields

200 OK

data.warehouses is an array, always in the same order: UK, HK, SG, FR, US. The last three fields are yours: what each warehouse means for wine you hold outside Cru.

Each item in warehouses[]

codestring

UK_DRAK, HK_KERRY, SG_TOLL, FR_DARTESS, US_NAPA.

namestring

The warehouse’s short name.

marketstring | null

The Cru site the warehouse belongs to, such as uk.

addressobject

street, city, region, postcode and country (an ISO country code), each nullable.

phonestring | null

Contact number.

bond_referencesarray<string>

Excise and bond references to quote when delivering in bond.

delivery_instructionsstring | null

Plain text, with line breaks as \n.

sells_your_inbond_wineboolean

Whether wine you hold outside Cru can be sold through it: the warehouse_code values POST /offers and POST /market/bids/{code}/sell accept from you. False on every row for an account not set up for it.

settlement_feenumber | null

Taken from each unit of that wine sold through it, in currency: 0.0 for a corporate account, and null where sells_your_inbond_wine is false.

currencystring

Your market’s currency.

Errors

Missing or invalid credentials return AUTH_INVALID_CREDENTIALS / 401. A credential without meta:read gets AUTH_INSUFFICIENT_SCOPE / 403. View all error codes →

UP NEXT Retrieve a warehouse

API credentials

Enter the client key and secret issued by Cru. They are kept for this browser tab’s session — a reload keeps them, closing the tab or clearing them ends them.

Credentials are never included in copied examples, and are redacted from anything the console prints back.

Request API access

Tell us who you are and what you want to build. Cru issues a client key and secret for your organisation, scoped to what you need.

Markets you trade in (choose one or more)

We use what you send here to reply about API access, and for nothing else. Cloudflare Turnstile checks the form for bots (privacy policy).