Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Update Blog Author

Blog author will update on which tenant user has access to. Requires a signed-in staff user. Needs the `Blogs` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONupdateBlogAuthor(input: UpdateBlogAuthorInput!, where: CommonFindDocumentDto!): Boolean!

Blog author will update on which tenant user has access to. Requires a signed-in staff user. Needs the Blogs update permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*
where*

Returns

updateBlogAuthor*Boolean!
Example Request
mutation UpdateBlogAuthor($input: UpdateBlogAuthorInput!, $where: CommonFindDocumentDto!) {  updateBlogAuthor(input: $input, where: $where)}
Variables
{  "input": {    "avatar": {      "external": "string",      "fileAssetId": "1"    },    "email": "string"  },  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "updateBlogAuthor": true  }}