ModifyYardCarrierAssociation

PATCH /api/yard/{yardId}/carrier/{carrierId}

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

application/json

Responses

PATCH /api/yard/{yardId}/carrier/{carrierId}
curl \
 -X PATCH https://api-dev.gatego.io:443/api/yard/{yardId}/carrier/{carrierId} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"authorized":true,"carrier_capacity":42}'
Request example
# Headers

# Payload
{
  "authorized": true,
  "carrier_capacity": 42
}
Response examples (200)
{
  "authorized": true,
  "capacity": 42,
  "carrier_id": 42
}