customerGenerateAccountActivationUrl 突变

生成一个新的帐户激活URL。

所需的访问

write_customers 访问范围。

在本页面

互动范例

这是一个示例变异查询。

突变customerGenerateAccountActivationUrl ($ customerId :ID !){ customerGenerateAccountActivationUrl (customerId :$ customerId ){
  1. <font style="color:#1F61A0;">accountActivationUrl</font>
  2. <font style="color:#1F61A0;">userErrors </font><font style="color:#555555;">{</font>
  3. <font style="color:#1F61A0;">场地</font>
  4. <font style="color:#1F61A0;">信息</font>
  5. <font style="color:#555555;">}</font>
} } { “ customerId” :“ Z2lkOi8vU2hvcGlmeS9FeGFtcGxlLzE =” }

字段

字段 描述
customerId
( [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)

)必需的
为其生成URL的客户的ID。

返回字段

  • accountActivationUrl([URL](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
    新生成的帐户激活URL。
  • userErrors([[UserError!]!](https://shopify.dev/docs/admin-api/graphql/reference/usererror))
    执行突变时发生的错误列表。