Skip to main content
GET
List relation definitions

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Query Parameters

sourceCardId
string

Only relation definitions whose source is this card definition (raw id, e.g. products).

targetCardId
string

Only relation definitions whose target is this card definition (raw id, e.g. variants).

status
enum<string>

Only relation definitions in this state. See RelationDefinitionStatus. Tracks whether a relation definition's links between cards are built.

Available options:
Initializing,
Updating,
Active
name
string

Only items whose name contains this text, ignoring case.

createdFrom
string<date-time>

Only items created at or after this time.

createdTo
string<date-time>

Only items created at or before this time. Can't be before createdFrom.

updatedFrom
string<date-time>

Only items last changed at or after this time.

updatedTo
string<date-time>

Only items last changed at or before this time. Can't be before updatedFrom.

after
string

Cursor from the previous page's after. Omit it for the first page; pages only go forward.

limit

Number of items to return. Default 50, max 200.

includeTotalCount
boolean

Include totalCount, the number of all matching items. Costs an extra count; default false, and totalCount is null without it.

Response

OK

Holds one page of a list.

items
object[]
required

Items on this page.

after
null | string
required

Cursor for the next page: pass it as after. Null on the last page.

totalCount
null | integer<int64>
required

Number of all matching items. Null unless includeTotalCount=true.