Beta

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

Developers
Cru World Wine

Configure connection

Choose how to authenticate your requests.

For Production · United States · USD — change these in the toolbar.

Use a credential without an IP allowlist: calls reach Cru from this site’s server.

How authentication works

Cru issues partners a CLIENT-KEY and CLIENT-SECRET, sent as headers on every request. There is no token to fetch first. Writes run at once and carry a reference the playground generates.

Partner credentials →

No credentials yet?

Credentials are kept for this session only, never included in copied examples, and redacted from everything the playground shows.

API playground

Build a request, over REST or MCP, and inspect the response.

Tool reference
Partner key

Production environment · Write requests require confirmation

Request

The wine the customer holds, grouped by wine (LWIN18), with total_quantity the units of it held. Documentation ↗

POSTtools/call · get_my_portfolio

https://us.cruworldwine.com/api/mcp

Arguments

Only these wines, as 18-digit LWIN18 codes (wine, vintage and pack). Get them from search_wines.

Only wines whose name holds every word given, as search_wines matches, e.g. "Lafite 2010".

Only portfolio lines stored now at any of these: Cru warehouse codes, IB_ and an inbond_address_id from list_inbond_warehouses, or ADDR_ and an address id, as current_location_code shows them, e.g. ["SG_TOLL", "IB_72", "ADDR_123"].

Only portfolio lines whose deliverable_warehouse_code is any of these Cru warehouses - see list_warehouses.

Only these kinds of portfolio line.

Only portfolio lines with any of these stock_status values.

true for only duty-paid portfolio lines, false for only those whose duty is not paid. Omit for both.

Only portfolio lines with any of these condition_status values.

true for only the lines listed for sale, as list_my_listings gives them, false for only those that are not. Omit for both.

Wines per page.

Wines to skip, for the next page.

Response

Nothing sent yet. The response appears here.

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).