# Update an existing carrier config within a yard by its unique id **PATCH /api/automated-billing/config/yard-carrier/{yardCarrierConfigId}** Update the billing configuration for a carrier within the specified yard by its id (which is equivalent to using the pair yardId-carrierId). 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 - **yardCarrierConfigId** (integer(int64)) The ID of the yard-carrier configuration ### 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)