Optional
configuration: ConfigurationProtected
axiosProtected
baseProtected
configurationsummary Update a SimpleContract
the ContractId of the Contract (not the Id property)
Optional
simpleContractUpdateDeets: SimpleContractUpdateDeetsOptional
options: RawAxiosRequestConfigOverride http request option.
SimpleContracts are a lighter-weight version of the standard contracts. Contracts are core to the Mozaic API, they contain Income objects which have child terms used to specify the rules of how income should be split or sent to payees.
summary List all SimpleContractsOptional
activeOnly: booleanIf true only active SimpleContracts will be returned
Optional
limit: numberA limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25
Optional
page: number1-based page index for paginated results
Optional
userId: stringThe user id to operate on their behalf (tenants only)
Optional
options: RawAxiosRequestConfigOverride http request option.
summary Retrieve a list of all related payments
Optional
limit: numberA limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25
Optional
page: number1-based page index for paginated results
Optional
userId: stringThe user id to operate on their behalf (tenants only)
Optional
options: RawAxiosRequestConfigOverride http request option.
summary Retrieve an avatar by id
The id of the record you wish to retrieve
Optional
userId: stringThe user id to operate on their behalf (tenants only)
Optional
options: RawAxiosRequestConfigOverride http request option.
Returns a single `SimpleContract` object based on the specified id
summary Retrieve a SimpleContract by accountID and contract IDThe id of the account that holds the simple contract
The id of the SimpleContract you want to retrieve
Optional
specificRevision: numberOptional revision number of the contract to retrieve
Optional
options: RawAxiosRequestConfigOverride http request option.
Returns a single `SimpleContract` object based on the specified id
summary Retrieve a SimpleContractThe id of the record you wish to retrieve
Optional
specificRevision: numberOptional
userId: stringThe user id to operate on their behalf (tenants only)
Optional
options: RawAxiosRequestConfigOverride http request option.
Used to create new SimpleContracts or link to a existing SimpleContract group
summary Create a SimpleContractOptional
simpleContractCreateDeets: SimpleContractCreateDeetsOptional
options: RawAxiosRequestConfigOverride http request option.
summary Accept the specified SimpleContract
Optional
options: RawAxiosRequestConfigOverride http request option.
summary Archive the specified SimpleContract
Optional
options: RawAxiosRequestConfigOverride http request option.
summary Decline the specified SimpleContract
Optional
options: RawAxiosRequestConfigOverride http request option.
avatar_id could be tenant.id, SimpleContract.id, work.id, project.id, team.id, etc summary Upload avatar image via file
SimpleContract id
Optional
file: FileOptional
options: RawAxiosRequestConfigOverride http request option.
avatar_id could be tenant.id, SimpleContract.id, work.id, project.id, team.id, etc summary Upload avatar via JSON body
The id of the record you wish to retrieve
Optional
userId: stringThe user id to operate on their behalf (tenants only)
Optional
avatarBytes: AvatarBytesOptional
options: RawAxiosRequestConfigOverride http request option.
avatar_id could be tenant.id, SimpleContract.id, work.id, project.id, team.id, etc summary Generate a new avatar image via AI prompt.
Optional
avatarPromptCreateDeets: AvatarPromptCreateDeetsOptional
options: RawAxiosRequestConfigOverride http request option.
SimpleContractsApi - object-oriented interface export SimpleContractsApi