Get all custom relationships
GET/pcm/custom-relationships
Gets all Custom Relationships.
To see a list of custom relationships a product is attached to, see Get all Custom Relationships attached to a Product.
To see a list of products that a product is related to, see Get all Related Products of a Products' attached Custom Relationship.
Filtering
Many Commerce API endpoints support filtering. The general syntax is described in Filtering.
The following attributes and operators are supported.
Operator | Attribute | Description | Example |
---|---|---|---|
eq | owner | Equals. Checks if the values of two operands are equal. If they are, the condition is true. | filter=eq(owner,store) |
Request
Responses
- 200
- 400
- 500
Returns a list of all custom relationships.
Bad request. The request failed validation.
Internal server error. There was a system failure in the platform.