Help Center > > API Reference> Customer Operation Capability API

Customer Operation Capability API

Updated at: Apr 28, 2021 GMT+08:00

HUAWEI CLOUD provides the operation capabilities for customers to manage products, accounts, transactions, bills, and invoices on the customer platform.

Table 1 APIs and descriptions

Scenario

Sub-Scenario

API Name

Description

Managing products

Querying product information

Querying Cloud Service Types

This API is used to query cloud service types on the customer self-built platform.

Querying Resource Types

This API is used to query the resource types on the customer self-built platform.

Querying Resources by Cloud Service Type

This API is used to query the resource code and name by associated cloud service on the customer self-built platform and to further 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 customer self-built platform.

Querying Usage Units

This API is used to query the measurement unit and name of resource usage, as well as the unit type on the customer self-built platform.

Querying the Usage Unit Number System

This API is used to query the usage unit number system for conversion between different measurement units on the customer self-built platform.

Querying the price of a product

Querying the Price of a Pay-Per-Use Product

Customers can query the price of a pay-per-use product by criteria on the self-built 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 customer self-built platform.

Managing accounts

-

Querying the Account Balance

This API can be used to query its account balance for a customer on the customer platform.

Managing transactions

Managing coupons

Querying Coupons

This API is used to query the coupon list on the partner sales platform.

Managing yearly/monthly orders

Querying Orders

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

Querying Order Details

Customers can query order details on the self-built platform.

Querying Available Discounts of an Order

A customer can query available discounts when paying an order on the customer self-built platform.

Paying Yearly-Monthly Product Orders

A customer can pay yearly-monthly product orders in the pending payment status on the self-built platform.

Canceling Orders in the Pending Payment Status

A customer can cancel subscriptions to yearly/monthly product orders in the pending payment state on the partner sales platform.

Querying the Amount of Unsubscription Orders

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

Managing yearly/monthly resources

Querying Customer's Yearly/Monthly Resources

A customer can query one or all yearly/monthly resources on the self-built platform.

Renewing Subscription to Yearly/Monthly Resources

A customer can renew its yearly/monthly resources on the self-built platform.

Unsubscribing from Yearly/Monthly Resources

A customer can unsubscribe from its yearly/monthly resources on the customer platform.

Enabling Automatic Subscription Renewal for Yearly/Monthly Resources

A customer can enable automatic renewal for its yearly/monthly resources on the customer platform.

Disabling Automatic Subscription Renewal for Yearly/Monthly Resources

A customer can disable automatic renewal for its yearly/monthly resources on the customer platform.

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

A customer can enable or cancel the change from yearly/monthly to pay-per-use upon resource expiration on the customer self-built platform.

-

Querying Package Usage

This API can be used to query its package usage for a customer on the customer platform.

Managing bills

Managing bills

Querying Summary Bills

This API can be used to query the expenditure summary bills of a customer on the self-built platform. The bills summarize the summary data by month.

Viewing Resource Usage Details

This API can be used to query usage details of each resource for a customer on the customer platform.

Viewing Resource Expenditures

This API can be used to query usage details of each resource for a customer on the self-built platform.

Managing invoices

Managing invoices

Querying the Invoice List

Customers can query the invoice list.

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