On this page
article
400 - Carrier Service Shipment Mismatch
The error code
carrier_service_shipment_mismatch is returned when you attempt to allocate an on_demand shipment with a scheduled carrier service, or to allocate a scheduled shipment with an on_demand carrier service.There are currently 2 types of shipment in Shipments API:
scheduled- theseshipmentsrelate to a pre-booked or pre-existing collection of multipleshipmentsfrom a single location. The carrier has a schedule of collections.on_demand- theseshipmentsrelate to booking a carrier collection on-demand; there is no pre-existing or pre-booked collection.
As these types of operation differ, the carrier services that are compatible with each type of shipment also differ. It is not possible to allocate an on_demand shipment to a scheduled carrier service, or to allocate a scheduled shipment to an on_demand carrier service.
This error code is likely to be returned as a child error of an allocation_failed response.