Publisher Writer Agreements
Add a territory to an agreement
POST /publisher-writer/agreements//territories
POST
Add a territory to an agreement
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /publisher-writer/agreements//territories Description: Appends a single territory to the agreement’sterritories array
inside a DB transaction. Rejects (400) if territoryCode is
missing, if a territory with the same territoryCode already
exists on this agreement, or if the new territory conflicts with
one on any of this publisher/writer pair’s OTHER active
agreements.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
Body
application/json
Required range:
0 <= x <= 100Required range:
0 <= x <= 100Required range:
0 <= x <= 100Response
Territory added; full updated agreement returned