TanqoryDocs

webPresenceUpdate

  • Mutation
  • Markets, tax and languages

Changes a web presence's default and alternate languages, or its subfolder suffix. The answer holds the web presence, or userErrors saying what to fix.

Arguments

ArgumentTypeRequiredDefault
idID!Required
inputWebPresenceUpdateInput!Required

Returns

WebPresenceUpdatePayload What webPresenceUpdate returns: the updated webPresence and any userErrors.

FieldTypeDescription
userErrors[MarketUserError!]!
webPresenceMarketWebPresence

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"mutation WebPresenceUpdate($id: ID!, $input: WebPresenceUpdateInput!) {\n  webPresenceUpdate(id: $id, input: $input) {\n    userErrors {\n      code\n      field\n      message\n    }\n    webPresence { id }\n  }\n}","variables":{"id":"gid://tanqory/Type/id","input":{}}}'

Built from commit c0b3fb3fdef7 · API version 2026-10