Add a territory to an agreement
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
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Body
application/json
CISAC TIS territory code, or a formula (e.g. "2136 BUT NOT 2250"). WW = worldwide.
Example:
"WW"
Available options:
I, E Required range:
0 <= x <= 100Required range:
0 <= x <= 100Required range:
0 <= x <= 100Response
Territory added; full updated agreement returned
Available options:
draft, pending, active, expired, terminated Only present when the record was loaded via the model's default scope (all reads; NOT present on the POST /agreements create response).
Only present when the record was loaded via the model's default scope (all reads; NOT present on the POST /agreements create response).