OCAPI Filtering
After you specify a resource type and relationship type (see URL schema), you can specify a filter parameter to further reduce the number of resource instances in the result set. Filter parameters differ for each resource_type
and relationship_type
pair. In the following example, the first filter parameter type
specifies a value of cross_sell
, eliminating from the result set all resource instances whose type isn’t equal to cross_sell
. The second filter parameter direction
specifies the value out
, eliminating all resource instances whose direction is different.