INPUT_OBJECT

StockChangeInput

Provide just intoWarehouse to increase stock, just outFromWarehouse to decrease stock, both to transfer stock

link GraphQL Schema definition

1input StockChangeInput {
2
3# Exactly one input field should be provided
4outFromWarehouse: WarehouseInput
5
6# Exactly one input field should be provided
7intoWarehouse: WarehouseInput
8
9description: String!
10
11productVariants: [ProductVariantStockChangeInput!]!
12}

link Required by