latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

Admin APIs
distributors
Wholesale Distribution

Update Contract

Rename a contract (PRO-2305). Terms, TOU, and tiers have their own dedicated edit endpoints; only the operator-facing name is set here.

patch/api/v1/admin/distributors/contracts/{contract_id}

Path parameters

contract_idstring uuid required

Request body

namestring nullable
signup_plan_idstring nullable

Response

Successful Response

idstring uuid4 required
namestring nullable
statusstring required
contract_starts_atstring date nullable
contract_term_monthsinteger required
term_endstring date nullable
account_managerstring nullable
signup_plan_idstring nullable
created_atstring date-time required
updated_atstring date-time required
active_accountsinteger required
total_accountsinteger nullable