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="540" viewBox="0 0 1040 540" font-family="JetBrains Mono, SF Mono, SFMono-Regular, Menlo, Consolas, Liberation Mono, monospace" role="img" aria-label="A Status transitions table: createProductsWorkflow creates a product as proposed, then confirmProductsWorkflow, rejectProductWorkflow, and requestProductChangeWorkflow move it to published, to rejected, or keep it proposed, with a product_change audit table behind.">
<title>A Status transitions table: createProductsWorkflow creates a product as proposed, then confirmProductsWorkflow, rejectProductWorkflow, and requestProductChangeWorkflow move it to published, to rejected, or keep it proposed, with a product_change audit table behind.</title>
<defs><filter id="sh" x="-30%" y="-30%" width="160%" height="170%"><feDropShadow dx="0" dy="18" stdDeviation="22" flood-color="#18181b" flood-opacity="0.07"/></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="#d9d9de"/></pattern><clipPath id="c1"><rect x="0" y="0" width="920" height="392"/></clipPath><clipPath id="c2"><rect x="0" y="0" width="920" height="392"/></clipPath></defs>
<rect x="-87.5" y="-87.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="264" y="-88" width="88" height="88" fill="url(#dt)"/><rect x="616" y="-88" width="88" height="88" fill="url(#dt)"/><rect x="968.5" y="-87.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="176.5" y="0.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="264" y="0" width="88" height="88" fill="url(#dt)"/><rect x="352.5" y="0.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="528" y="0" width="88" height="88" fill="#e4e4e7"/><rect x="528" y="0" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="792.5" y="0.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="1056.5" y="0.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="264.5" y="88.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="440.5" y="88.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="880.5" y="88.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="88.5" y="176.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="264.5" y="176.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="616.5" y="176.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="968" y="176" width="88" height="88" fill="url(#dt)"/><rect x="88.5" y="264.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="176" y="264" width="88" height="88" fill="#e4e4e7"/><rect x="176" y="264" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="880.5" y="264.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="352" y="352" width="88" height="88" fill="url(#dt)"/><rect x="968" y="352" width="88" height="88" fill="#e4e4e7"/><rect x="968" y="352" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="88" y="440" width="88" height="88" fill="#e4e4e7"/><rect x="88" y="440" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="440.5" y="440.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="704" y="440" width="88" height="88" fill="#e4e4e7"/><rect x="704" y="440" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="792.5" y="440.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="440.5" y="528.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="528" y="528" width="88" height="88" fill="#e4e4e7"/><rect x="528" y="528" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="616.5" y="528.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="704.5" y="528.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="792.5" y="528.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="880" y="528" width="88" height="88" fill="#e4e4e7"/><rect x="880" y="528" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="-87.5" y="616.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="88" y="616" width="88" height="88" fill="url(#dt)"/><rect x="352" y="616" width="88" height="88" fill="url(#dt)"/><rect x="440.5" y="616.5" width="87" height="87" fill="none" stroke="#ececef" stroke-width="1"/><rect x="704" y="616" width="88" height="88" fill="#e4e4e7"/><rect x="704" y="616" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="968" y="616" width="88" height="88" fill="#e4e4e7"/><rect x="968" y="616" width="88" height="88" fill="#71717a" opacity="0.22" filter="url(#gr)"/><rect x="1056" y="616" width="88" height="88" fill="url(#dt)"/><rect x="100" y="34" width="920" height="392" fill="#ffffff" filter="url(#sh)"/><rect x="100" y="34" width="920" height="392" fill="#ffffff"/><g transform="translate(100 34)"><g clip-path="url(#c1)"><rect x="24" y="33" width="10" height="10" fill="#18181b"/><text x="46" y="44.3" font-size="18" fill="#18181b" font-weight="500">product_change</text><line x1="221.2" y1="20" x2="221.2" y2="56" stroke="#e4e4e7" stroke-width="1"/><text x="253.2" y="44" font-size="17" fill="#18181b">Audit</text><rect x="235.2" y="73" width="87" height="3" fill="#18181b"/><text x="896" y="43.3" font-size="15" fill="#a1a1aa" text-anchor="end">STATUS_CHANGE</text><line x1="0" y1="76" x2="920" y2="76" stroke="#e4e4e7" stroke-width="1"/><text x="32" y="107.9" font-size="14" fill="#71717a" letter-spacing="1.2">ACTION</text><text x="888" y="107.9" font-size="14" fill="#71717a" letter-spacing="1.2" text-anchor="end">CREATED BY</text><line x1="0" y1="130" x2="920" y2="130" stroke="#ededf0" stroke-width="1"/><text x="32" y="167.6" font-size="16" fill="#18181b">PRODUCT_ADD</text><text x="888" y="167.6" font-size="16" fill="#18181b" text-anchor="end">sel_01JD8Q1234567</text><line x1="0" y1="194" x2="920" y2="194" stroke="#ededf0" stroke-width="1"/><text x="32" y="231.6" font-size="16" fill="#18181b">STATUS_CHANGE</text><text x="888" y="231.6" font-size="16" fill="#18181b" text-anchor="end">user_01JD8Q1234568</text><line x1="0" y1="258" x2="920" y2="258" stroke="#ededf0" stroke-width="1"/></g></g><rect x="100.5" y="34.5" width="919" height="391" fill="none" stroke="#e4e4e7" stroke-width="1"/><rect x="40" y="120" width="920" height="392" fill="#ffffff" filter="url(#sh)"/><rect x="40" y="120" width="920" height="392" fill="#ffffff"/><g transform="translate(40 120)"><g clip-path="url(#c2)"><rect x="24" y="33" width="10" height="10" fill="#7c3aed"/><text x="46" y="44.3" font-size="18" fill="#18181b" font-weight="500">Status transitions</text><line x1="264.4" y1="20" x2="264.4" y2="56" stroke="#e4e4e7" stroke-width="1"/><text x="296.4" y="44" font-size="17" fill="#18181b">Product</text><rect x="278.4" y="73" width="107.4" height="3" fill="#18181b"/><text x="896" y="43.3" font-size="15" fill="#a1a1aa" text-anchor="end">ProductStatus</text><line x1="0" y1="76" x2="920" y2="76" stroke="#e4e4e7" stroke-width="1"/><text x="32" y="107.9" font-size="14" fill="#71717a" letter-spacing="1.2">FROM</text><text x="202" y="107.9" font-size="14" fill="#71717a" letter-spacing="1.2">TO</text><text x="372" y="107.9" font-size="14" fill="#71717a" letter-spacing="1.2">WORKFLOW</text><line x1="0" y1="130" x2="920" y2="130" stroke="#ededf0" stroke-width="1"/><text x="32" y="167.6" font-size="16" fill="#71717a">new</text><rect x="202" y="146" width="120.8" height="32" fill="#f4f4f5"/><rect x="214" y="157" width="10" height="10" fill="#c2680c"/><text x="236" y="166.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PROPOSED</text><text x="372" y="167.6" font-size="16" fill="#18181b">createProductsWorkflow</text><line x1="0" y1="194" x2="920" y2="194" stroke="#ededf0" stroke-width="1"/><rect x="0" y="194" width="3" height="64" fill="#7c3aed"/><rect x="32" y="210" width="120.8" height="32" fill="#f4f4f5"/><rect x="44" y="221" width="10" height="10" fill="#c2680c"/><text x="66" y="230.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PROPOSED</text><rect x="202" y="210" width="130.4" height="32" fill="#f4f4f5"/><rect x="214" y="221" width="10" height="10" fill="#3f7d3a"/><text x="236" y="230.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PUBLISHED</text><text x="372" y="231.6" font-size="16" fill="#18181b">confirmProductsWorkflow</text><line x1="0" y1="258" x2="920" y2="258" stroke="#ededf0" stroke-width="1"/><rect x="32" y="274" width="120.8" height="32" fill="#f4f4f5"/><rect x="44" y="285" width="10" height="10" fill="#c2680c"/><text x="66" y="294.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PROPOSED</text><rect x="202" y="274" width="120.8" height="32" fill="#f4f4f5"/><rect x="214" y="285" width="10" height="10" fill="#b3361f"/><text x="236" y="294.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">REJECTED</text><text x="372" y="295.6" font-size="16" fill="#18181b">rejectProductWorkflow</text><line x1="0" y1="322" x2="920" y2="322" stroke="#ededf0" stroke-width="1"/><rect x="32" y="338" width="120.8" height="32" fill="#f4f4f5"/><rect x="44" y="349" width="10" height="10" fill="#c2680c"/><text x="66" y="358.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PROPOSED</text><rect x="202" y="338" width="120.8" height="32" fill="#f4f4f5"/><rect x="214" y="349" width="10" height="10" fill="#c2680c"/><text x="236" y="358.9" font-size="14" fill="#3f3f46" letter-spacing="1.2">PROPOSED</text><text x="372" y="359.6" font-size="16" fill="#18181b">requestProductChangeWorkflow</text><line x1="0" y1="386" x2="920" y2="386" stroke="#ededf0" stroke-width="1"/></g></g><rect x="40.5" y="120.5" width="919" height="391" fill="none" stroke="#e4e4e7" stroke-width="1"/>
</svg>