Skip to content
elastly
Book a demo
Developers

Price any line with one API call

A REST API for custom ERPs, storefronts and CPQ tools. Send a customer, SKU and quantity. Get a price and its reasons back.

Get an API keyapi.elastly.ai/v1
curl https://api.elastly.ai/v1/price \
  -H "Authorization: Bearer $ELASTLY_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Elastly-Version: 2026-11-01" \
  -d '{
    "buyer": {
      "kind": "customer",
      "customerId": "CUST-2207"
    },
    "currency": "USD",
    "lines": [
      {
        "sku": "6205-2RS",
        "quantity": "400"
      },
      {
        "sku": "6206-ZZ",
        "quantity": "120"
      }
    ]
  }'
RESPONSE · 182 MS
{ "price": 16.90, "currency": "USD", "confidence": 0.91,
  "factors": [{ "name": "customer_tier", "effect": -0.041 }, …] }

Prices with reasons

Every response includes the factors and their effects, ready to show in your UI.

Sync your data

Push catalog, cost, customers and quote outcomes so the models keep learning.

Webhooks and audit

Get notified on approvals and price changes. Every call is logged.

Endpoints

POST/v1/pricePrice one line for a customer and quantity
POST/v1/quotes/pricePrice every line on a quote
POST/v1/outcomesReport a won or lost quote
GET/v1/decisions/{id}Read a past price with its inputs
GET/v1/catalog/itemsList catalog items
GET/v1/customersList customers
GET/v1/eventsList events after a cursor
PUT/v1/catalog/itemsCreate or update SKUs, cost and stock
PUT/v1/customersCreate or update customers and tiers
PUT/v1/documentsCreate or update quotes, orders, invoices and credits
POST/v1/importsCreate a bulk import
PUT/v1/imports/{id}/fileUpload the file of a bulk import
POST/v1/imports/{id}/commitStart a bulk import
GET/v1/imports/{id}Read a bulk import
GET/v1/imports/{id}/recordsList the result of each record of an import
POST/v1/writeback/claimsClaim queued writes
POST/v1/writeback/leasesExtend write leases
POST/v1/writeback/acksReport the result of each claimed write

MCP server

EUhttps://eu.mcp.elastly.ai/mcpEU data residency
READelastly:readSearch records, explain prices and preview changes
DRAFTelastly:draftCreate drafts that a member reviews and applies in Elastly
LIMIT60 calls a minutePer connected app
LIMIT600 calls a minutePer workspace
LIMIT25,000 tokensLargest tool result

MCP tools

READelastly_searchSearch products, customers, quotes and margin leaks
READelastly_get_recordRead one record with its key figures
READelastly_query_tableQuery a table with filters and sorting
READelastly_explain_priceExplain how a price was set
READelastly_list_needs_attentionList what is waiting for the member
READelastly_preview_impactPreview the impact of a pricing change
READelastly_search_helpSearch the product documentation
READelastly_price_linesPrice up to 100 lines for a customer
DRAFTelastly_draft_quoteDraft a quote for review
DRAFTelastly_draft_policy_changeDraft a pricing policy change
DRAFTelastly_draft_control_changeDraft a change to control settings
DRAFTelastly_draft_strategyDraft a strategy in Shadow
DRAFTelastly_draft_reportDraft a report
READelastly_list_draftsList the drafts this app created