All Products
Search
Document Center

Cloud Phone:CreateEdgeMobileAgentPackage

Last Updated:Jul 07, 2026

Places an order to purchase an edge smart gateway agent package.

Operation description

This operation involves billing. Before you call this operation, make sure that you fully understand the billing methods and pricing of the Cloud Phone product.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BizRegionId

string

Yes

The region where the agent is located.

cn-hangzhou

Quantity

integer

Yes

The number of packages.

1

Period

integer

Yes

The subscription duration of the resource. The unit is specified by PeriodUnit.

1

PeriodUnit

string

Yes

The unit of the subscription duration. Valid values:

  • Month: month.

  • Year: year.

Month

AutoRenew

boolean

No

Specifies whether to enable auto-renewal. Valid values:

  • true: enables auto-renewal.

  • false (default): disables auto-renewal.

false

AutoPay

boolean

No

Specifies whether to enable automatic payment. Valid values:

  • true: enables automatic payment. Make sure that your account balance is sufficient.

  • false (default): generates the order without charging the account.

Note

If your payment method has an insufficient balance, set this parameter to false. An unpaid order is generated. You can then log on to the Cloud Phone console to complete the payment.

false

ClientToken

string

No

The idempotency token.

ETnLKlblzczshOTUbOCz****

PromotionId

string

No

The ID of the promotional activity.

50003308011****

DeviceClass

string

No

The device form factor.

BOX

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC******

OrderId

integer

The order ID.

22326560487****

PackageIds

array

The list of package IDs.

string

The package ID.

cmag-0c1g77wjljl9hc****

Examples

Success response

JSON format

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC******",
  "OrderId": 0,
  "PackageIds": [
    "cmag-0c1g77wjljl9hc****"
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.