Skip to main content

Get all custom relationships

GET 

https://euwest.api.elasticpath.com/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.

OperatorAttributeDescriptionExample
eqowner, slugEquals. Checks if the values of two operands are equal. If they are, the condition is true.filter=eq(owner,store)
inslugIn. Checks if a value exists in a given list of values. If the value matches any item in the list, the condition is true.filter=in(slug,slug-1,slug-2,slug-3)

Request

Responses

Returns a list of all custom relationships.

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
Parameters
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!