Skip to navigation

update

Replaces the store-wide list, or the list of each channel. When a code is not valid, the mutation writes nothing and returns a ValidationError. The mutation writes the channels one by one. When a write fails for a different reason, the channels before it keep the new list, and the response has a top-level error. Send the request again: the write is idempotent.

Arguments

inputUpdateISellToInputRequired
The channels and the new list.

Returns

an optional UpdateISellToResult
errorslist of UpdateISellToErrors
The errors of the update.
iSellTolist of ISellTosOptional
The new list of each written level, with the codes in upper case and sorted. null when the update has errors.