Skip to main content
payload

Return type for pageDelete mutation.

•ID

The ID of the deleted page.

•[PageDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.


Was this section helpful?