Replace a work's writer splits
Works
Replace a work's writer splits
PUT /work/works//writers
PUT
Replace a work's writer splits
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
PUT /work/works//writers Description: Replaces the FULLCWRWorkWriter set for the work in a single
transaction — this is the publishing “Writers & Splits” editor’s
save action, not an incremental add/remove. Each writer is persisted
as one Worldwide (WW) territory row carrying the three pool
shares. Editor-invisible per-writer fields (controlled, saan,
publisherFee, sourceType) are preserved from the prior row for
writers that are retained. On success, may flip the work’s
metadata.completeness between complete and skeleton per the
WP-P4 lifecycle (skeleton re-badging only applies to
bootstrap-seeded works).
Authorization:
- Requires active
publisheraddon - Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
CWRWork id (the /work/works/:id route family uses id, not workId)
Body
application/json
Replaces the FULL writer set for the work in one call. Validation:
each writer requires a unique writerId + an allowed writerRole;
each of prShare/mrShare/srShare must be 0-100; each pool must sum to
either exactly 0 (unset) or 100% ± 0.02 across all writers; every
writerId must belong to the caller's tenant. A pool sum of 0 across
ALL writers is treated as "shares not entered" and persists
relativeShare: null rather than 0%.