Skip to main content
Be found. Be chosen. Become a legend.
A connected drinks catalogue integration workflow
Available Structured data

XML / YML

Import catalogue-style XML and YML documents with repeatable offer nodes.

When to use it

A practical fit for your existing workflow.

Commerce platforms and catalogue tools that already publish XML product feeds.

Input contract

Fields and structure

Use stable field names and meanings across every refresh. Legend normalizes the values, but the source contract should not drift silently.

Required or expected

  • sku or offer@id
  • title or name
  • price
  • currency
  • product_url or url

Recommended fields

  • gtin or barcode
  • brand or vendor
  • available
  • category
  • picture
  • description
  • size

Supported variations

  • LQRS Feed XML container
  • YML catalogue container
  • Mapped custom offer node
  • Attributes and child elements

Copyable example

XML feed

Replace the demonstration values with your own catalogue data. No customer, order, or payment data belongs in an inventory feed.

XML
<lqrs-feed version="1">
  <offers>
    <offer>
      <sku>DEMO-001</sku>
      <title>Legend Demo Single Malt</title>
      <gtin>5010327000142</gtin>
      <price>39.50</price>
      <currency>GBP</currency>
      <product_url>https://merchant.example/products/demo-001</product_url>
      <stock>30</stock>
    </offer>
  </offers>
</lqrs-feed>

From source to live offer

Connection workflow

Every route uses the same quality gates before an offer becomes public.

Identify the repeating offer element.

Map attributes and child elements to Legend fields.

Validate identifiers, prices, and record count.

Schedule the feed and monitor stale or missing offers.

Before publication

Validation checklist

These checks keep bad prices, stale stock, and uncertain product matches out of the public marketplace.

  • The XML must be well formed and use a stable offer container.
  • External entities are not required or trusted.
  • Currency and price are validated per offer.
  • YML compatibility uses the yml_catalog/shop/offers/offer path.

Other connection paths

Available

JSON / JSON Lines

Send arrays, JSON Lines, or mapped nested product and offer records.

Available

Scheduled feed URL

Let Legend pull an approved inventory export on a recurring schedule.

Available

CSV / TSV

Send one offer per row with predictable column headings.