TBBN.Merchant Platform docs
WORKING

Matching

post/v1/matching/candidates

Bulk candidate ranking for a single listing — scores the network's candidate pool (subject to the same PRIVATE/GLOBAL/BOTH visibility boundary directory-service enforces) against the source listing and returns the top N by Trade Compatibility Score. See docs/architecture/matching-algorithm-spec.md.

Request body

FieldTypeRequired
listingIdstring (uuid)yes
limitinteger

Response (201)

FieldTypeRequired
listingIdstring (uuid)
candidatesobject[]
post/v1/matching/score

Direct pairwise Trade Compatibility Score for two known listings — used to preview compatibility before sending an offer

Request body

FieldTypeRequired
listingIdAstring (uuid)yes
listingIdBstring (uuid)yes

Response (201)

FieldTypeRequired
scorenumber
breakdownCompatibilityBreakdown