{
  "data": null,
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/niches/commerce.manage-discounts/",
    "json": "https://www.anchorterminal.com/niches/commerce.manage-discounts/index.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/niches/commerce.manage-discounts/index.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/niches/commerce.manage-discounts/index.min.md"
  },
  "markdown": "One company's docs show a full fit.\n\n| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |\n| --- | --- | --- | --- | --- |\n| 1 | 17 | 23 | 5 | 3 |\n\n## What counts as done\n\nThe code created with the stated rules and verified by applying it to a test cart, or a rejected code explained with a machine-readable reason.\n\nMeasured, for our own tests: done in at most 3 calls.\n\nHow agents ask for it: make a 10% code for this customer list; extend this code until Friday; why didn't this coupon apply; how much store credit is left\n\n## Does the job\n\nThe docs show it meets the test above, and nothing we read says otherwise.\n\n- **Spree Commerce (Vendo Connect Inc)**: Cart discount_codes returns machine-readable errors such as coupon_code_not_eligible, but creating a promotion with its rules through create_resource may take more than one call.\n\n## Does the job, with a limit\n\nIt does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.\n\n- **Adobe Commerce (Magento) (Adobe Inc.)**: applyCouponToCart applies a code to a test cart and returns an error message, but no machine-readable code list for coupon rejection appears on the page.\n- **BigCommerce API + MCP (Commerce.com US, Inc.)**: create_promotion makes one rule, created disabled, and get_promotions finds a code's promotion, but no MCP tool applies a code to a test cart or returns a rejection reason; create is not safe to retry.\n- **Commerce Layer API + MCP (Commerce Layer, Inc.)**: Promotions, coupons and external promotions exist in the Core API, but no machine-readable coupon rejection reason was read.\n- **commercetools (commercetools GmbH)**: create_discount_codes and create_cart_discounts exist and update_carts can add a code to a test cart, but the rejection-state field was not read this run.\n- **Ecwid by Lightspeed (Ecwid, Inc.)**: Discount coupons and promotions have create, update and search endpoints, but with no server-side cart there is no way to test a code or read a rejection reason.\n- **Elastic Path API + MCP (Elastic Path Software Inc.)**: Promotions, promotion codes and cart promotion endpoints exist, but no machine-readable rejection reason was read.\n- **Fabric (Commerce Fabric, Inc.)**: Promotions, coupons and coupon-codes APIs create and manage codes, but applying one to a test cart and reading a rejection reason was not read.\n- **Medusa API + MCP (MedusaJS, Inc.)**: Store routes add promotions to a cart, but no machine-readable rejection reasons were found in the reference, and the MCP can only read promotions.\n- **Saleor API + MCP (Saleor Commerce sp. z o.o.)**: CheckoutErrorCode gives VOUCHER_NOT_APPLICABLE, but promotion and voucher settings are high-impact and checkouts are excluded from the MCP, so a test-cart check needs the API directly.\n- **Shopify API + MCP (Shopify Inc.)**: Discount codes are created over the Admin API, but accounts report combination and once-per-customer rules not enforced after checkout and no webhook when a discount expires.\n- **Shopware (shopware AG)**: Promotions are entities the upsert tool can write with a dry run, but no promotion tool or cart test path exists in the MCP, and rejection reasons were not read.\n- **Snipcart API + MCP (Snipcart inc.)**: create_discount takes code, cart-total or product triggers and amounts, but with no server-side cart a code cannot be tested and no rejection reason is returned.\n- **Square (Block, Inc.)**: Discounts and pricing rules are catalogue objects, gift cards and loyalty are services, but no discount-code object or rejection reason was found in what was read.\n- **Swell (Swell Commerce Corp.)**: create_coupon and create_promotion take the rules but create them inactive; only a person can activate them in the dashboard, so the agent cannot test a code on a cart.\n- **Vendure (Elevantiq GmbH)**: apply_coupon_code tests a code on a cart, but no admin tool creates promotions, and the docs note a valid coupon may sit in couponCodes without changing the total.\n- **Wix Stores and eCommerce API (Wix.com Ltd.)**: Cart V2 add-coupon returns machine-readable codes such as INVALID_COUPON_CODE, INVALID_COUPON_STATUS and MAX_COUPONS_PER_CART_EXCEEDED; the Coupons create page was listed but not read.\n- **WooCommerce API + MCP (WooCommerce, Inc.)**: REST coupons exist and Store API cart/coupons returns an error when a code doesn't apply, but no coupon ability exists in the MCP, so an agent there refuses.\n\n- not this job: Agentzon (Merit Systems Inc (agentzon.co terms); Merit Systems, Inc. (merit.systems terms)): No discount or coupon object in the API.\n- not this job: doola MCP (doola): No discounts.\n\n## What stops agents finishing\n\n- no discount tools in the agent interface\n- combination rules not enforced outside checkout\n- no event when a discount expires\n\n## Around it\n\nBefore: crm.customer-list, chat.user-request. After: email.send, commerce.cart-to-checkout.\n\n## Where this comes from\n\nWeight 5 of 100 in Commerce \u0026 checkout: 3 of 49 accounts (WooCommerce coupon abilities, two Shopify forum threads); one of the four buyer checks, so kept\n\nAs data: https://www.anchorterminal.com/api/v1/use-cases/commerce.manage-discounts.json, or the MCP tool get_use_case with id commerce.manage-discounts. Draft, read 2026-11-15 from public docs and first-hand accounts, not yet reviewed by a person.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-16",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.8",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "For agents",
        "url": "https://www.anchorterminal.com/agents/"
      },
      {
        "name": "Niches",
        "url": "https://www.anchorterminal.com/niches/"
      },
      {
        "name": "Create and check discount codes",
        "url": ""
      }
    ],
    "description": "Create and check discount codes: 1 companies fully do it, 17 with a limit, 23 carry the tag. Every listing in Commerce \u0026 checkout with the reason and a source.",
    "facts": null,
    "h1": "Create and check discount codes",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/niches/commerce.manage-discounts/",
    "published": "",
    "section": "agents",
    "title": "Create and check discount codes: who does it | Anchor Terminal",
    "toc": null,
    "updated": "2026-11-15",
    "url": "https://www.anchorterminal.com/niches/commerce.manage-discounts/"
  },
  "tokens": {
    "markdown": 1550,
    "slim": 380
  },
  "version": 1
}
