NewProductRelationInput
input type
Create-input for a ProductRelation.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the relation type (a relation carries no merchant code); when supplied it must be non-blank. |
sourceProductId | ID ID! | yes | The source Product id. |
targetProductId | ID ID! | yes | The target Product id — immutable after birth; self-relation refused. |
relationType | String String! | yes | The canned relation type — immutable after birth; unknown kinds refused by the named gate. |
ordinal | Int | no | The suggestion rank (lower = first; 0..1000000) — defaulted to 0 when omitted. |