crossupsellUpdate
Apply a partial update to a cross- or up-sell relationship.
Only the fields supplied in the input are modified; omitted fields are left untouched.
Only subType can be changed. The type and the source and target references (baseProductUuidFrom/To, productIdFrom/To, clusterIdFrom/To) are fixed once the relationship exists; to change them, delete the relationship and create a new one.
Possible errors:
- CROSSUPSELL_NOT_FOUND_ERROR: The supplied identifier did not match any cross-upsell relationship.
- CROSS_UPSELL_IMMUTABLE_FIELD: The input supplies the type or a source or target reference, which cannot be updated.
- SCHEMA_VALIDATION: One or more input fields failed validation.
AUTH: Role=[product.OWNER,product.EDITOR]
crossupsellUpdate(
id: String!
input: CrossupsellUpdateInput!
): Crossupsell!
Arguments
crossupsellUpdate.id ● String! non-null scalar
Global identifier of the cross-upsell relationship to update.
crossupsellUpdate.input ● CrossupsellUpdateInput! non-null input
Fields to update on the cross-upsell relationship. Omitted fields keep their current value.
Type
Crossupsell object
Cross-upsell relationship supporting mixed product/cluster relationships