# Order-Vehicle Restrictions

Endpoints used for managing order-vehicle restriction sets.
Order-vehicle restrictions define constraints between orders and vehicles based on labels.
Each restriction rule links an order label to a vehicle label with a specific relationship type and an enforcement
that is either hard (the combination is strictly enforced) or soft (a violation cost is applied when the restriction is violated during planning).
**Restriction types:**
- `FORBIDDEN_COMBINATION`
 — Orders with the specified label must not be assigned to vehicles with the specified label.
- `ORDER_REQUIRES_VEHICLE`
 — Orders with the specified label require vehicles with the specified label.
- `VEHICLE_REQUIRES_ORDER`
 — Vehicles with the specified label require orders with the specified label.

 - [GET /settings/order-vehicle-restriction-sets](https://developer.conundra.eu/apis/plannings/planning-api/order-vehicle-restrictions/listordervehiclerestrictionsets.md): Retrieve order-vehicle restriction sets using cursor-based paging (see the Cursor-based pagination documentation on the PTV Developer Portal for more details).
 - [POST /settings/order-vehicle-restriction-sets](https://developer.conundra.eu/apis/plannings/planning-api/order-vehicle-restrictions/createordervehiclerestrictionset.md): Create a new order-vehicle restriction set
 - [GET /settings/order-vehicle-restriction-sets/{id}](https://developer.conundra.eu/apis/plannings/planning-api/order-vehicle-restrictions/getordervehiclerestrictionset.md): Retrieves detailed information on the given order-vehicle restriction set.
 - [PUT /settings/order-vehicle-restriction-sets/{id}](https://developer.conundra.eu/apis/plannings/planning-api/order-vehicle-restrictions/upsertordervehiclerestrictionset.md): Create or update an order-vehicle restriction set. A unique ID is required to identify the order-vehicle restriction set. Calling this endpoint with an existing ID will update the order-vehicle restri
 - [DELETE /settings/order-vehicle-restriction-sets/{id}](https://developer.conundra.eu/apis/plannings/planning-api/order-vehicle-restrictions/deleteordervehiclerestrictionset.md): Delete an order-vehicle restriction set by its ID.
