Update all the service types of a consignment. Existing service types not present in the request will also be removed from the consignment.
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: array string[]service
Type Ids An array of service type Id's.
Responses
- 200
OK
Request Example for put/v1/consignments/{consignmentId}/service-types
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/service-types \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"serviceTypeIds": [
""
]
}'
No Body