Core GraphQL APIReferenceMutations
Update Page
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Pages` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
updatePage(input: UpdatePageInput!, where: CommonFindDocumentDto!): Boolean!Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the Pages update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*where*Returns
updatePage*Boolean!Example Request
mutation UpdatePage($input: UpdatePageInput!, $where: CommonFindDocumentDto!) { updatePage(input: $input, where: $where)}{ "input": { "content": "string", "image": { "external": "string", "fileAssetId": "1" } }, "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "updatePage": true }}