Skip to content

Validate Quote Catalog Selection

POST
/quote-catalog/validate

Check a product selection against the catalog’s rules. Returns {issues: string[]}; empty means valid.

Reads only. A manual_product_id that does not resolve to a live product of this organisation is reported as an unknown-product issue, never silently dropped.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Check a product selection against the catalog’s rules. Mirrors CatalogValidateDTO.

object
line_items
Array<object>
<= 500 items

One selected catalog line. Mirrors CatalogValidateLineDTO.

With manual_product_id the server resolves name, base name and category from the catalog itself; custom one-off lines omit the id and carry their own.

object
base_name
Any of:
string
<= 500 characters
category
Any of:
string
<= 100 characters
manual_product_id
Any of:
string
<= 64 characters
name
Any of:
string
<= 500 characters

Responses

200

Successful Response

object
data
required

An open envelope for a quote, template, contact or job result.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string