Skip to main content

warehouseTransferDeliveryAppointmentOptions

Returns what can be booked for a transfer’s delivery appointment: the warehouse, its load types, and, for a chosen load type, its open times and the fields it asks for. Read live from the scheduling integration.

Business Rules​

  • The transfer and the integration must belong to the active company (X-Company-Id), and the integration must support delivery appointments
  • The warehouse is the location the transfer’s destination building is linked to in that integration. Its fulfillment integration is not used
  • When the destination building is not linked yet, warehouseMapped is false and every other field is empty, so the client can offer to map it
  • When the transfer’s warehouse system reports its order is at a different warehouse than the transfer’s destination, warehouseOrderMismatch explains it and every other field is empty
  • slots is returned when loadTypeId and date are given. date is a day in the warehouse’s time zone
  • fields and blockingFields are returned when loadTypeId is given

Error Scenarios​

  • **GraphQL::ExecutionError**: “Transfer not found.”
  • “Integration not found.” or “This integration cannot schedule delivery appointments.”

Permissions Required​

  • warehouse:read_transfers
warehouseTransferDeliveryAppointmentOptions(
date: ISO8601Date
integrationId: ID!
loadTypeId: ID
transferId: ID!
): DeliveryAppointmentOptions!

Arguments​

warehouseTransferDeliveryAppointmentOptions.date ● ISO8601Date scalar common​

The day to list open times for, in the warehouse’s time zone.

warehouseTransferDeliveryAppointmentOptions.integrationId ● ID! non-null scalar common​

The scheduling integration to book with.

warehouseTransferDeliveryAppointmentOptions.loadTypeId ● ID scalar common​

The load type to list times and fields for.

warehouseTransferDeliveryAppointmentOptions.transferId ● ID! non-null scalar common​

The transfer to book an appointment for.

Type​

DeliveryAppointmentOptions object common​

What can be booked for a shipment at its warehouse, read live from the scheduling system.