The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
<svg xmlns="http://www.w3.org/2000/svg" width="1040" height="860" viewBox="0 0 1040 860" font-family="JetBrains Mono, SF Mono, SFMono-Regular, Menlo, Consolas, Liberation Mono, monospace" role="img" aria-label="The order_group record og_01JD8Q1234567 in front, with display_id 98, its customer and read-only cart link, and computed seller_count 2 and total 87.00. Behind it, the order_group_order link lists the two child orders it sums: 47.00 for ACME and 40.00 for GLOBEX.">
<title>The order_group record og_01JD8Q1234567 in front, with display_id 98, its customer and read-only cart link, and computed seller_count 2 and total 87.00. Behind it, the order_group_order link lists the two child orders it sums: 47.00 for ACME and 40.00 for GLOBEX.</title>
<defs><filter id="sh" x="-30%" y="-30%" width="160%" height="170%"><feDropShadow dx="0" dy="18" stdDeviation="22" flood-color="#000000" flood-opacity="0.55"/></filter><filter id="gr" x="0" y="0" width="100%" height="100%"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" seed="7" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="table" tableValues="0 1"/></feComponentTransfer><feComposite in2="SourceGraphic" operator="in"/></filter><pattern id="dt" width="11" height="11" patternUnits="userSpaceOnUse"><rect x="4.5" y="4.5" width="1.6" height="1.6" fill="#2c2737"/></pattern><clipPath id="c1"><rect x="0" y="0" width="900" height="514"/></clipPath><clipPath id="c2"><rect x="0" y="0" width="900" height="514"/></clipPath></defs>
<rect x="-87.5" y="-87.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="440" y="-88" width="88" height="88" fill="url(#dt)"/><rect x="616.5" y="-87.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="880.5" y="-87.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="968" y="-88" width="88" height="88" fill="url(#dt)"/><rect x="1056" y="-88" width="88" height="88" fill="#1d1926"/><rect x="1056" y="-88" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="-88" y="0" width="88" height="88" fill="#1d1926"/><rect x="-88" y="0" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="0.5" y="0.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="88.5" y="0.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="352" y="0" width="88" height="88" fill="#1d1926"/><rect x="352" y="0" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="1056.5" y="0.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="-87.5" y="88.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="0.5" y="88.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="880.5" y="88.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="1056.5" y="88.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="88" y="176" width="88" height="88" fill="url(#dt)"/><rect x="616" y="176" width="88" height="88" fill="url(#dt)"/><rect x="264" y="264" width="88" height="88" fill="url(#dt)"/><rect x="264.5" y="352.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="616" y="352" width="88" height="88" fill="url(#dt)"/><rect x="968" y="352" width="88" height="88" fill="#1d1926"/><rect x="968" y="352" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="176" y="440" width="88" height="88" fill="#1d1926"/><rect x="176" y="440" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="968.5" y="528.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="0.5" y="616.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="88.5" y="616.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="176" y="616" width="88" height="88" fill="#1d1926"/><rect x="176" y="616" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="352.5" y="616.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="528.5" y="704.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="-87.5" y="792.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="704" y="792" width="88" height="88" fill="#1d1926"/><rect x="704" y="792" width="88" height="88" fill="#a1a1aa" opacity="0.35" filter="url(#gr)"/><rect x="352" y="880" width="88" height="88" fill="url(#dt)"/><rect x="440" y="880" width="88" height="88" fill="url(#dt)"/><rect x="616.5" y="880.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="704" y="880" width="88" height="88" fill="url(#dt)"/><rect x="968.5" y="880.5" width="87" height="87" fill="none" stroke="#1d1926" stroke-width="1"/><rect x="1056" y="880" width="88" height="88" fill="url(#dt)"/><rect x="100" y="40" width="900" height="514" fill="#15121d" filter="url(#sh)"/><rect x="100" y="40" width="900" height="514" fill="#15121d"/><g transform="translate(100 40)"><g clip-path="url(#c1)"><rect x="24" y="33" width="10" height="10" fill="#f4f4f5"/><text x="46" y="44.3" font-size="18" fill="#f4f4f5" font-weight="500">orders</text><line x1="134.8" y1="20" x2="134.8" y2="56" stroke="#2b2636" stroke-width="1"/><text x="166.8" y="44" font-size="17" fill="#f4f4f5">order_group_order</text><rect x="148.8" y="73" width="209.4" height="3" fill="#f4f4f5"/><text x="380.2" y="44" font-size="17" fill="#a1a1aa">order_seller</text><text x="876" y="43.3" font-size="15" fill="#71717a" text-anchor="end">link</text><line x1="0" y1="76" x2="900" y2="76" stroke="#2b2636" stroke-width="1"/><text x="32" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2">ORDER_ID</text><text x="362" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2">SELLER.NAME</text><text x="868" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2" text-anchor="end">CURRENT_ORDER_TOTAL</text><line x1="0" y1="130" x2="900" y2="130" stroke="#221e2b" stroke-width="1"/><text x="32" y="167.6" font-size="16" fill="#f4f4f5">order_01JD8Q1234568</text><text x="362" y="167.6" font-size="16" fill="#f4f4f5">ACME</text><text x="868" y="167.6" font-size="16" fill="#f4f4f5" text-anchor="end">47.00</text><line x1="0" y1="194" x2="900" y2="194" stroke="#221e2b" stroke-width="1"/><text x="32" y="231.6" font-size="16" fill="#f4f4f5">order_01JD8Q1234569</text><text x="362" y="231.6" font-size="16" fill="#f4f4f5">GLOBEX</text><text x="868" y="231.6" font-size="16" fill="#f4f4f5" text-anchor="end">40.00</text><line x1="0" y1="258" x2="900" y2="258" stroke="#221e2b" stroke-width="1"/><line x1="0" y1="322" x2="900" y2="322" stroke="#221e2b" stroke-width="1"/></g></g><rect x="100.5" y="40.5" width="899" height="513" fill="none" stroke="#2b2636" stroke-width="1"/><rect x="40" y="302" width="900" height="514" fill="#15121d" filter="url(#sh)"/><rect x="40" y="302" width="900" height="514" fill="#15121d"/><g transform="translate(40 302)"><g clip-path="url(#c2)"><rect x="24" y="33" width="10" height="10" fill="#a78bfa"/><text x="46" y="44.3" font-size="18" fill="#f4f4f5" font-weight="500">order_group</text><line x1="188.8" y1="20" x2="188.8" y2="56" stroke="#2b2636" stroke-width="1"/><text x="220.8" y="44" font-size="17" fill="#f4f4f5">Fields</text><rect x="202.8" y="73" width="97.2" height="3" fill="#f4f4f5"/><text x="322" y="44" font-size="17" fill="#a1a1aa">Links</text><text x="876" y="43.3" font-size="15" fill="#71717a" text-anchor="end">MercurModules.SELLER</text><line x1="0" y1="76" x2="900" y2="76" stroke="#2b2636" stroke-width="1"/><text x="32" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2">FIELD</text><text x="262" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2">TYPE</text><text x="868" y="107.9" font-size="14" fill="#a1a1aa" letter-spacing="1.2" text-anchor="end">VALUE</text><line x1="0" y1="130" x2="900" y2="130" stroke="#221e2b" stroke-width="1"/><text x="32" y="167.6" font-size="16" fill="#f4f4f5">id</text><text x="262" y="167.6" font-size="16" fill="#d4d4d8">id, prefix og</text><text x="868" y="167.6" font-size="16" fill="#f4f4f5" text-anchor="end">og_01JD8Q1234567</text><line x1="0" y1="194" x2="900" y2="194" stroke="#221e2b" stroke-width="1"/><text x="32" y="231.6" font-size="16" fill="#f4f4f5">display_id</text><text x="262" y="231.6" font-size="16" fill="#d4d4d8">autoincrement</text><text x="868" y="231.6" font-size="16" fill="#f4f4f5" text-anchor="end">98</text><line x1="0" y1="258" x2="900" y2="258" stroke="#221e2b" stroke-width="1"/><text x="32" y="295.6" font-size="16" fill="#f4f4f5">customer_id</text><text x="262" y="295.6" font-size="16" fill="#d4d4d8">text, nullable</text><text x="868" y="295.6" font-size="16" fill="#f4f4f5" text-anchor="end">cus_01JD8Q1234567</text><line x1="0" y1="322" x2="900" y2="322" stroke="#221e2b" stroke-width="1"/><text x="32" y="359.6" font-size="16" fill="#f4f4f5">cart_id</text><text x="262" y="359.6" font-size="16" fill="#d4d4d8">text, read-only link</text><text x="868" y="359.6" font-size="16" fill="#f4f4f5" text-anchor="end">cart_01JD8Q1234567</text><line x1="0" y1="386" x2="900" y2="386" stroke="#221e2b" stroke-width="1"/><text x="32" y="423.6" font-size="16" fill="#f4f4f5">seller_count</text><text x="262" y="423.6" font-size="16" fill="#d4d4d8">number, computed</text><text x="868" y="423.6" font-size="16" fill="#f4f4f5" text-anchor="end">2</text><line x1="0" y1="450" x2="900" y2="450" stroke="#221e2b" stroke-width="1"/><rect x="0" y="450" width="3" height="64" fill="#a78bfa"/><text x="32" y="487.6" font-size="16" fill="#f4f4f5">total</text><text x="262" y="487.6" font-size="16" fill="#d4d4d8">bigNumber, computed</text><text x="868" y="487.6" font-size="16" fill="#f4f4f5" text-anchor="end">87.00</text><line x1="0" y1="514" x2="900" y2="514" stroke="#221e2b" stroke-width="1"/></g></g><rect x="40.5" y="302.5" width="899" height="513" fill="none" stroke="#2b2636" stroke-width="1"/>
</svg>