# Update an existing billing carrier config within a yard **PATCH /api/automated-billing/config/yard/{yardId}/carrier/{carrierId}** Update the billing configuration for a carrier within the specified yard. If a field is null in the request, it will be ignored and the existing value will be kept. ## Servers - GCP Development: https://api-dev.gatego.io (GCP Development) - Production: https://api.gatego.io (Production) ## Parameters ### Path parameters - **carrierId** (integer(int64)) The ID of the carrier for which to update a billing configuration - **yardId** (integer(int64)) The ID of the yard ### Body: application/json (object) - **trailer_config** (object) - **truck_config** (object) - **emails** (array[string]) List of emails to send invoices to ## Responses ### 200 OK #### Body: application/json (object) - **id** (integer(int64)) Unique identifier of the yard-carrier configuration - **yard_id** (integer(int64)) Identifier of the yard associated with this configuration - **carrier_id** (integer(int64)) Identifier of the carrier associated with this configuration - **trailer_config** (object) - **truck_config** (object) - **emails** (array[string]) List of emails to send invoices to - **last_modified_at** () - **last_modified_by** (string) Username of the last modifier of this configuration ### 401 Not Authorized ### 403 Not Allowed [Powered by Bump.sh](https://bump.sh)