UpdateRestockSuggestionDestinationAreaCommandRequestInput
Changes the name of a destination area or whether it is active. Only what is sent changes. Templates that use a destination area that becomes inactive keep it; a calculation with them refuses. Available in GraphQL only. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: RESTOCK_SUGGESTION_DESTINATION_AREA_NAME_REQUIRED or VALIDATION_FAILED (an empty name, or the request is invalid otherwise); RESTOCK_SUGGESTION_DESTINATION_AREA_NOT_FOUND (the destination area was not found; an area of the other kind counts as not found). - Request
UpdateRestockSuggestionDestinationAreaCommandRequestInputFields
The ID of the destination area.
The new name, 1 to 255 characters. It cannot be cleared.
Whether the destination area can be used in settings. It cannot be cleared.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?