AlmondTill/G3N API

Product relation

The ProductRelation family — 7 operations.

A product relation is a typed link between two products — goes-with, replaces, and the like. Relations power curation and navigation, never pricing.

Operations

OperationKindWhat it does
createProductRelationmutationCreate a new product relationship — “goes with”, “replaces”, “upsell” links between products at your organization.
deactivateProductRelationmutationDeactivate a product relationship — “goes with”, “replaces”, “upsell” links between products — it stops being usable but keeps its history and can be reactivated.
doomProductRelationmutationPermanently retire a product relationship — “goes with”, “replaces”, “upsell” links between products.
productRelationqueryLook up one record — a product relationship — “goes with”, “replaces”, “upsell” links between products.
productRelationsqueryThe product relation list — each entry is a product relationship — “goes with”, “replaces”, “upsell” links between products.
reactivateProductRelationmutationReactivate a product relationship — “goes with”, “replaces”, “upsell” links between products — bring a deactivated record back into use.
updateProductRelationmutationEdit a product relationship — “goes with”, “replaces”, “upsell” links between products — change its details.