salesOrdersForOrderHub expects Locator
Summary:
We want to create a sales order that mimics the Allow Inventory Transaction flag, but the api fails because we haven't passed locator.
Content (please ensure you mask any confidential information):
The error:
SourceTransactionLineNumber 1, SourceScheduleNumber 1: The request failed for item 2083695. Subinventory MAIN is under locator control and the order line has an inventory transaction, but it doesn't have a locator. (FOM-4515435) Details: If the subinventory is under locator control, and if the order line includes an inventory transaction, then you must include a value in the Locator attribute.
I've searched the documentation and cannot find it. I even used GET to get the SO lines, and Locator does not appear on an order I created from the UI.