Skip to main content

Overwrite Mutation

The Overwrite mutation allows you to replace the entire value of a specific product field with a new value. This mutation is useful for standardizing certain attributes or fields across your product feed.

Options

  • New Value: The new value that will overwrite the existing value.

Example

Suppose we have wrong values as the condition of our product. This will default to new if it is not a valid value. We can use the Overwrite mutation to replace all values of condition with the correct value.

A screenshot showing the overwrite mutation.
Overwrite Mutation Example