【问题标题】:How do I use GoDaddy's v2 API?如何使用 GoDaddy 的 v2 API?
【发布时间】:2021-11-18 21:21:32
【问题描述】:

GoDaddy 的 API docs 中有一些请求仅在 v2 中可用,所以我想使用 v2。但是,我找不到任何关于版本之间的一般差异或任何迁移说明的公开信息。

我的尝试有一段时间没有成功,主要是因为错误{"code": "ERROR_INTERNAL", "message": "Not Found : Failed to get customer data for customerId or shopperId xxxxxxx"}
当使用相同的 API 密钥/秘密和 shopperId 时,V1 请求所有工作,但 V2 上没有工作。

我在certificates API 文档中注意到(但在domains API 文档中缺少)shopperId is not the same as customerId. shopperId is a number of max length 10 digits (ex: 1234567890) whereas customerId is a UUIDv4 (ex: 295e3bc3-b3b9-4d95-aae5-ede41a994d13)。但它没有描述如何找到 UUIDv4 客户 ID。

【问题讨论】:

    标签: godaddy-api


    【解决方案1】:

    Mark MillerAntonhere 的帮助下,我能够找到请求类似于v1/shoppers/{shopperId}?includes=customerId 的客户ID。需要查询参数才能在响应中实际获取 UUIDv4,这在查看 v1 获取购物者文档时并不是很明显。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-22
      • 2023-03-03
      • 1970-01-01
      • 2015-10-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-08
      相关资源
      最近更新 更多