Update the cost center of an event
PUT/v1/events/origin-events/:originEventId/agreement-codes/:agreementCode/cost-center
Change only the cost center of an event, scoped to one agreement. Applies synchronously and returns the updated event.
The cost center can also be set through PUT /v1/events/origin-events/{originEventId} as part of a wider header update. Use this endpoint when the cost center is the only thing changing — it avoids sending (and revalidating) the rest of the header.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
OK
Bad Request
Unauthorized
Forbidden
Not Found
Validation error
Internal Server Error