Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Update Blog Category

Blog category 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).

MUTATIONupdateBlogCategory(input: UpdateBlogCategoryInput!, where: CommonFindDocumentDto!): Boolean!

Blog category 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

updateBlogCategory*Boolean!
Example Request
mutation UpdateBlogCategory($input: UpdateBlogCategoryInput!, $where: CommonFindDocumentDto!) {  updateBlogCategory(input: $input, where: $where)}
Variables
{  "input": {    "description": "string",    "isActive": true  },  "where": {    "and": [      {        "and": [          {            "and": [              {                "and": [                  {}                ],                "key": "string"              }            ],            "key": "string"          }        ],        "key": "string"      }    ],    "key": "string"  }}
Example Response
{  "data": {    "updateBlogCategory": true  }}