Help Center > > API Reference> Partner Operation Capability API (Reseller Model)

Partner Operation Capability API (Reseller Model)

Updated at: Oct 08, 2021 GMT+08:00

HUAWEI CLOUD provides the operation capabilities in the reseller model for partners to manage customers, coupons, transactions, cloud services, bills, service tickets, products, and invoices on the partner sales platform.

Table 1 APIs and descriptions

Scenario

Sub-Scenario

API Name

Description

Product management

Product information query

Querying Cloud Service Types

This API is used to query cloud service types on the partner sales platform.

Querying Resource Types

This API is used to query the resource types on the partner sales platform.

Querying Resources by Cloud Service Type

This API is used to query the resource type code and name by associated cloud service on the partner sales platform and to query the price of a pay-per-use or yearly/monthly product.

Querying Usage Types

This API is used to query resource usage types on the partner sales platform.

Querying Measurement Units

This API is used to query the resource usage, measurement unit for the duration and amount of a yearly/monthly resource, as well as the measurement unit type on the partner sales platform.

Querying the Measurement Unit Number System

This API is used to query the measurement unit number system on the partner sales platform.

Product price query

Querying the Price of a Pay-per-Use Product

Partners can query the price of a pay-per-use product by criteria on the sales platform.

Querying the Price of a Yearly/Monthly Product

This API is used to query the price of a yearly/monthly product by criteria on the partner sales platform.

Customer management

Customer registration

Verifying Customer Registration Information

This API is used to check whether the account name, and mobile number or email address entered by the customer can be used for registration.

Sending a Verification Code

If customers enter email addresses for registration, this API is used to send a registration verification code to the email addresses to verify the registration information.

Creating a Customer

This API is used to create a HUAWEI CLOUD account for a customer when the customer creates an account on your sales platform, and bind the customer account on the partner sales platform to the HUAWEI CLOUD account. In addition, the HUAWEI CLOUD account is bound to the partner account.

Real-name authentication

Requesting an Individual Real-name Authentication

This API can be used to submit an individual real-name authentication application.

Requesting an Enterprise Real-name Authentication

This API can be used to submit an enterprise real-name authentication application.

Requesting a Real-Name Authentication Change

This API can be used to submit a real-name authentication change application.

Querying the Real-Name Authentication Review Result

If the response to a real-name authentication application or real-name authentication change application indicates that manual review is required, this API can be used to query the review result.

Customer management

Querying Customers

This API is used to query your customers.

Freezing a Customer Account

A partner can freeze an account of a customer associated with the partner by reseller model.

Unfreezing a Customer Account

A partner can unfreeze an account of a customer associated with the partner by reseller model.

Transaction management

Customer budget management

Querying Customers' Budgets

This API is used to query the budget of a customer for the partner to determine whether to adjust the budget.

Setting Customers' Budgets

This API is used to set or adjust a customer's budget.

Coupon management

Querying Coupons

Partners can query information about their coupons.

Yearly/monthly order management

Querying Orders

After a customer purchases yearly/monthly resources, it can query the orders in different statuses, such as in the pending approval, processing, canceled, completed, and pending payment statuses.

Querying Order Details

Customers can view order details on the partner sales platform.

Querying Available Discounts of an Order

A customer can query available discounts when paying an order on the partner sales platform.

Paying Yearly/Monthly Product Orders

A customer can invoke this API to pay yearly-monthly product orders in the pending payment status.

Canceling Orders in the Pending Payment Status

A customer can invoke this API to cancel orders in the pending payment status.

Querying the Amount of Unsubscription Orders

A customer can query the resources and original orders of the unsubscription amount for an unsubscription order or degrade order on the partner sales platform.

Yearly/Monthly resource management

Querying Customer's Yearly/Monthly Resources

A customer can query one or all yearly/monthly resources on the partner sales platform.

Renewing Yearly/Monthly Resources

A customer can renew subscription to yearly/monthly resources on the partner sales platform.

Unsubscribing Yearly/Monthly Resources

If a customer has subscribed to a yearly/monthly resource, the customer can use this API to unsubscribe from the resource, including the renewed part and currently used part. The customer cannot use the resources after unsubscription.

Configuring Automatic Renewal for Yearly/Monthly Resources

A customer can use this API to enable automatic subscription renewal for its long-term yearly/monthly resources to prevent the resources from being deleted when they are expired.

Canceling Automatic Renewal for Yearly/Monthly Resources

A customer can disable automatic subscription renewal when needed. After disabling this function, the customer needs to manually renew the subscription to the resources before they expire.

Enabling/Canceling the Change from Yearly/Monthly to Pay-per-Use upon Expiration

A customer can change the billing mode of resources from yearly/monthly to pay-per-use after the resources expire. The pay-per-use mode takes effect upon a yearly/monthly expiration.

Resource package management

Querying Resource Packages

This API is used to query resource packages.

Querying the Resource Usage

Customers can query the resource usage on the partner sales platform.

Pay-per-use resource management

Querying Customer's Pay-per-Use Resources

A partner can query the pay-per-use resources that have been provisioned for customers associated with the partner in reseller model.

Cloud service resource management

Cloud service resource management

Switching from the partner sales platform to the HUAWEI CLOUD portal

This API is used to switch from the partner sales platform to the HUAWEI CLOUD portal using a link to manage cloud service resources.

Bill management

Customer expenditure management

Querying Customer Resource Usage

This API is used to query customer resource usage.

Partner bill management

Querying Monthly Bills

A customer can change the billing mode of resources from yearly/monthly to pay-per-use after the resources expire. The pay-per-use mode takes effect upon a yearly/monthly expiration.

Querying Monthly Expenditures

After a partner subscribes to the partner bill (containing the customer consumption details) in the Partner Center on HUAWEI CLOUD, the partner can rate for its customers, and the partner sales platform will generate the customer bills. The partner can perform reconciliation with HUAWEI CLOUD.

Invoice management

Invoice management

Querying the Invoice List

Partners can query the invoice list.

Managing service tickets

Managing service tickets

Service ticket management APIs

Partners and customers can submit HUAWEI CLOUD service tickets on the partner sales platform. When receiving the service tickets, the HUAWEI CLOUD after-sales service team will assist the customers to handle the problems related to HUAWEI CLOUD usage.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel