The customer quote endpoint applies the full pricing pipeline on top of the base quote: per-customer markup rules are evaluated by priority, minimum margin constraints are enforced, rounding is applied, and any storefront-level overrides (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/VisualGraphxLLC/API-HUB/llms.txt
Use this file to discover all available pages before exploring further.
fixed_unit_price, extra_markup_pct) take final precedence.
POST /api/customers//pricing/quote
Authentication:X-Ingest-Secret header (shared secret). Requests without a valid header receive 401 Unauthorized.
The customer whose markup rules and storefront overrides should be applied.
Product to quote.
Variant (color × size). Required for apparel products.
Order quantity. Must be greater than 0.
Print width in the product’s size unit. Required for print products.
Print height in the product’s size unit. Required for print products.
Selected option attribute IDs for multiplier calculation.
Response — 200 OK — CustomerQuoteResult
CustomerQuoteResult extends QuoteResult with additional markup fields.
Final per-unit price after all markup rules and storefront overrides have been applied.
unit_price × qty.Always
"USD".Same
ApparelBreakdown or PrintBreakdown as the public quote — reflects the base price breakdown before markup.Supplier base cost before any markup. This is the same
unit_price the public /api/pricing/quote endpoint would return.The markup percentage that was applied, expressed as a decimal (e.g.,
"0.35" = 35%). null if no matching markup rule was found for this customer.Rounding strategy from the matched markup rule. One of
"none", "nearest_dollar", "nearest_99", or null.true if a per-product storefront override (from product_storefront_configs) was applied on top of the markup rule.$4.18, 35% markup yields $5.643, rounded to nearest $X.99 → $5.99 (the resolver may use ceiling-to-99¢ logic — verify with your markup rule configuration).
Markup rule evaluation
The engine selects the highest-priorityMarkupRule for the customer whose scope matches the product. Rule scopes are evaluated in the order you configure them; the winning rule’s markup_pct, min_margin, and rounding are applied.
If storefront_override_applied is true, a product_storefront_configs row for this customer+product provided a final override that supersedes the markup rule result.
Error responses
| Status | Condition |
|---|---|
401 Unauthorized | Missing or invalid X-Ingest-Secret header |
422 Unprocessable Entity | Dimensions out of bounds (BoundsError) |
422 Unprocessable Entity | Missing pricing data for variant (MissingPricingDataError) |
404 Not Found | Product not found |
Usage in n8n
In your OPS push workflow, call this endpoint to get the final sell price before passing it tosetProductPrice:
unit_price from the response as the sell price and base_unit_price as the vendor price in setProductPrice.