Skip to content

Create Inventory Source

Registers a new inventory source and returns the full created source.

For field meanings and the delete guards, see the Inventory Sources overview.

Operation

OperationTypePurpose
createAdminSettingsInventorySource(input:)MutationCreate 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.

Released under the MIT License.