Skip to main content

SupplierLocationUpdateInput

Add, edit, archive, or restore a supplier location.

input SupplierLocationUpdateInput {
address: SupplierAddressInput
archived: Boolean
code: String
contactEmail: String
contactName: String
contactPhone: String
id: ID
name: String
newId: ID
}

Fields​

SupplierLocationUpdateInput.address ● SupplierAddressInput input suppliers​

Location address.

SupplierLocationUpdateInput.archived ● Boolean scalar common​

True archives the location; false restores it.

SupplierLocationUpdateInput.code ● String scalar common​

Optional location code, preserving leading zeros.

SupplierLocationUpdateInput.contactEmail ● String scalar common​

Contact email at this location.

SupplierLocationUpdateInput.contactName ● String scalar common​

Contact at this location.

SupplierLocationUpdateInput.contactPhone ● String scalar common​

Contact phone at this location.

SupplierLocationUpdateInput.id ● ID scalar common​

Existing location; omit to create.

SupplierLocationUpdateInput.name ● String scalar common​

Recognizable location name.

SupplierLocationUpdateInput.newId ● ID scalar common​

UUID to give a location being created, so the caller knows it before the request returns. Cannot be sent with id or used by any existing location.

Member Of​

UpdateSupplierInput input