Skip to main content
mutation

Requires Any of write_content, write_online_store_pages access scopes.

Permanently deletes a page from the online store.

For example, merchants might delete seasonal landing pages after campaigns end, or remove outdated policy pages when terms change.

Use the pageDelete mutation to:

  • Remove outdated or unnecessary pages
  • Clean up seasonal landing pages
  • Delete duplicate pages

The deletion is permanent and returns the deleted page's ID for confirmation.

ID!
required

The ID of the page to be deleted.


Was this section helpful?

Anchor to PageDeletePayload returnsPageDeletePayload returns

ID

The ID of the deleted page.

[PageDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?