# Spree Commerce documentation > Spree Commerce is an open-source headless commerce platform. The backend runs as a Docker image (ghcr.io/spree/spree) and exposes REST Store and Admin APIs with OpenAPI specs, TypeScript SDKs (@spree/sdk, @spree/admin-sdk), webhooks and an MCP server with read and write tools, plus a React admin dashboard, a Next.js storefront, B2B and wholesale (companies, customer-specific catalogs and price lists) and a built-in multi-vendor marketplace. Start with `npx create-spree-app@latest my-store`: you need only Node.js, Git and Docker. - [v6.x (1097 pages)](https://spreecommerce.org/docs/_llms/v6-x.txt): Documentation, API Reference, User Guide, Changelog. - [v5.x (1229 pages)](https://spreecommerce.org/docs/_llms/v5-x.txt): Guides, Framework, SDK & Tools, API Reference, Integrations, User Guide. ## OpenAPI Specs - [store](/docs/api-reference/store.yaml) - [admin](/docs/api-reference/admin.yaml) - [seller](/docs/api-reference/seller.yaml) - [storefront](/docs/api-reference/storefront.yaml) - [platform](/docs/api-reference/platform.yaml) - [oauth](/docs/api-reference/oauth.yml) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [v6.x (1097 pages)](https://spreecommerce.org/docs/_llms/v6-x.txt): Documentation, API Reference, User Guide, Changelog. - [v6.x / Documentation (191 pages)](https://spreecommerce.org/docs/_llms/v6-x/documentation.txt): Develop. - [v6.x / API Reference (824 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference.txt): Store API, Admin API, Seller API, Webhooks. - [v6.x / API Reference / Store API (124 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/store-api.txt): REST API for storefronts and custom integrations - [v6.x / API Reference / Admin API (560 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api.txt): REST API for pragmatically managing stores - [v6.x / API Reference / Admin API / Endpoints (553 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints.txt): Authentication, Allowed Origins, API Keys, Catalogs, Categories, Channels, Collections, Commission Lines, Commission Rates, Companies, Custom Field Definitions, Custom Fields, Customer Groups, Customers, Deliveries, Delivery Settings, Email Templates, Exports, Files, Fulfillments, Gift Cards, Imports, Integrations, Maintenance Tasks, Markets, Media, OAuth, Option Types, Orders, Package Types, Payment Methods, Payments, Policies, Price Lists, Pricing, Product Types, Products, Promotions, Purchase Orders, Reasons, Refunds, Reports, Seller Requirements, Sellers, Settings, Shipping Labels, Staff, Stock, Stock Locations, Stock Movements, Stock Transfers, Store Credits, Suppliers, Variants, Webhooks. - [v6.x / API Reference / Admin API / Endpoints / Companies (19 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/companies.txt): List company addresses, Create a company address, Update a company address, List company invitations, List company members, Add a member, List tax exemption certificates, Create a tax exemption certificate, Update a tax exemption certificate, Verify a tax exemption certificate, Revoke a tax exemption certificate, Download a certificate document, List company tax registrations, Create a company tax registration, Re-check a company tax registration, List companies, Create a company, Update a company, List company custom fields. - [v6.x / API Reference / Admin API / Endpoints / Customers (29 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/customers.txt): List customer custom fields, Export a customer's personal data, Erase a customer's personal data, List consent records, List data requests, Record a data request, List customer addresses, Create a customer address, Delete a customer address, Update a customer address, List customer credit cards, Show a customer credit card, Delete a customer credit card, List customer store credits, Issue a store credit to a customer, Delete a store credit, Update a store credit, List customer tax registrations, Update a customer tax registration, Re-check a customer tax registration, List customers, Create a customer, Show a customer, Delete a customer, Update a customer, Bulk-add customers to groups, Bulk-remove customers from groups, Bulk-add tags to customers, Bulk-remove tags from customers. - [v6.x / API Reference / Admin API / Endpoints / Orders (58 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/orders.txt): List claims, List order claims, Create a claim, Update a claim, Approve a claim, Resolve a claim, Deny a claim, Cancel a claim, List order custom fields, List digital links, Get a digital link, Reset a digital link, List exchanges, List order exchanges, Create an exchange, Update an exchange, Approve an exchange, Receive an exchange, Fulfill an exchange, Cancel an exchange, List tax lines, List discounts, Create manual discount, Update manual discount, List fees, Create fee, Update fee, List order groups, Apply a discount code, Apply a gift card to an order, Remove a gift card from an order, List order items, Add an item, Show an item, Remove an item, Update an item, Apply customer's store credit to an order, Remove store credit from an order, List orders, Create a draft order, Show an order, Delete a draft order, Update an order, Complete an order, Cancel an order, Approve an order, Resend confirmation email, Resend digital download links, List returns, List order returns, Create a return, Update a return, Approve a return, Receive a return, Refund a return, Cancel a return, List return labels, Refund a return label. - [v6.x / API Reference / Admin API / Endpoints / Products (31 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/products.txt): List product custom fields, Create a product custom field, Show a product custom field, Delete a product custom field, Update a product custom field, List product digital assets, Create a product digital asset, Update a product digital asset, List product translations, List products, Create a product, Get a product, Delete a product, Update a product, Clone a product, Bulk-update product status, Bulk-add products to categories, Bulk-remove products from categories, Bulk-add products to collections, Bulk-remove products from collections, Bulk-add products to channels, Bulk-remove products from channels, Bulk-add tags to products, Bulk-remove tags from products, Bulk-delete products, Approve a submitted product, Reject a submitted product, Activate a product, Archive a product, Move a product back to draft, Translation coverage for a resource type. - [v6.x / API Reference / Admin API / Endpoints / Reasons (25 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/reasons.txt): List claim reasons, Create a claim reason, Get a claim reason, Delete a claim reason, Update a claim reason, List order cancellation reasons, Create a order cancellation reason, Get a order cancellation reason, Delete a order cancellation reason, Update a order cancellation reason, List refund reasons, Create a refund reason, Get a refund reason, Delete a refund reason, Update a refund reason, List return reasons, Create a return reason, Get a return reason, Delete a return reason, Update a return reason, List tax exemption reasons, Create a tax exemption reason, Get a tax exemption reason, Delete a tax exemption reason, Update a tax exemption reason. - [v6.x / API Reference / Admin API / Endpoints / Sellers (22 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/admin-api/endpoints/sellers.txt): List seller custom fields, List a seller's requirement submissions, Waive a requirement for a seller, Accept a seller's submission, Reject a seller's submission, List sellers, Create a seller, Get a seller, Delete a seller, Update a seller, Invite someone to run a seller, Invite someone to a seller team, Resend a seller invitation, Approve a seller, Send a seller back to onboarding, Suspend a seller, Reject a seller, List a seller's balances, Settle a seller, List seller transfers, List seller payouts, Mark a payout paid. - [v6.x / API Reference / Seller API (139 pages)](https://spreecommerce.org/docs/_llms/v6-x/api-reference/seller-api.txt): REST API for the marketplace seller panel - [v5.x (1229 pages)](https://spreecommerce.org/docs/_llms/v5-x.txt): Guides, Framework, SDK & Tools, API Reference, Integrations, User Guide. - [v5.x / API Reference (998 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference.txt): Store API, Admin API, Webhooks, Legacy API v2. - [v5.x / API Reference / Store API (124 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/store-api.txt): REST API for storefronts and custom integrations - [v5.x / API Reference / Admin API (560 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api.txt): REST API for pragmatically managing stores - [v5.x / API Reference / Admin API / Endpoints (553 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints.txt): Authentication, Allowed Origins, API Keys, Catalogs, Categories, Channels, Collections, Commission Lines, Commission Rates, Companies, Custom Field Definitions, Custom Fields, Customer Groups, Customers, Deliveries, Delivery Settings, Email Templates, Exports, Files, Fulfillments, Gift Cards, Imports, Integrations, Maintenance Tasks, Markets, Media, OAuth, Option Types, Orders, Package Types, Payment Methods, Payments, Policies, Price Lists, Pricing, Product Types, Products, Promotions, Purchase Orders, Reasons, Refunds, Reports, Seller Requirements, Sellers, Settings, Shipping Labels, Staff, Stock, Stock Locations, Stock Movements, Stock Transfers, Store Credits, Suppliers, Variants, Webhooks. - [v5.x / API Reference / Admin API / Endpoints / Companies (19 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/companies.txt): List company addresses, Create a company address, Update a company address, List company invitations, List company members, Add a member, List tax exemption certificates, Create a tax exemption certificate, Update a tax exemption certificate, Verify a tax exemption certificate, Revoke a tax exemption certificate, Download a certificate document, List company tax registrations, Create a company tax registration, Re-check a company tax registration, List companies, Create a company, Update a company, List company custom fields. - [v5.x / API Reference / Admin API / Endpoints / Customers (29 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/customers.txt): List customer custom fields, Export a customer's personal data, Erase a customer's personal data, List consent records, List data requests, Record a data request, List customer addresses, Create a customer address, Delete a customer address, Update a customer address, List customer credit cards, Show a customer credit card, Delete a customer credit card, List customer store credits, Issue a store credit to a customer, Delete a store credit, Update a store credit, List customer tax registrations, Update a customer tax registration, Re-check a customer tax registration, List customers, Create a customer, Show a customer, Delete a customer, Update a customer, Bulk-add customers to groups, Bulk-remove customers from groups, Bulk-add tags to customers, Bulk-remove tags from customers. - [v5.x / API Reference / Admin API / Endpoints / Orders (58 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/orders.txt): List claims, List order claims, Create a claim, Update a claim, Approve a claim, Resolve a claim, Deny a claim, Cancel a claim, List order custom fields, List digital links, Get a digital link, Reset a digital link, List exchanges, List order exchanges, Create an exchange, Update an exchange, Approve an exchange, Receive an exchange, Fulfill an exchange, Cancel an exchange, List tax lines, List discounts, Create manual discount, Update manual discount, List fees, Create fee, Update fee, List order groups, Apply a discount code, Apply a gift card to an order, Remove a gift card from an order, List order items, Add an item, Show an item, Remove an item, Update an item, Apply customer's store credit to an order, Remove store credit from an order, List orders, Create a draft order, Show an order, Delete a draft order, Update an order, Complete an order, Cancel an order, Approve an order, Resend confirmation email, Resend digital download links, List returns, List order returns, Create a return, Update a return, Approve a return, Receive a return, Refund a return, Cancel a return, List return labels, Refund a return label. - [v5.x / API Reference / Admin API / Endpoints / Products (31 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/products.txt): List product custom fields, Create a product custom field, Show a product custom field, Delete a product custom field, Update a product custom field, List product digital assets, Create a product digital asset, Update a product digital asset, List product translations, List products, Create a product, Get a product, Delete a product, Update a product, Clone a product, Bulk-update product status, Bulk-add products to categories, Bulk-remove products from categories, Bulk-add products to collections, Bulk-remove products from collections, Bulk-add products to channels, Bulk-remove products from channels, Bulk-add tags to products, Bulk-remove tags from products, Bulk-delete products, Approve a submitted product, Reject a submitted product, Activate a product, Archive a product, Move a product back to draft, Translation coverage for a resource type. - [v5.x / API Reference / Admin API / Endpoints / Reasons (25 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/reasons.txt): List claim reasons, Create a claim reason, Get a claim reason, Delete a claim reason, Update a claim reason, List order cancellation reasons, Create a order cancellation reason, Get a order cancellation reason, Delete a order cancellation reason, Update a order cancellation reason, List refund reasons, Create a refund reason, Get a refund reason, Delete a refund reason, Update a refund reason, List return reasons, Create a return reason, Get a return reason, Delete a return reason, Update a return reason, List tax exemption reasons, Create a tax exemption reason, Get a tax exemption reason, Delete a tax exemption reason, Update a tax exemption reason. - [v5.x / API Reference / Admin API / Endpoints / Sellers (22 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/admin-api/endpoints/sellers.txt): List seller custom fields, List a seller's requirement submissions, Waive a requirement for a seller, Accept a seller's submission, Reject a seller's submission, List sellers, Create a seller, Get a seller, Delete a seller, Update a seller, Invite someone to run a seller, Invite someone to a seller team, Resend a seller invitation, Approve a seller, Send a seller back to onboarding, Suspend a seller, Reject a seller, List a seller's balances, Settle a seller, List seller transfers, List seller payouts, Mark a payout paid. - [v5.x / API Reference / Legacy API v2 (313 pages)](https://spreecommerce.org/docs/_llms/v5-x/api-reference/legacy-api-v2.txt): Previous-generation Storefront and Platform APIs This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.