ConnectApi.OCICreateReservationInputRepresentation

Data to reserve inventory at one or more Omnichannel Inventory locations or location groups.

PropertyTypeDescriptionRequired or OptionalAvailable Version
actionRequestIdStringA UUID that identifies the request. Use the action request IDs in response data to identify which requests succeeded or failed. If the OmnichannelInventoryService class’s createReservation method is called, the actionRequestId is used for the reservationId.Required51.0
allowPartial​ReservationsBooleanWhen true, if the system can’t create the entire reservation, then it attempts to create a partial reservation.Optional51.0
createRecordsList<ConnectApi.​OCICreateReservation​SingleInput​Representation>A list of product quantities and locations or location groups. The list can include up to 100 elements.At least one element is required51.0
expirationSecondsIntegerA length of time in seconds. If the reservation isn’t fulfilled within this amount of time after the reservationTime, then it expires. The maximum value is 14400.Optional51.0
externalRefIdStringExternal reference ID.Optional51.0
reservationTimeStringThe time at which to record the reservation. Example: 2020-07-24T21:13:00ZOptional51.0