CreateRestockSuggestionDestinationAreaEntryCommandRequestInput
Adds an entry to a destination area. The input is a one-of: exactly one variant is sent and it is the kind of the entry. 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: VALIDATION_FAILED (the request is invalid, for example a priority below 1 or beyond the last entry plus one); RESTOCK_SUGGESTION_DESTINATION_AREA_NOT_FOUND (the destination area was not found; an area of the other kind counts as not found); WAREHOUSE_NOT_FOUND (the warehouse was not found); WAREHOUSE_NOT_USABLE or RESTOCK_SUGGESTION_DESTINATION_AREA_ENTRY_DUPLICATE (the warehouse is not active or a transit or pending-reservation warehouse; the supplier or warehouse is in the destination area already). - Request
CreateRestockSuggestionDestinationAreaEntryCommandRequestInputFields
The ID of the destination area.
The new entry. Exactly one variant.
The priority of the new entry, 1 is the highest; the entries from there on move one down. When omitted, the new entry gets the lowest priority.
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?