Skip to main content

SeedInventoryResponse

The result of creating empty stock rows for a warehouse.

type SeedInventoryResponse {
created: Int!
skipped: Int!
total: Int!
warehouseId: String!
warehouseName: String!
}

Fields​

SeedInventoryResponse.created ● Int! non-null scalar​

How many stock rows were created.

SeedInventoryResponse.skipped ● Int! non-null scalar​

How many already existed and were skipped.

SeedInventoryResponse.total ● Int! non-null scalar​

How many variants were considered.

SeedInventoryResponse.warehouseId ● String! non-null scalar​

The ID of the warehouse.

SeedInventoryResponse.warehouseName ● String! non-null scalar​

The name of the warehouse.

Returned By​

seedInventory mutation