All URIs are relative to http://127.0.0.1:21011
Method | HTTP request | Description |
---|---|---|
CustomerServiceCreateCustomer | Post /v1/customers | |
CustomerServiceDeleteCustomer | Delete /v1/customers/{id} | |
CustomerServiceListAllCustomers | Get /v1/customers | |
CustomerServiceRetrieveCustomer | Get /v1/customers/{id} | |
CustomerServiceSearchCustomers | Get /v1/customers/search | |
CustomerServiceUpdateCustomer | Post /v1/customers/{id} |
V1CustomerResponse CustomerServiceCreateCustomer(ctx, body)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | V1CreateCustomerRequest |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1DeleteCustomerResponse CustomerServiceDeleteCustomer(ctx, id, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
optional | *CustomerServiceApiCustomerServiceDeleteCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CustomerServiceApiCustomerServiceDeleteCustomerOpts struct
Name | Type | Description | Notes |
---|
appId | optional.String| |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1CustomerListResponse CustomerServiceListAllCustomers(ctx, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *CustomerServiceApiCustomerServiceListAllCustomersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CustomerServiceApiCustomerServiceListAllCustomersOpts struct
Name | Type | Description | Notes |
---|---|---|---|
appId | optional.String | ||
limit | optional.Int32 | [OPTIONAL] 限制有多少对象可以被返回,限制范围是从 1~100 项,默认是 10 项 | [default to 10] |
startingAfter | optional.String | [OPTIONAL] 在分页时使用的指针,决定了列表的第一项从何处开始。假设你的一次请求返回列表的最后一项的 id 是 obj_end,你可以使用 starting_after = obj_end 去获取下一页 | |
endingBefore | optional.String | [OPTIONAL] 在分页时使用的指针,决定了列表的最末项在何处结束。假设你的一次请求返回列表的第一项的 id 是 obj_start,你可以使用 ending_before = obj_start 去获取上一页 | |
createdLt | optional.Int64 | 大于 charge 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdLte | optional.Int64 | 大于或等于 charge 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdGt | optional.Int64 | 小于 charge 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdGte | optional.Int64 | 小于或等于 charge 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
disabled | optional.Bool | [OPTIONAL] 是否禁用,默认为 false |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1CustomerResponse CustomerServiceRetrieveCustomer(ctx, id, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ||
optional | *CustomerServiceApiCustomerServiceRetrieveCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CustomerServiceApiCustomerServiceRetrieveCustomerOpts struct
Name | Type | Description | Notes |
---|
appId | optional.String| |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1CustomerListResponse CustomerServiceSearchCustomers(ctx, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *CustomerServiceApiCustomerServiceSearchCustomersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CustomerServiceApiCustomerServiceSearchCustomersOpts struct
Name | Type | Description | Notes |
---|---|---|---|
appId | optional.String | ||
limit | optional.Int32 | [OPTIONAL] 限制有多少对象可以被返回,限制范围是从 1~100 项,默认是 10 项 | [default to 10] |
createdLt | optional.Int64 | 大于 BusinessUser 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdLte | optional.Int64 | 大于或等于 BusinessUser 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdGt | optional.Int64 | 小于 BusinessUser 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
createdGte | optional.Int64 | 小于或等于 BusinessUser 对象的创建时间,用 Unix 时间戳表示 | [default to 0] |
optional.String | [OPTIONAL] BusinessUser 对象的邮箱地址。支持模糊匹配 | ||
name | optional.String | [OPTIONAL] BusinessUser 对象的用户名。支持模糊匹配 | |
phone | optional.String | [OPTIONAL] BusinessUser 对象的手机号码 |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V1CustomerResponse CustomerServiceUpdateCustomer(ctx, id)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。