CreateRestockSuggestionStartAreaEntryCommandRequestInput
Adds an entry to a start area. The input is a one-of: exactly one variant is sent and it is the kind of the entry. A supplier or warehouse appears only once, and at most one entry is the company’s own production. 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_START_AREA_NOT_FOUND (the start area was not found; an area of the other kind counts as not found); SUPPLIER_NOT_FOUND or WAREHOUSE_NOT_FOUND (a referenced record was not found); SUPPLIER_INACTIVE, WAREHOUSE_NOT_USABLE, RESTOCK_SUGGESTION_PRODUCTION_NOT_AVAILABLE, RESTOCK_SUGGESTION_START_AREA_PRODUCTION_ENTRY_DUPLICATE or RESTOCK_SUGGESTION_START_AREA_ENTRY_DUPLICATE (the supplier is not active, the warehouse is not active or a transit or pending-reservation warehouse, the ERP has no active production, or the start area has a production entry already; the supplier or warehouse is in the start area already). - Request
CreateRestockSuggestionStartAreaEntryCommandRequestInputFields
The ID of the start 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?