Ingest pushes data into Elastly. To pull approved prices back out and apply them in your own
system, see Write-backs. To have the SDK run the whole flow for you, see
Build your own connector.
Before you start
- In the dashboard, open Integrations and connect Custom ERP or Custom Storefront. There are no credentials to paste. Custom ERP accepts quotes; Custom Storefront is catalog and orders only.
- Under Settings → API keys, create a key with the Connector scope, and send it as a bearer token on every request.
How a batch works
You group records into a batch, stage them entity by entity, then commit. Committing hands the batch to Elastly, which drains it into your workspace in the background and folds the outcomes into pricing. Until you commit, a batch holds nothing that affects pricing, so you can build it up over as many requests as you need.Open a batch
Open a batch to get an id to stage against.
Stage your records
Stage up to 1000 records of one entity at a time. Products
first, then customers, then quotes and orders.
Commit
Commit to seal the batch and let Elastly drain it.
Check status
Poll the batch until the drain finishes, then read what
landed.
Stage in dependency order. Send products first, then customers, then the quotes and orders that
reference them. Elastly resolves each quote and order line back to the customer and product you sent
by their
externalId, so those have to exist in the batch first.What each entity carries
The full field list for each entity is on the stage records page, generated from the API contract. The essentials:- Product.
sku,name,category,costCents, andcurrentPriceCentsare required. Cost is the margin basis, so it is never optional. OptionalmapCents,floorCents, andceilingCentscarry per-product guardrails in. - Customer.
externalIdandnameare required.segmentis your own label, and Elastly derives its segment from it. - Quote. Carries its
outcome(open,won,lost) so Elastly can learn. Each line must echo thepricingDecisionIdfrom the price Elastly gave you, so a won or lost line ties back to the exact recommendation. - Order. Realized, line-level sales with
soldPriceCents. Link an order to the quote it closed withsourceQuoteExternalId.
When you’re over the SKU cap
If a product batch would push you past your plan’s SKU cap, Elastly ingests up to the cap and reports the remainder asskippedOverCap on the batch status, rather than failing the whole batch. Nothing is
dropped without telling you.