createPortfolio
Create a new portfolio.
Arguments
Input fields for creating a portfolio.
Possible Errors
Allowed Viewers
Required Permissions
Can create portfoliosQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreatePortfolio($input: CreatePortfolioInput) {
createPortfolio(input: $input) {
portfolio {
...PortfolioTypeFragment
}
}
}
Variables
{
"input": CreatePortfolioInput
}
Response
{
"data": {
"createPortfolio": {
"portfolio": PortfolioType
}
}
}