Create Inventory Source
Registers a new inventory source and returns the full created source.
How this menu works
For field meanings and the delete guards, see the Inventory Sources overview.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminSettingsInventorySource(input:) | Mutation | Create an inventory source |
code, name, the contact fields (contactName, contactEmail, contactNumber) and the address fields (country, state, city, street, postcode) are required. description, contactFax, priority, latitude, longitude and status are optional. code must be unique; a duplicate is rejected (equivalent to HTTP 422 on REST).
Permission: settings.inventory_sources.create. All operations require an admin Bearer token — see Authentication.

