CreateRestockSuggestionDestinationAreaCommandRequestInput
Creates a destination area with its entries in one call; their order in the request is their priority, the first is the highest. A warehouse appears only once; an entry with an area or a storage location of a warehouse counts for that warehouse. 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_ENTRIES_REQUIRED, RESTOCK_SUGGESTION_DESTINATION_AREA_NAME_REQUIRED, RESTOCK_SUGGESTION_DESTINATION_AREA_ENTRY_DUPLICATE or VALIDATION_FAILED (no entry, an empty name, a supplier or warehouse twice in the request, or the request is invalid otherwise); WAREHOUSE_NOT_FOUND (the warehouse was not found); WAREHOUSE_NOT_USABLE (the warehouse is not active or a transit or pending-reservation warehouse). - Request
CreateRestockSuggestionDestinationAreaCommandRequestInputFields
A temporary identifier chosen by the client, for example to match the answer to an optimistic update. It is not stored and is returned unchanged.
The name, 1 to 255 characters. It need not be unique.
Whether the destination area can be used in settings. Defaults to true.
The entries, at least one, in their priority. Each is exactly one variant.
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?