CreateRestockSuggestionStartAreaCommandRequestInput
Creates a start area with its entries in one call; their order in the request is their priority, the first is the highest. 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: RESTOCK_SUGGESTION_START_AREA_ENTRIES_REQUIRED, RESTOCK_SUGGESTION_START_AREA_NAME_REQUIRED, RESTOCK_SUGGESTION_START_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); SUPPLIER_NOT_FOUND or WAREHOUSE_NOT_FOUND (a referenced record was not found); SUPPLIER_INACTIVE, WAREHOUSE_NOT_USABLE, RESTOCK_SUGGESTION_PRODUCTION_NOT_AVAILABLE or RESTOCK_SUGGESTION_START_AREA_PRODUCTION_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). - Request
CreateRestockSuggestionStartAreaCommandRequestInputFields
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 start 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?