Skip to main content

validateAndSetReservation

Create reservations for products. If the reservation cannot be made for all products, the function will return success: false and no reservation will be made.

validateAndSetReservation(
resourceId: String!
inputRows: [InventoryInput!]!
): InventoryResult

Arguments

resourceId ● String!

inputRows ● [InventoryInput!]!

Type

InventoryResult

Result of an inventory reconciliation or reservation attempt.