Chameleoon MAX · Products
removeProductVariantExternalRef mutation
removeProductVariantExternalRef is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Removes the variant's reference in an external source. Call it when your system's record no longer matches this variant.
- Returns
changed: falsewhen the variant had no reference in the external source. - Works for an archived external source too.
- Permissions and
NOT_FOUNDare as insetProductVariantExternalRef.
An error whose path runs below this field does not mean the call failed: the reference was removed, so do not retry. See
Mutation.
Arguments
id:UUID!· requiredsource:String!· required
Returns
ProductVariantExternalRefResult!
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.