REST Resource: inventorySourceGroups.assignedInventorySources

  • AssignedInventorySource represents an assignment between a targetable inventory source and an inventory source group.

  • The JSON representation for AssignedInventorySource includes fields for name, assignedInventorySourceId, and inventorySourceId.

  • AssignedInventorySource provides methods for bulk editing, creating, deleting, and listing assignments between inventory sources and a single inventory source group.

Resource: AssignedInventorySource

An assignment between a targetable inventory source and an inventory source group.

JSON representation
{
  "name": string,
  "assignedInventorySourceId": string,
  "inventorySourceId": string
}
Fields
name

string

Output only. The resource name of the assigned inventory source.

assignedInventorySourceId

string (int64 format)

Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.

inventorySourceId

string

Required. The ID of the inventory source entity being targeted.

Methods

bulkEdit

Bulk edits multiple assignments between inventory sources and a single inventory source group.

create

Creates an assignment between an inventory source and an inventory source group.

delete

Deletes the assignment between an inventory source and an inventory source group.

list

Lists inventory sources assigned to an inventory source group.