TBBN.Merchant Platform docs
WORKING

Moderation

get/v1/moderation/flags

List moderation flags. listing-service's synchronous scanner already blocks a flagged write at the moment of sync — a flagged listing never reaches Postgres. These rows are a record of rejected attempts, useful for tuning the pattern list and handling merchant appeals.

Parameters

statusqueryoptional
merchantIdqueryoptional
limitqueryoptional

Response (200)

get/v1/moderation/flags/{id}

Get a moderation flag

Parameters

idpathrequired

Response (200)

FieldTypeRequired
idstring (uuid)
merchantIdstring (uuid)
sellerIdstring,null (uuid)
listingIdstring,null (uuid)
fieldNamestring
matchedPatternstring
rawExcerptstring
statusFLAGGED | OVERRIDDEN | UPHELD
reviewedBystringnull
reviewedAtstring,null (date-time)
createdAtstring (date-time)
post/v1/moderation/flags/{id}/review

Ops review of a FLAGGED entry. Reviewing does not retroactively publish a listing — a confirmed false positive still requires the merchant to resubmit through Listings.

Parameters

idpathrequired
optional

Request body

FieldTypeRequired
reviewedBystring (uuid)yes
decisionOVERRIDDEN | UPHELDyes

Response (201)

FieldTypeRequired
idstring (uuid)
merchantIdstring (uuid)
sellerIdstring,null (uuid)
listingIdstring,null (uuid)
fieldNamestring
matchedPatternstring
rawExcerptstring
statusFLAGGED | OVERRIDDEN | UPHELD
reviewedBystringnull
reviewedAtstring,null (date-time)
createdAtstring (date-time)