inventory_write
Store must have one of: IMS
Arguments
Returns
cycleCountPlansRemove did with each plan. It runs while the request waits, so the result is final.Remove products and bins from a cycle count that hasn’t been completed or cancelled, as the app’s Remove does, along with any counts recorded under them. Pass the plan ids cycleCount lists under plans. Returns one result per plan: OK when removed; SKIPPED with STARTED when counting it has started (the app refuses the whole selection instead; here the others are still removed); SKIPPED with NOT_FOUND for an id that isn’t a plan of this count, whether malformed, already removed or another count’s. A count keeps at least one plan: removing the last of them fails the whole call. Safe to retry: a plan already removed reads NOT_FOUND. Takes 1 to 100 different ids; a repeated id counts once. Returns null when the store has no live cycle count with this id, whether malformed, deleted or another store’s, and changes nothing. Needs the inventory_write scope. Errors: BAD_USER_INPUT when there are no ids or more than 100; CYCLE_COUNT_NOT_EDITABLE (400) when the count is completed or cancelled; CYCLE_COUNT_PLANS_REQUIRED (409) when the call would remove every plan the count has left.
inventory_write
Store must have one of: IMS
cycleCountPlansRemove did with each plan. It runs while the request waits, so the result is final.