【发布时间】:2019-02-21 18:13:55
【问题描述】:
如何在使用 Shopify Storefront API 时禁用激活电子邮件:https://help.shopify.com/en/api/custom-storefronts/storefront-api/guides/updating-customers#creating-an-access-token
{
"input": {
"email": "user@example.com",
"password": "HiZqFuDvDdQ7"
}
}
当我尝试添加时:
send_email_welcome": false
编辑:
Variables = new
{
input = new
{
email = model.Email,
password = model.Password,
firstName = model.FirstName,
lastName = model.LastName
},
sendemailwelcome = false
}
我收到一个错误。
当我查看他们的 Store API 时,它可以让您跳过激活电子邮件: https://help.shopify.com/en/api/reference/customers/customer#account_activation_url
【问题讨论】:
-
您是否将 send_email_welcome": false 放在“输入”块之外?
-
是的。试过了。我仍然收到欢迎电子邮件。我还有一个问题,如果通过单击激活电子邮件激活用户后,是否有办法将用户重定向到自己的自定义商店
标签: c# shopify shopify-app