Load a Profile for editing
Request the canonical condition tree and its readable expression explicitly:Request
Response
Build the editor from metadata
Call List Product Profile condition fields when the editor loads. The response describes each field’s label, type, allowed operators, value conversion, finite options, and measurement units. It also provides the CEL help URL for advanced expressions. Fields such as SKU and Product name advertise avalue_source instead of embedding every Product.
After the operator types at least two characters, call the advertised endpoint with a bounded limit:
Request
Response
limit; see
Selecting Fields.
Save and poll classification
Send the edited condition tree to the Profile update endpoint. Omitted fields remain unchanged.Request
200 with no response body. Poll the Profile until
classification.status becomes up_to_date. While work is pending, the status may be queued or
processing; a failed classification reports failed.
References in condition metadata use their stable field values. Elsewhere in the Global API,
related resources use
{ "type": "...", "id": ... } references. Match both type and id
when resolving those references from included.