'1.0', 'info' => ['style' => 'RPC', 'product' => 'Agency', 'version' => '2022-12-16'], 'directories' => [ [ 'children' => ['CreateCustomer', 'GetInviteStatus', 'GetUnassociatedCustomer', 'InviteSubAccount', 'ResendEmail', 'ListCountries'], 'type' => 'directory', 'title' => 'Customer invitation', ], [ 'children' => ['AutomaticWriteOff', 'CustomerQuotaRecordList', 'DeductOutstandingBalance', 'EditEndUserStatus', 'EditNewBuyStatus', 'EditZeroCreditShutdown', 'ExportCustomerQuotaRecord', 'ExportReversedDeductionHistory', 'GetAccountInfo', 'GetCreditInfo', 'GetPurchaseControlRecord', 'GetShutdownPolicyRecord', 'QueryReversedDeductionHistory', 'QueryAutomaticWriteOffChangeRecords', 'SetAccountInfo', 'SetCreditLine', 'SetWarningThreshold'], 'type' => 'directory', 'title' => 'Customer account management', ], [ 'children' => ['CancelSubscriptionBill', 'GetCommissionableProducts', 'GetCustomerOrders', 'GetDailyBill', 'GetMonthlyBill', 'SubscriptionBill'], 'type' => 'directory', 'title' => 'User center', ], [ 'children' => ['GetTier2CouponApprovalDetail', 'ListTier2CouponApproval', 'CancelCoupon', 'CreateCouponTemplate', 'CouponApprovalStatusList', 'DeleteCouponTemplate', 'GetCouponTemplateDetail', 'GetCoupondeductProductCode', 'IssueCouponForCustomer', 'ListCouponUsage', 'QuotaListExportPaged'], 'type' => 'directory', 'title' => 'Coupon management', ], [ 'children' => ['ProcessApproval', 'ListExportTasks', 'InviteSubReseller'], 'type' => 'directory', 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AutomaticWriteOff' => [ 'summary' => 'Before the end-of-month settlement, you can enable the automatic write-off feature. When the consumed but unoffset quota reaches the specified automatic write-off amount, the amount is transferred to the offset quota and can be used for deduction.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'CustomerUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123456', 'title' => ''], ], [ 'name' => 'AutomaticWriteOffEnabled', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Specifies whether to enable automatic write-off and set the automatic write-off amount. Valid values:'."\n" .'- true: enables automatic write-off and sets the automatic write-off amount.'."\n" .'- false: disables automatic write-off.', 'type' => 'boolean', 'required' => true, 'example' => 'true'], ], [ 'name' => 'AutomaticWriteOffAmount', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The automatic write-off amount. This parameter is required if automatic write-off is enabled. Valid values: 100, 500, and 1000.', 'type' => 'integer', 'format' => 'int64', 'enum' => ['100', '500', '1000'], 'required' => false, 'example' => '100', ], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The language of the response. Default value: en. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'enum' => ['zh', 'en', 'ja'], 'required' => false, 'example' => 'en', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6fc1309b17543600398356606d0096'], 'Message' => ['title' => '', 'description' => 'The description of the result.', 'type' => 'string', 'example' => '成功'], 'Code' => ['title' => '', 'description' => 'code', 'type' => 'string', 'example' => '200'], 'Data' => ['title' => '', 'description' => 'Indicates whether the setting is successful.', 'type' => 'boolean', 'example' => 'true'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Set automatic write-off', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6fc1309b17543600398356606d0096\\",\\n \\"Message\\": \\"成功\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'CancelCoupon' => [ 'summary' => 'Invalidates a coupon.', 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CouponId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The coupon ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '501001340370350', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => ['description' => 'The operation result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_201', 'errorMessage' => 'Parameters are illegal and required fields are empty.', 'description' => 'Parameters are illegal and required fields are empty.'], ['errorCode' => 'ERROR_2311', 'errorMessage' => 'Coupon template does not exist.', 'description' => 'Coupon template does not exist'], ['errorCode' => 'ERROR_1003', 'errorMessage' => 'No permission to operate the object.', 'description' => 'No permission to operate the object.'], ['errorCode' => 'ERROR_2307', 'errorMessage' => 'Coupons not in normal state or coupons for which Alibaba Cloud bears the cost cannot be voided.', 'description' => 'Coupons not in normal state or coupons for which Alibaba Cloud bears the cost cannot be voided'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Invalidate a coupon', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelCoupon'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:CancelCoupon', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', ], 'CancelSubscriptionBill' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'SubscribeType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Subscription type.'."\n" ."\n" .'- PartnerBillingItemDetailForBillingPeriod: Billing item bill details.'."\n" .'- PartnerBillingItemDetailMonthly: Billing item monthly bill.'."\n" .'- PartnerInstanceDetailForBillingPeriod: Instance bill details.'."\n" .'- PartnerInstanceDetailMonthly: Instance monthly bill.', 'type' => 'string', 'required' => true, 'example' => 'PartnerBillingItemDetailForBillingPeriod'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'result', 'type' => 'object', 'properties' => [ 'Message' => ['title' => '', 'description' => 'The message returned.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '210e876f16704666020714468dab35'], 'Data' => ['description' => 'The data returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => [ 'title' => '', 'description' => 'The status code.', 'enumValueTitles' => [1008 => 'Unsubscription failed.', 'No subscription record exists.'], 'type' => 'string', 'example' => '200', ], 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Cancel multi-level distribution bill subscription', 'summary' => 'Unsubscribe from multi-level bills for international channel ecosystem partners.', 'description' => 'Make sure that the caller is an international Alibaba Cloud master reseller partner.'."\n" ."\n" .'You can unsubscribe from one type of bill file at a time.'."\n" ."\n" .'After the corresponding bill type is unsubscribed, files are no longer pushed to the specified OSS space.'."\n" ."\n" .'**This content is published only on the international site.**', 'changeSet' => [ ['createdAt' => '2025-01-10T03:58:11.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelSubscriptionBill'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:CancelSubscriptionBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"210e876f16704666020714468dab35\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'CouponApprovalStatusList' => [ 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The coupon template ID.', 'type' => 'string', 'required' => false, 'example' => '5093156', 'title' => ''], ], [ 'name' => 'TemplateName', 'in' => 'query', 'schema' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'example' => '测试优惠券模板', 'title' => ''], ], [ 'name' => 'TemplateStatus', 'in' => 'query', 'schema' => ['description' => 'The coupon template status. Valid values:'."\n" .'- **1**: Application withdrawn.'."\n" .'- **2**: Under review.'."\n" .'- **3**: Review rejected.'."\n" .'- **4**: Review approved.'."\n" .'- **5**: Review approved but issuance failed.'."\n" .'- **6**: Automatically approved.'."\n" .'- **7**: Automatically approved but issuance failed.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '0', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message information.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'PageNo' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'The data.', 'type' => 'object', 'properties' => [ 'TemplateId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'S00000101-100040', 'title' => ''], 'TemplateName' => ['description' => 'The coupon template name.', 'type' => 'string', 'example' => '模板名称', 'title' => ''], 'TemplateStatus' => ['description' => 'The coupon template status. Valid values:'."\n" .'- **1**: Application withdrawn.'."\n" .'- **2**: Under review.'."\n" .'- **3**: Review rejected.'."\n" .'- **4**: Review approved.'."\n" .'- **5**: Review approved but issuance failed.'."\n" .'- **6**: Automatically approved.'."\n" .'- **7**: Automatically approved but issuance failed.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], 'TimeOfRequest' => ['description' => 'The time when the application was submitted.', 'type' => 'string', 'example' => '2024-02-02 09:46:59', 'title' => ''], 'IssuerAccount' => ['description' => 'The issuer account.', 'type' => 'string', 'example' => 'test@test.aliyunid.com', 'title' => ''], 'Note' => ['description' => 'The approval comments.', 'type' => 'string', 'example' => '通过', 'title' => ''], 'IssuerUid' => ['description' => 'The UID of the issuer account.', 'type' => 'string', 'example' => '5432738203821334', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query coupon approval status list', 'summary' => 'Queries the list of coupon approval statuses.', 'description' => 'Make sure that the current caller identity is a distribution partner. '."\n" .'Available only on the China site..', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CouponApprovalStatusList'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:CouponApprovalStatusList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 10,\\n \\"Data\\": [\\n {\\n \\"TemplateId\\": \\"S00000101-100040\\",\\n \\"TemplateName\\": \\"模板名称\\",\\n \\"TemplateStatus\\": 2,\\n \\"TimeOfRequest\\": \\"2024-02-02 09:46:59\\",\\n \\"IssuerAccount\\": \\"test@test.aliyunid.com\\",\\n \\"Note\\": \\"通过\\",\\n \\"IssuerUid\\": \\"5432738203821334\\"\\n }\\n ]\\n}","type":"json"}]', ], 'CreateCouponTemplate' => [ 'summary' => 'Create Coupon Template', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TemplateName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Template name'."\n" .'Field length limit: 30', 'type' => 'string', 'required' => true, 'maxLength' => 30, 'example' => '模板名称'], ], [ 'name' => 'ReasonForApplication', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Reason for template application'."\n" .'Field length limit: 100', 'type' => 'string', 'required' => true, 'maxLength' => 100, 'example' => '模板申请原因'], ], [ 'name' => 'CostBearer', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Coupon cost bearer'."\n" .'● Partner: borne by the partner'."\n" .'● Alibaba Cloud: borne by Alibaba Cloud', 'type' => 'string', 'required' => true, 'enum' => ['Partner', 'Alibaba Cloud'], 'example' => 'Partner', ], ], [ 'name' => 'ApplicableProducts', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Applicable products'."\n" .'● All Products: all products'."\n" .'● Custom: custom selection', 'type' => 'string', 'required' => true, 'enum' => ['All Products', 'Custom'], 'example' => 'All Products', ], ], [ 'name' => 'ProductType', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'Product code list', 'type' => 'array', 'items' => ['description' => 'Product code. The return value from the deductible products API for international channel distribution coupons.', 'type' => 'string', 'required' => false, 'example' => 'code1', 'title' => ''], 'required' => false, 'example' => '', ], ], [ 'name' => 'LimitPerPerson', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Limit per person'."\n" .'● Limited to 1: each person can claim only one coupon'."\n" .'● Unlimited: no limit', 'type' => 'string', 'required' => true, 'enum' => ['Limited to 1', 'Unlimited'], 'example' => 'Unlimited', ], ], [ 'name' => 'Value', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Face value'."\n" .'Must be an integer', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'ValidUntil', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Validity period'."\n" .'● Validity Duration: from the date of coupon issuance'."\n" .'● Custom Timeframe: custom time period', 'type' => 'string', 'required' => true, 'enum' => ['Validity Duration', 'Custom Timeframe'], 'example' => 'Validity Duration', ], ], [ 'name' => 'Vailddate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Start date of the effective period'."\n" .'Format: yyyy-MM-dd'."\n" .'Example: 2024-08-26'."\n" .'Required when the validity period is set to Custom Timeframe', 'type' => 'string', 'required' => false, 'example' => '2024-08-26'], ], [ 'name' => 'Expireddate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'End date of the effective period'."\n" .'Format: yyyy-MM-dd'."\n" .'Example: 2024-08-26'."\n" .'Required when the validity period is set to Custom Timeframe', 'type' => 'string', 'required' => false, 'example' => '2024-08-26'], ], [ 'name' => 'Vaildperioddays', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Duration in days for the relative time period'."\n" .'Must be a positive integer'."\n" .'Required when the validity period is set to Validity Duration', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PurchaseType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'Order type', 'type' => 'string', 'enum' => ['ALL', 'Subscription', 'Pay-As-You-Go'], 'required' => false, 'example' => 'ALL', ], ], [ 'name' => 'CouponDescription', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Coupon remarks'."\n" .'Length limit: 100', 'type' => 'string', 'required' => false, 'maxLength' => 100, 'example' => '券备注信息'], ], [ 'name' => 'AcceptLanguage', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Default value: none'."\n" .'Chinese: zh-CN'."\n" .'English: en-US'."\n" .'Japanese: ja', 'type' => 'string', 'required' => true, 'example' => 'zh-CN'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2103a30617045934095083027d88c5'], 'Code' => ['title' => '', 'description' => 'Status code. 200 indicates success', 'type' => 'string', 'example' => '200'], 'Message' => ['title' => '', 'description' => 'Error message', 'type' => 'string', 'example' => '200'], 'Success' => ['description' => 'Indicates whether the request was successful', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'Response data', 'type' => 'object', 'properties' => [ 'TemplateName' => ['title' => '', 'description' => 'Coupon template name', 'type' => 'string', 'example' => '模板名称'], 'ApplicableProducts' => [ 'title' => '', 'description' => 'Applicable products'."\n" .'● All Products: all products'."\n" .'● Custom: custom selection', 'type' => 'string', 'enum' => ['Custom', 'All Products'], 'example' => 'Custom', ], 'ProductType' => [ 'title' => '', 'description' => 'Product code list', 'type' => 'array', 'items' => ['description' => 'Product code', 'type' => 'string', 'example' => 'code1', 'title' => ''], 'example' => '', ], 'Value' => ['description' => 'Face value', 'type' => 'string', 'example' => '1', 'title' => ''], 'ValidUntil' => [ 'title' => '', 'description' => 'Validity period'."\n" .'● Validity Duration: from the date of coupon issuance'."\n" .'● Custom Timeframe: custom time period', 'type' => 'string', 'enum' => ['Validity Duration', 'Custom Timeframe'], 'example' => 'Validity Duration', ], 'Vailddate' => ['title' => '', 'description' => 'Start date of the effective period'."\n" .'Format: yyyy-MM-dd', 'type' => 'string', 'example' => '2024-01-01'], 'Expireddate' => ['title' => '', 'description' => 'End date of the effective period'."\n" .'Format: yyyy-MM-dd', 'type' => 'string', 'example' => '2024-01-01'], 'Vaildperioddays' => ['description' => 'Duration in days for the relative time period', 'type' => 'string', 'example' => '1', 'title' => ''], 'CreateTime' => ['title' => '', 'description' => 'Creation time', 'type' => 'string', 'example' => '2024-04-02 16:15:31'], 'CostBearer' => [ 'title' => '', 'description' => 'Coupon cost bearer'."\n" .'● Partner: borne by the partner'."\n" .'● Alibaba Cloud: borne by Alibaba Cloud', 'type' => 'string', 'enum' => ['Partner', 'Alibaba Cloud'], 'example' => 'Partner', ], 'Status' => ['title' => '', 'description' => 'Status'."\n" ."\n" .'CREATED: Created'."\n" .'APPROVING: Under review'."\n" .'APPROVED: Approved'."\n" .'UNAPPROVED: Not approved'."\n" .'ABANDONED: Abandoned'."\n" .'EXPIRED: Expired'."\n" .'EXHAUSTED: Exhausted', 'type' => 'string', 'example' => 'APPROVED'], 'CouponTemplateID' => ['title' => '', 'description' => 'Coupon template ID', 'type' => 'integer', 'format' => 'int64', 'example' => '111111'], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_3070', 'errorMessage' => 'CouponTemplateName must be entered.', 'description' => 'TemplateName name must be entered'], ['errorCode' => 'ERROR_3100', 'errorMessage' => 'System exceptions, please submit a work order.', 'description' => 'System exceptions, please submit a work order.'], ['errorCode' => 'ERROR_3091', 'errorMessage' => 'Coupon template name length over limit.', 'description' => 'Coupon template name length over limit(30 characters).'], ['errorCode' => 'ERROR_3071', 'errorMessage' => 'ApplicableProducts empty, please check.', 'description' => 'ApplicableProducts empty, please check.'], ['errorCode' => 'ERROR_3094', 'errorMessage' => 'Applicable product type parameters are not legal.', 'description' => 'Applicable product type parameters are not legal'], ['errorCode' => 'ERROR_3080', 'errorMessage' => 'Account empty, please check.', 'description' => 'Account is empty, please check'], ['errorCode' => 'ERROR_3090', 'errorMessage' => 'You have no authority.', 'description' => 'You have no authority'], ['errorCode' => 'ERROR_3085', 'errorMessage' => 'Product code is not in international channel partner coupons deductable product list.', 'description' => 'Product code is not in international channel partner coupons deductable product list.'], ['errorCode' => 'ERROR_3072', 'errorMessage' => 'itemCodes empty, please check.', 'description' => 'ProductType is empty, please check'], ['errorCode' => 'ERROR_3101', 'errorMessage' => 'PurchaseType empty, please check .', 'description' => 'PurchaseType empty, please check .'], ['errorCode' => 'ERROR_3073', 'errorMessage' => 'amout empty, please check.', 'description' => 'Value empty, please check.'], ['errorCode' => 'ERROR_3096', 'errorMessage' => 'Coupon value is illegal.', 'description' => 'Coupon value is illegal.'], ['errorCode' => 'ERROR_3074', 'errorMessage' => 'personLimit empty, please check.', 'description' => 'LimitPerPerson empty, please check.'], ['errorCode' => 'ERROR_3095', 'errorMessage' => 'The per-person limit is illegal.', 'description' => 'The per-person limit is illegal.'], ['errorCode' => 'ERROR_3075', 'errorMessage' => 'applyReason empty, please check.', 'description' => 'ReasonForApplication empty, please check.'], ['errorCode' => 'ERROR_3092', 'errorMessage' => 'Reason for template request length over limit.', 'description' => 'Reason for template request length over limit(100 characters)'], ['errorCode' => 'ERROR_3098', 'errorMessage' => 'Coupon Remarks Information length over limit.', 'description' => 'Coupon Remarks Information length over limit(100 characters).'], ['errorCode' => 'ERROR_3093', 'errorMessage' => 'Coupon cost-bearer parameters are not legal.', 'description' => 'Coupon cost-bearer parameters are not legal'], ['errorCode' => 'ERROR_3076', 'errorMessage' => 'effDateType empty, please check.', 'description' => 'effDateType empty, please check.'], ['errorCode' => 'ERROR_3078', 'errorMessage' => 'effDateFrom empty, please check.', 'description' => 'Vailddate empty, please check.'], ['errorCode' => 'ERROR_3079', 'errorMessage' => 'effDateTo empty, please check.', 'description' => 'Expireddate empty, please check .'], ['errorCode' => 'ERROR_3099', 'errorMessage' => 'The start of the coupon\'s effective time cannot be earlier than the current time.', 'description' => 'The start of the coupon\'s effective time cannot be earlier than the current time.'], ['errorCode' => 'ERROR_3103', 'errorMessage' => 'The expiration date of the coupon\'s effective time cannot be earlier than the current time.', 'description' => 'The expiration date of the coupon\'s effective time cannot be earlier than the current time. '."\n"], ['errorCode' => 'ERROR_3084', 'errorMessage' => 'Coupon cannot be valid for more than 180 days.', 'description' => 'Coupon cannot be valid for more than 180 days'], ['errorCode' => 'ERROR_3077', 'errorMessage' => 'effDateDay empty, please check.', 'description' => 'Vaildperioddays empty, please check.'], ['errorCode' => 'ERROR_3097', 'errorMessage' => 'Time type is illegal.', 'description' => 'Time type is illegal.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create Coupon Template', 'changeSet' => [ ['createdAt' => '2024-09-11T12:09:50.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCouponTemplate'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:CreateCouponTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2103a30617045934095083027d88c5\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TemplateName\\": \\"模板名称\\",\\n \\"ApplicableProducts\\": \\"Custom\\",\\n \\"ProductType\\": [\\n \\"code1\\"\\n ],\\n \\"Value\\": \\"1\\",\\n \\"ValidUntil\\": \\"Validity Duration\\",\\n \\"Vailddate\\": \\"2024-01-01\\",\\n \\"Expireddate\\": \\"2024-01-01\\",\\n \\"Vaildperioddays\\": \\"1\\",\\n \\"CreateTime\\": \\"2024-04-02 16:15:31\\",\\n \\"CostBearer\\": \\"Partner\\",\\n \\"Status\\": \\"APPROVED\\",\\n \\"CouponTemplateID\\": 111111\\n }\\n}","type":"json"}]', ], 'CreateCustomer' => [ 'summary' => 'Registers a customer to be invited.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CustomerName', 'in' => 'query', 'schema' => ['description' => 'The customer name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DoorBell Marketing', 'title' => ''], ], [ 'name' => 'CustomerTrade', 'in' => 'query', 'schema' => ['description' => 'The customer industry name.'."\n" .'Use the Customer Trade enumeration.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0205', 'title' => ''], ], [ 'name' => 'CustomerSubTrade', 'in' => 'query', 'schema' => ['description' => 'The customer sub-industry.'."\n" .'Use the Customer Sub Trade enumeration.', 'type' => 'string', 'required' => false, 'example' => '020501', 'title' => ''], ], [ 'name' => 'CustomerSource', 'in' => 'query', 'schema' => ['description' => 'The customer source.'."\n" .'Use the Customer Source enumeration.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'website', 'title' => ''], ], [ 'name' => 'Nation', 'in' => 'query', 'schema' => ['description' => 'The region to which the customer belongs. Call ListCountries to obtain the list of available regions for the current UID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AR', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The code that indicates whether the call is successful.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The same as the Code parameter.', 'type' => 'string', 'example' => '12345', 'title' => ''], 'Data' => ['description' => 'Indicates whether the customer is created. If the value is true, the Message contains the CID.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for error tracking.', 'type' => 'string', 'example' => 'A9B725C7-3DBD-576B-AC91-F6F22AB99A77', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call is successful. Valid values:'."\n" .'- True'."\n" .'- False'."\n" ."\n" .'This does not indicate whether the subsequent business operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"12345\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"A9B725C7-3DBD-576B-AC91-F6F22AB99A77\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'Register a customer', 'requestParamsDescription' => '### Valid values of CustomerSource'."\n" .'> The following format is: field displayed on the page — input parameter value.'."\n" .'- Off-line meeting — Off_line_meeting'."\n" .'- Website — website'."\n" .'- Offline marketing event — OFFLINE_MARKETTING_EVENT'."\n" .'- International enterprise — intl_enterprise'."\n" .'- Internal transfer — Internal_transfer'."\n" .'- External channel — External_channel'."\n" .'- Cold visit — Mobai'."\n" .'- Referral from existing customer — Old_client_to_introduce'."\n" .'- Other — Other'."\n" .'- Customer allocation — ALLOCATE'."\n" .'- Potential customer recommendation — PotentialRecommend.'."\n" ."\n" .'### Valid values of Customer Trade'."\n" .'> The following four-digit input parameter codes are parent codes. Example: parent code = 0603 (four digits).'."\n" .'If both customer sub trade and customer trade are specified, customer trade must be equal to the parent code of sub trade.'."\n" .'- Retail and wholesale — 0101'."\n" .'- E-commerce — 0102'."\n" .'- Logistics and warehousing — 0103'."\n" .'- Travel, culture, sports, and entertainment — 0104'."\n" .'- Apparel, footwear, stationery, and sporting goods — 0105'."\n" .'- Home appliances — 0106'."\n" .'- Food, beverages, and tobacco — 0107'."\n" .'- Agriculture — 0201'."\n" .'- Steel manufacturing — 0202'."\n" .'- Equipment manufacturing — 0203'."\n" .'- General industrial manufacturing — 0204'."\n" .'- Automobiles, auto parts, and services — 0205'."\n" .'- Real estate and construction — 0206'."\n" .'- Banking — 0301'."\n" .'- Insurance — 0302'."\n" .'- Securities and capital markets — 0303'."\n" .'- Financial services — 0304'."\n" .'- Telecommunications and carriers — 0401'."\n" .'- Media — 0402'."\n" .'- Computer hardware — 0403'."\n" .'- Computer software and services — 0404'."\n" .'- Internet gaming — 0405'."\n" .'- Internet services — 0406'."\n" .'- IoT technology and services — 0407'."\n" .'- Smart consumer products — 0408'."\n" .'- Artificial intelligence — 0409'."\n" .'- Power grid — 0501'."\n" .'- Oil and petrochemicals — 0502'."\n" .'- Non-renewable resources — 0503'."\n" .'- New energy and renewable energy — 0504'."\n" .'- Chemical industry — 0505'."\n" .'- Government — 0601'."\n" .'- Civil-military integration — 0602'."\n" .'- Healthcare — 0603'."\n" .'- Education and research institutions — 0604'."\n" .'- Transportation — 0605'."\n" .'- Public services — 0606.'."\n" ."\n" .'### Valid values of customer sub trade'."\n" ."\n" .'> The customer sub trade code is a six-digit code (for example, 060304), and the parent code is a four-digit code (for example, 0603).'."\n" .'If both sub trade and customer trade are specified, customer trade must be equal to the parent code of sub trade.'."\n" ."\n" .'- Media - Internet media — 040201 — 0402'."\n" .'- Media - Broadcasting and media — 040202 — 0402'."\n" .'- Automobiles, auto parts, and services - Vehicle manufacturing — 020501 — 0205'."\n" .'- Automobiles, auto parts, and services - Auto parts manufacturing — 020502 — 0205'."\n" .'- Automobiles, auto parts, and services - Connected vehicles and auto services — 020503 — 0205'."\n" .'- Government - Public security, procuratorate, and court — 060101 — 0601'."\n" .'- Government - Taxation — 060102 — 0601'."\n" .'- Government - Customs — 060103 — 0601'."\n" .'- Government - Local government — 060104 — 0601'."\n" .'- Government - Other government agencies — 060105 — 0601'."\n" .'- Steel manufacturing - Steel mining — 020201 — 0202'."\n" .'- Steel manufacturing - Steel production — 020202 — 0202'."\n" .'- Travel, culture, sports, and entertainment - Travel services — 010401 — 0104'."\n" .'- Travel, culture, sports, and entertainment - Accommodation and catering — 010402 — 0104'."\n" .'- Travel, culture, sports, and entertainment - Culture, sports, and entertainment — 010403 — 0104'."\n" .'- Telecommunications and carriers - Telecommunications equipment — 040101 — 0401'."\n" .'- Telecommunications and carriers - Carriers — 040102 — 0401'."\n" .'- Telecommunications and carriers - Telecommunications services — 040103 — 0401'."\n" .'- Internet services - Social networking — 040601 — 0406'."\n" .'- Internet services - Internet marketing — 040602 — 0406'."\n" .'- Internet services - Internet platforms — 040603 — 0406'."\n" .'- Internet services - Internet information services — 040604 — 0406'."\n" .'- Education and research institutions - Online education — 060401 — 0604'."\n" .'- Education and research institutions - Training and educational institutions — 060402 — 0604'."\n" .'- Education and research institutions - Research institutions — 060403 — 0604'."\n" .'- Transportation - Railway transportation — 060501 — 0605'."\n" .'- Transportation - Road transportation — 060502 — 0605'."\n" .'- Transportation - Water transportation — 060503 — 0605'."\n" .'- Transportation - Air transportation — 060504 — 0605'."\n" .'- Transportation - Other transportation — 060505 — 0605'."\n" .'- Food, beverages, and tobacco - Food manufacturing — 010701 — 0107'."\n" .'- Food, beverages, and tobacco - Alcoholic beverages, drinks, and refined tea manufacturing — 010702 — 0107'."\n" .'- Food, beverages, and tobacco - Tobacco products — 010703 — 0107'."\n" .'- Non-renewable resources - Non-renewable energy extraction — 050301 — 0503'."\n" .'- Non-renewable resources - Non-renewable energy production and supply — 050302 — 0503'."\n" .'- Healthcare - Medical services — 060301 — 0603'."\n" .'- Healthcare - Health services — 060302 — 0603'."\n" .'- Healthcare - Medical and health equipment — 060303 — 0603'."\n" .'- Healthcare - Genetic engineering — 060304 — 0603'."\n" .'- Healthcare - Pharmaceuticals and biotechnology — 060305 — 0603.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomer'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'agency:CreateCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CustomerQuotaRecordList' => [ 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'EndUserPk', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5113766248601929'], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-01-02'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-09-24'], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The operation type. Valid values:'."\n" .'- all: all types'."\n" .'- quota_create: creation'."\n" .'- quota_amount_adjust: quota amount adjustment.', 'type' => 'string', 'required' => true, 'example' => 'all'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of records per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The current page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Default value: en. Valid values:'."\n" .'- en: English'."\n" .'- zh: Chinese'."\n" .'- ja: Japanese.', 'type' => 'string', 'required' => false, 'example' => 'en'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Total' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'Data' => [ 'description' => 'The list of returned results.', 'type' => 'array', 'items' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'OperationSubmitType' => ['title' => '', 'description' => 'The method by which the operation was submitted. Valid values: API and ACPN.', 'type' => 'string', 'example' => 'ACPN'], 'OperationTime' => ['title' => '', 'description' => 'The time when the operation was performed.', 'type' => 'string', 'example' => '2023-12-15 10:34:36 UTC+8'], 'OperationTypeDesc' => ['title' => '', 'description' => 'The description of the change type.', 'type' => 'string', 'example' => 'Quota Adjustment'], 'OperationUid' => ['title' => '', 'description' => 'The UID of the operator.', 'type' => 'string', 'example' => '5113766248601929'], 'UpdateAfterAmount' => ['title' => '', 'description' => 'The amount after the change.', 'type' => 'string', 'example' => '121.00'], 'UpdateAmount' => ['title' => '', 'description' => 'The change amount.', 'type' => 'string', 'example' => '-100.00'], 'UpdateBeforeAmount' => ['title' => '', 'description' => 'The amount before the change.', 'type' => 'string', 'example' => '221.00'], 'OperationTypeCode' => ['title' => '', 'description' => 'The code of the change type. Valid values:'."\n" .'- all: all types'."\n" .'- quota_create: creation'."\n" .'- quota_amount_adjust: quota amount adjustment.', 'type' => 'string', 'example' => 'quota_amount_adjust'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2103a0ae16849855284594613d874e'], 'Msg' => ['title' => '', 'description' => 'The description of the returned result.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'The status code of the returned result. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query quota adjustment records of a distributor customer', 'summary' => 'Queries the quota adjustment records of a distributor customer on the China site (Chinese mainland). This operation is available only for China site users.', 'description' => 'The caller must be an Alibaba Cloud channel master distributor partner or an Alibaba Cloud channel distributor partner.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CustomerQuotaRecordList'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:CustomerQuotaRecordList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Data\\": [\\n {\\n \\"OperationSubmitType\\": \\"ACPN\\",\\n \\"OperationTime\\": \\"2023-12-15 10:34:36 UTC+8\\",\\n \\"OperationTypeDesc\\": \\"Quota Adjustment\\",\\n \\"OperationUid\\": \\"5113766248601929\\",\\n \\"UpdateAfterAmount\\": \\"121.00\\",\\n \\"UpdateAmount\\": \\"-100.00\\",\\n \\"UpdateBeforeAmount\\": \\"221.00\\",\\n \\"OperationTypeCode\\": \\"quota_amount_adjust\\"\\n }\\n ],\\n \\"RequestId\\": \\"2103a0ae16849855284594613d874e\\",\\n \\"Msg\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', ], 'DeductOutstandingBalance' => [ 'summary' => 'Reduces the deducted credit of a reseller\'s customer. For example, if the current deducted credit is 500 and the available credit is 1000, a reduction of 300 changes the deducted credit to 200 and the available credit to 1300.'."\n" .'Note: Sometimes the used credit of a customer may be negative. This indicates that no recovery of the used credit is needed. Wait for the customer to consume the credit. This occurs when a refund is issued while the customer\'s credit is fully used. As a result, the customer\'s credit increases beyond the original limit.'."\n" .'For example, if the current maximum available credit of a customer is 1000 with no usage, and a refund of 300 occurs, the used credit becomes -300.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the reseller\'s customer account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1133166938931507', 'title' => ''], ], [ 'name' => 'DeductAmount', 'in' => 'query', 'schema' => ['description' => 'The amount of deducted credit to reduce.', 'type' => 'string', 'required' => true, 'example' => '300', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'200: OK.'."\n" .'1109: System error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message. The value is the same as the Code parameter value.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call itself is successful. Valid values: True and False. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. A unique identifier that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'This uid is not your EU.', 'description' => 'This user is not your distribution customer'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Reduce deducted credit', 'changeSet' => [ ['createdAt' => '2025-01-09T02:09:28.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeductOutstandingBalance'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:DeductOutstandingBalance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', ], 'DeleteCouponTemplate' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The coupon template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '6558410265670417297', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A747A00F-E096-5244-88B3-3E474BAE3AE4'], 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The result message.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => ['description' => 'The operation result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Success' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_1003', 'errorMessage' => 'No permission to operate the object.', 'description' => 'No permission to operate the object.'], ['errorCode' => 'ERROR_2311', 'errorMessage' => 'Coupon template does not exist.', 'description' => 'Coupon template does not exist'], ['errorCode' => 'ERROR_201', 'errorMessage' => 'Parameters are illegal and required fields are empty.', 'description' => 'Parameters are illegal and required fields are empty.'], ['errorCode' => 'ERROR_2310', 'errorMessage' => 'The template has a coupon that is being approved so the template cannot be canceled.', 'description' => 'The template has a coupon that is being approved so the template cannot be canceled'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Invalidate a coupon template', 'summary' => 'Invalidates a coupon template.', 'description' => 'Make sure that the current caller is a distribution partner. '."\n" .'Available only on the China site..', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCouponTemplate'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:DeleteCouponTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A747A00F-E096-5244-88B3-3E474BAE3AE4\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Data\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', ], 'EditEndUserStatus' => [ 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer to be processed.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1792155717328010'], ], [ 'name' => 'CreditStatus', 'in' => 'query', 'schema' => ['title' => '', 'description' => '### Shutdown status'."\n" ."\n" .'- postPayFreeze: pay-as-you-go resource suspension'."\n" .'- postPayThaw: pay-as-you-go resource resumption.', 'type' => 'string', 'required' => false, 'example' => 'postPayFreeze'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'result', 'type' => 'object', 'properties' => [ 'Msg' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Data' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'string', 'example' => 'true'], 'Code' => ['title' => '', 'description' => 'The status code.', 'type' => 'string', 'example' => '200'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'The current customer does not belong to this partner.', 'description' => 'Current customer does not belong to this partner'], ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Set the shutdown status of a customer instance', 'summary' => 'Manages the shutdown status of pay-as-you-go instances for resold subordinate customers by Alibaba Cloud international channel master distributor partners and Alibaba Cloud international channel distributor partners.', 'description' => 'The caller must be an Alibaba Cloud international channel master distributor partner or an Alibaba Cloud international channel distributor partner.'."\n" ."\n" .'**This content is published only on the China site (Chinese).**.', 'changeSet' => [ ['createdAt' => '2025-01-09T03:55:15.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditEndUserStatus'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditEndUserStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Msg\\": \\"success\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', ], 'EditNewBuyStatus' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1133166938931507'], ], [ 'name' => 'NewBuyStatus', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The new purchase status. Valid values:'."\n" ."\n" .'- cancelBan: allows new purchases'."\n" .'- ban: prohibits new purchases.', 'type' => 'string', 'required' => false, 'example' => 'cancelBan'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'result', 'type' => 'object', 'properties' => [ 'Msg' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => 'success'], 'Message' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Data' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'string', 'example' => 'true'], 'Code' => ['title' => '', 'description' => 'The status code.', 'type' => 'string', 'example' => '200'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'The current customer does not belong to this partner.', 'description' => 'Current customer does not belong to this partner'], ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify customer new purchase status', 'summary' => 'Sets the new purchase status of a subordinate reseller customer for an Alibaba Cloud reseller partner.', 'description' => 'The caller must be an Alibaba Cloud reseller partner.'."\n" ."\n" .'**This content is published only on the China site.**.', 'changeSet' => [ ['createdAt' => '2025-01-09T03:55:15.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditNewBuyStatus'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditNewBuyStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Msg\\": \\"success\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', ], 'EditZeroCreditShutdown' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the distributor customer whose shutdown policy you want to modify.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1263644979775567'], ], [ 'name' => 'ShutdownPolicy', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => '### **Shutdown policy**'."\n" .'For more information, refer to the official documentation: https://www.alibabacloud.com/help/zh/channel-platform/latest/shutdowndelayprivilege'."\n" ."\n" .'- **immediatelyStop**——When the active credit of the distributor customer account is less than 0, the account enters the overdue payment state. New resources cannot be purchased. Pay-as-you-go instances are stopped and no longer incur charges. Upfront instances can be used until they expire. After the instances remain stopped for 15 days, pay-as-you-go instances are released. Because of billing delays, credits may continue to be deducted even after instances are successfully stopped.'."\n" .'- **delayStop**——The overdraft quota in the delayed shutdown policy is calculated by Alibaba Cloud based on the historical consumption of the account. The minimum overdraft quota is 600 USD, and instances can continue to run for approximately 15 days after the overdue payment occurs. The overdraft quota applies to pay-as-you-go products. After this policy is enabled, when the customer has an overdue payment (active credit < 0) and the overdue amount is within the overdraft quota, instance shutdown is not triggered. The overdraft quota is not the upper limit of the overdue amount. Because of billing delays, credits may continue to be deducted even after instances are successfully stopped. After the instances remain stopped for 15 days, pay-as-you-go instances are released. When the delayed shutdown quota <= remaining credit < 0, you can manually trigger an immediate shutdown.'."\n" .'- **noStop**——If you select this option, instances are not stopped when the customer has an overdue payment. When the customer has an overdue payment (remaining credit < 0), instance shutdown is not triggered. There is no upper limit on the overdue amount. You must perform a manual operation of "Immediate Shutdown" in ACPN to change the instance status. Use this option with caution.', 'enumValueTitles' => ['immediatelyStop' => 'immediatelyStop', 'noStop' => 'noStop', 'delayStop' => 'delayStop'], 'type' => 'string', 'required' => false, 'example' => 'noStop', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'result', 'type' => 'object', 'properties' => [ 'Msg' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => 'SUCCESS'], 'Message' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Data' => ['title' => '', 'description' => 'Indicates whether the operation is successful.', 'type' => 'string', 'example' => 'true'], 'Code' => ['title' => '', 'description' => 'The status code.', 'type' => 'string', 'example' => '200'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'The current customer does not belong to this partner.', 'description' => 'Current customer does not belong to this partner'], ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Modify customer shutdown policy', 'summary' => 'Modifies the shutdown policy of a subordinate customer by an Alibaba Cloud distributor partner or reseller partner.', 'description' => 'The caller must be an Alibaba Cloud international channel distributor partner or an Alibaba Cloud international channel reseller partner.'."\n" ."\n" .'**This content is published only on the Chinese site.**.', 'changeSet' => [ ['createdAt' => '2025-01-09T03:55:15.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditZeroCreditShutdown'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditZeroCreditShutdown', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Msg\\": \\"SUCCESS\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', ], 'ExportCustomerQuotaRecord' => [ 'summary' => 'Exports the quota adjustment records of a distributor\'s customer, corresponding to the total budget adjustment details export feature on ACPN.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'EndUserPk', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5113766248601929'], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-11-10'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-12-24'], ], [ 'name' => 'OperationType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The operation type. Valid values:'."\n" .'- all: All operations.'."\n" .'- quota_create: Creation.'."\n" .'- quota_amount_adjust: Quota amount adjustment.', 'type' => 'string', 'required' => true, 'example' => 'all'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Default value: en. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'required' => false, 'example' => 'en'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '210bc4b416874189683843905d9f9a'], 'Msg' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'code', 'type' => 'string', 'example' => '200'], 'Data' => [ 'title' => '', 'description' => 'The data.', 'type' => 'object', 'properties' => [ 'Id' => ['title' => '', 'description' => 'The ID of the export task.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231'], 'Cost' => ['title' => '', 'description' => 'The estimated time required, in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Export distributor customer quota records', 'description' => 'The caller must be an Alibaba Cloud international site channel master distributor partner or an Alibaba Cloud international site channel distributor partner.', 'changeSet' => [ ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportCustomerQuotaRecord'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ExportCustomerQuotaRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"210bc4b416874189683843905d9f9a\\",\\n \\"Msg\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"Id\\": 1231,\\n \\"Cost\\": 1\\n }\\n}","type":"json"}]', ], 'ExportReversedDeductionHistory' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ExportUid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID for which the reversed deduction details are exported.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-05-01'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language of the exported content. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'example' => 'en', 'default' => 'en', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'asfasd123'], 'Message' => ['title' => '', 'description' => 'The description of the response.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'The status code of the response. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], 'Data' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'Id' => ['title' => '', 'description' => 'The ID of the export task.', 'type' => 'integer', 'format' => 'int64', 'example' => '2131'], 'Cost' => ['title' => '', 'description' => 'The estimated duration, in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Export reversed deduction details', 'summary' => 'Exports the reversed deduction details from ACPN.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ExportReversedDeductionHistory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"asfasd123\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"Id\\": 2131,\\n \\"Cost\\": 1\\n }\\n}","type":"json"}]', ], 'GetAccountInfo' => [ 'summary' => 'Returns the account information of distributor customers.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the distributor customer account. Either this parameter or the UserType parameter is required. If this parameter is left empty, all distributor customer accounts of the specified UserType are queried.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1215848086704806', 'title' => ''], ], [ 'name' => 'UserType', 'in' => 'query', 'schema' => ['description' => 'The type of the distributor customer account. Valid values:'."\n" .'- 1: End User'."\n" .'- 2: enterprise customer '."\n" .'- 3: T2 partner.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Maximum value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '20', 'minimum' => '1', 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK'."\n" .'- 1109: System Error'."\n" .'- 3029: Invalid UID'."\n" .'- 3062: Uid and UserType are both empty'."\n" .'- 3063: UserType value out of range.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'message', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call is successful. Valid values: True and False. This does not indicate whether subsequent business operations are successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageInfo' => [ 'description' => 'The pagination information.', 'type' => 'object', 'properties' => [ 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'Page' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'AccountInfoList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'AccountInfo' => [ 'description' => 'The list of account information.', 'type' => 'array', 'items' => [ 'description' => 'The account information.', 'type' => 'object', 'properties' => [ 'SubAccountType' => ['description' => 'The account type. Valid values:'."\n" .'- 1: end customer of Agency'."\n" .'- 2: end customer of Reseller'."\n" .'- 3: enterprise customer'."\n" .'- 4: Agency-type T2 partner'."\n" .'- 5: Reseller-type T2 partner'."\n" .'- 6: Agency+Reseller-type T2 partner.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'AssociationSuccessTime' => ['description' => 'The time when the distributor customer account was associated with the partner account to establish the distributor relationship.', 'type' => 'string', 'example' => '2021-01-01', 'title' => ''], 'AccountNickname' => ['description' => 'The nickname of the distributor customer account. For enterprise customers, this is the company name. For T2 partners, this is the partner name.', 'type' => 'string', 'example' => 'XXX技术有限公司', 'title' => ''], 'Email' => ['description' => 'The email address of the distributor customer account.', 'type' => 'string', 'example' => '1234@qq.com'."\n", 'title' => ''], 'Remark' => ['description' => 'The description of the distributor customer account.', 'type' => 'string', 'example' => '子账号', 'title' => ''], 'Mobile' => ['description' => 'The mobile phone number of the distributor customer account.', 'type' => 'string', 'example' => '13641588680', 'title' => ''], 'AliyunId' => ['description' => 'The Alibaba Cloud logon name of the distributor customer account.', 'type' => 'string', 'example' => '1234@qq.com', 'title' => ''], 'Uid' => ['description' => 'The UID of the distributor customer account.', 'type' => 'integer', 'format' => 'int64', 'example' => '1415740779475837', 'title' => ''], 'Cid' => ['description' => 'The CID of the distributor customer.', 'type' => 'integer', 'format' => 'int64', 'example' => '61479572', 'title' => ''], 'DelayStatus' => ['title' => '', 'description' => 'The suspension policy. Valid values:'."\n" .'- immediatelyStop: immediately suspends the account.'."\n" .'- delayStop: suspends the account after a delay. The overdraft quota is specified by the DelayAmount field.'."\n" .'- noStop: does not suspend the account.', 'type' => 'string', 'example' => 'immediatelyStop'], 'DelayAmount' => ['title' => '', 'description' => 'The overdraft quota when the suspension policy is set to delayStop (delayed suspension).', 'type' => 'string', 'example' => '600'], 'CustomerBd' => ['title' => '', 'description' => 'The business development manager of the customer.', 'type' => 'string', 'example' => '张三'], 'NewBuyStatus' => ['title' => '', 'description' => 'The purchase status. Valid values:'."\n" .'- Purchase Forbidden: purchasing is prohibited.'."\n" .'- Normal: purchasing is allowed.', 'type' => 'string', 'example' => 'Normal'], 'CustomerAccountType' => ['title' => '', 'description' => 'The account type of the customer. Valid values:'."\n" .'- 0: individual'."\n" .'- 1: enterprise.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'CustomerEnterpriseCertified' => ['title' => '', 'description' => 'Indicates whether the customer has completed enterprise real-name verification. Valid values:'."\n" .'- 0: no'."\n" .'- 1: yes.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RegisterCountryCode' => ['title' => '', 'description' => 'The country code of the customer registration country/region.', 'type' => 'string', 'example' => 'CN'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates a unique identifier for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"PageInfo\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 12,\\n \\"Page\\": 1\\n },\\n \\"AccountInfoList\\": {\\n \\"AccountInfo\\": [\\n {\\n \\"SubAccountType\\": 1,\\n \\"AssociationSuccessTime\\": \\"2021-01-01\\",\\n \\"AccountNickname\\": \\"XXX技术有限公司\\",\\n \\"Email\\": \\"1234@qq.com\\\\n\\",\\n \\"Remark\\": \\"子账号\\",\\n \\"Mobile\\": \\"13641588680\\",\\n \\"AliyunId\\": \\"1234@qq.com\\",\\n \\"Uid\\": 1415740779475837,\\n \\"Cid\\": 61479572,\\n \\"DelayStatus\\": \\"immediatelyStop\\",\\n \\"DelayAmount\\": \\"600\\",\\n \\"CustomerBd\\": \\"张三\\",\\n \\"NewBuyStatus\\": \\"Normal\\",\\n \\"CustomerAccountType\\": 1,\\n \\"CustomerEnterpriseCertified\\": 1,\\n \\"RegisterCountryCode\\": \\"CN\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Query distributor customer information', 'changeSet' => [ ['createdAt' => '2024-11-05T01:47:08.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2024-04-18T06:55:28.000Z', 'description' => 'Response parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetAccountInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountInfo'], ], ], ], 'GetCommissionableProducts' => [ 'summary' => 'Provides T1-tier international distribution partners with a list of all commission-eligible commodities that are in the "Active" or "Delisted" status. This operation is available only for international users and cannot be called on the China site.', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The current page number for pagination. The value starts from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of records per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ListShowStatusList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => 'The list of display statuses for commission commodities.', 'type' => 'array', 'items' => [ 'description' => 'The display status of a commission commodity.', 'enumValueTitles' => ['PRE_ONLINE' => '待生效', 'OFF_ONLINE' => '已失效', 'ONLINE' => '生效中', 'OFFLINE' => '已下架'], 'type' => 'string', 'required' => false, 'example' => '["ONLINE","OFFLINE"]', 'title' => '', ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'CommodityCodeList', 'in' => 'query', 'schema' => ['description' => 'The commodity codes. Separate multiple codes with commas (,).', 'type' => 'string', 'required' => false, 'example' => '"oceanbase_obpre_public_intl,savingplan_common_public_intl"', 'title' => ''], ], [ 'name' => 'PipCodeList', 'in' => 'query', 'schema' => ['description' => 'The product codes. Separate multiple codes with commas (,).', 'type' => 'string', 'required' => false, 'example' => '"oceanbase"', 'title' => ''], ], [ 'name' => 'RealStartMonth', 'in' => 'query', 'schema' => ['description' => 'The actual start month in the format of "yyyymm".', 'type' => 'string', 'required' => false, 'example' => '“202502”', 'title' => ''], ], [ 'name' => 'RealEndMonth', 'in' => 'query', 'schema' => ['description' => 'The actual end month in the format of "yyyymm".', 'type' => 'string', 'required' => false, 'example' => '“202509”', 'title' => ''], ], [ 'name' => 'FiscalYear', 'in' => 'query', 'schema' => ['description' => 'The fiscal year. If this parameter is left empty, the current fiscal year is used by default.', 'type' => 'string', 'required' => false, 'example' => '“FY26”', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'PageNo' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of records on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Data' => [ 'description' => 'The list of returned data.', 'type' => 'array', 'items' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'CommodityCode' => ['description' => 'The commodity code.', 'type' => 'string', 'example' => '“oceanbase_obpre_public_intl”', 'title' => ''], 'CommodityName' => ['description' => 'The commodity name.', 'type' => 'string', 'example' => '“ApsaraDB for OceanBase Pre”', 'title' => ''], 'ProductCode' => ['description' => 'The product code.', 'type' => 'string', 'example' => '“oceanbase”', 'title' => ''], 'ProductName' => ['description' => 'The product name.', 'type' => 'string', 'example' => '“ApsaraDB for OceanBase”', 'title' => ''], 'Status' => ['description' => 'The display status of the product.', 'type' => 'string', 'example' => '“ONLINE”', 'title' => ''], 'ActualStartMonth' => ['description' => 'The actual start month in the format of "yyyymm".', 'type' => 'string', 'example' => '“202502”', 'title' => ''], 'EndMonth' => ['description' => 'The actual end month in the format of "yyyymm".', 'type' => 'string', 'example' => '“202509”', 'title' => ''], 'EligibleForCommission' => ['description' => 'Indicates whether the commodity is eligible for commission.', 'type' => 'string', 'example' => 'Yes', 'title' => ''], 'EligibleForDiscount' => ['description' => 'Indicates whether the commodity is eligible for discount.', 'type' => 'string', 'example' => 'Yes', 'title' => ''], 'SevenCoreProducts' => ['description' => 'Indicates whether the commodity is a core product.', 'type' => 'string', 'example' => 'Yes', 'title' => ''], 'ProductCampaign' => ['description' => 'Indicates whether the commodity is a product line incentive commodity.', 'type' => 'string', 'example' => 'Yes', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2103a30617045934095083027d88c5', 'title' => ''], 'Code' => ['description' => 'The status code of the response. A value of 200 indicates success.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Valid values: True and False. Indicates whether the current API call is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query commission commodity list', 'description' => 'Make sure that the current caller account is a distribution partner. '."\n" .'Available only for international users..', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCommissionableProducts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Data\\": [\\n {\\n \\"CommodityCode\\": \\"“oceanbase_obpre_public_intl”\\",\\n \\"CommodityName\\": \\"“ApsaraDB for OceanBase Pre”\\",\\n \\"ProductCode\\": \\"“oceanbase”\\",\\n \\"ProductName\\": \\"“ApsaraDB for OceanBase”\\",\\n \\"Status\\": \\"“ONLINE”\\",\\n \\"ActualStartMonth\\": \\"“202502”\\",\\n \\"EndMonth\\": \\"“202509”\\",\\n \\"EligibleForCommission\\": \\"Yes\\",\\n \\"EligibleForDiscount\\": \\"Yes\\",\\n \\"SevenCoreProducts\\": \\"Yes\\",\\n \\"ProductCampaign\\": \\"Yes\\"\\n }\\n ],\\n \\"RequestId\\": \\"2103a30617045934095083027d88c5\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetCouponTemplateDetail' => [ 'summary' => 'Query Coupon Template Details', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['description' => 'The coupon template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5093156', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Data' => [ 'description' => 'The operation result.', 'type' => 'object', 'properties' => [ 'TemplateId' => ['description' => 'The template ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1576', 'title' => ''], 'TemplateName' => ['description' => 'The coupon template name.', 'type' => 'string', 'example' => '模板名称', 'title' => ''], 'CreatedTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2024-11-21 18:18:22', 'title' => ''], 'ReasonForApplication' => ['description' => 'The reason for template application.', 'type' => 'string', 'example' => '测试的', 'title' => ''], 'CostBearer' => ['description' => 'The coupon cost bearer.'."\n" .'● cost_by_self: Borne by the partner.'."\n" .'● aliyun_poc: Borne by Alibaba Cloud.', 'type' => 'string', 'example' => 'aliyun_poc', 'title' => ''], 'ApplicableProducts' => ['description' => 'The applicable products.'."\n" ."\n" .'- UNIVERSAL: All products.'."\n" ."\n" .'- Specific product code.', 'type' => 'string', 'example' => 'UNIVERSAL', 'title' => ''], 'LimitPerPerson' => ['description' => 'The limit of coupons per person.'."\n" ."\n" .'- 1: Limited to one coupon.'."\n" ."\n" .'- 0: Unlimited.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Denomination' => ['description' => 'The denomination.', 'type' => 'number', 'format' => 'double', 'example' => '100', 'title' => ''], 'ValidUntilType' => ['description' => 'The validity period type.'."\n" ."\n" .'- 0: Relative time.'."\n" .'- 1: Absolute time.', 'type' => 'string', 'example' => '0', 'title' => ''], 'ValidUntil' => ['description' => 'The validity period, used in conjunction with the validity type.'."\n" ."\n" .'- If the validity type is relative time, the validity period indicates the number of valid days.'."\n" ."\n" .'- If the validity type is absolute time, the validity period indicates a time range.', 'type' => 'string', 'example' => '100', 'title' => ''], 'PurchaseType' => ['description' => 'The order type.'."\n" .'- ALL: Alibaba Cloud subscription.'."\n" .'- BILLING: Alibaba Cloud pay-as-you-go billing.', 'type' => 'string', 'example' => 'ALL,BILLING', 'title' => ''], 'CouponDescription' => ['description' => 'The coupon remarks.', 'type' => 'string', 'example' => '测试的', 'title' => ''], 'Status' => ['description' => 'The status.'."\n" ."\n" .'- APPROVED: Approved.'."\n" .'- ABANDONED: Abandoned.', 'type' => 'string', 'example' => 'APPROVED', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_201', 'errorMessage' => 'Parameters are illegal and required fields are empty.', 'description' => 'Parameters are illegal and required fields are empty.'], ['errorCode' => 'ERROR_1002', 'errorMessage' => 'No query permission.', 'description' => 'No query permission'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query Coupon Template Details', 'description' => 'Ensure that the current calling account is a distribution partner.'."\n" .'Available only for international use.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCouponTemplateDetail'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCouponTemplateDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"TemplateId\\": 1576,\\n \\"TemplateName\\": \\"模板名称\\",\\n \\"CreatedTime\\": \\"2024-11-21 18:18:22\\",\\n \\"ReasonForApplication\\": \\"测试的\\",\\n \\"CostBearer\\": \\"aliyun_poc\\",\\n \\"ApplicableProducts\\": \\"UNIVERSAL\\",\\n \\"LimitPerPerson\\": 1,\\n \\"Denomination\\": 100,\\n \\"ValidUntilType\\": \\"0\\",\\n \\"ValidUntil\\": \\"100\\",\\n \\"PurchaseType\\": \\"ALL,BILLING\\",\\n \\"CouponDescription\\": \\"测试的\\",\\n \\"Status\\": \\"APPROVED\\"\\n },\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetCoupondeductProductCode' => [ 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'AcceptLanguage', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Multi-language parameter. '."\n" .'Default value: none.'."\n" .' Chinese: zh-CN'."\n" .' English: en-US.', 'type' => 'string', 'required' => true, 'example' => 'zh-CN'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '210e876f16704666020714468dab35'], 'Message' => ['description' => 'The message information.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the call is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The result code. Valid values:'."\n" .'200: OK.', 'type' => 'string', 'example' => 'code', 'title' => ''], 'Data' => [ 'description' => 'The data.', 'type' => 'array', 'items' => [ 'description' => 'The data.', 'type' => 'object', 'properties' => [ 'ProductType' => ['description' => 'The product code.', 'type' => 'any', 'example' => 'code1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_3100', 'errorMessage' => 'System exceptions, please submit a work order.', 'description' => 'System exceptions, please submit a work order.'], ['errorCode' => 'ERROR_3210', 'errorMessage' => 'The current calling UID is not an international channel partner.', 'description' => 'The current calling UID is not an international channel partner'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'Query products eligible for international channel distribution coupon offset', 'summary' => 'Queries the products that can be offset by international channel distribution coupons.', 'changeSet' => [ ['createdAt' => '2024-09-26T04:14:18.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCoupondeductProductCode'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCoupondeductProductCode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"210e876f16704666020714468dab35\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"code\\",\\n \\"Data\\": [\\n {\\n \\"ProductType\\": \\"code1\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GetCreditInfo' => [ 'summary' => 'Queries the credit control information of a distributor customer. If the distributor customer is of the Agency type, the PopCreditInfoJson parameter in the response is empty. This feature is available only for Reseller and Distributor.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the sub-account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1792155717328010', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message information.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call is successful. Valid values:'."\n" .'- True: Successful.'."\n" .'- False: Failed.'."\n" ."\n" .'This does not indicate whether the subsequent business operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'OutstandingBalance' => ['description' => 'The credit amount consumed by the sub-account that has not yet been paid.', 'type' => 'string', 'example' => '200', 'title' => ''], 'CreditLine' => ['description' => 'The credit limit of the sub-account.', 'type' => 'string', 'example' => '1000', 'title' => ''], 'AccountStatus' => ['description' => 'The credit control status of the sub-account. Valid values:'."\n" .'1. normal: Normal.'."\n" .'2. arrearsNotShutdown: The account has an overdue payment but is not shut down.'."\n" .'3. shutdown: Shut down.', 'type' => 'string', 'example' => 'normal', 'title' => ''], 'AvailableCredit' => ['description' => 'The available credit.', 'type' => 'string', 'example' => '800', 'title' => ''], 'AlarmThreshold' => ['description' => 'The percentage value. When the available credit drops below this percentage of the credit limit, an email notification is sent to the main account.', 'type' => 'string', 'example' => '20', 'title' => ''], 'ZeroCreditShutdownPolicy' => ['description' => 'The policy that the system uses to manage resources when the active credit is 0 or less. Valid values:'."\n" ."\n" .'1: delayStop. Alibaba Cloud takes over the resources. Instances are shut down after the credit is exhausted with a delay epoch. If payment is not made within 15 days, storage resources are released.'."\n" ."\n" .'2: noStop. The system does not manage the resource lifecycle of the non-trusteeship linked account. The partner must manage it manually.'."\n" ."\n" .'3: immediatelyStop. Instances are shut down immediately when the account enters the overdue payment state, which triggers instance shutdown.', 'type' => 'string', 'example' => 'delayStop', 'title' => ''], 'newBuyStatus' => ['description' => 'The status that manages the purchase actions of the customer. Valid values:'."\n" ."\n" .'- ban: New purchases are prohibited.'."\n" .'- cancelBan: Normal status.', 'type' => 'string', 'example' => 'ban', 'title' => ''], 'ConsumedUndeductedValue' => ['title' => '', 'description' => 'The total outstanding amount of virtual bills before simulated deduction.', 'type' => 'string', 'example' => '0.000000'], 'PAYGFreezeStatus' => ['description' => 'The freeze status of pay-as-you-go. Valid values:'."\n" .'- freeze: Frozen.'."\n" .'- normal: Normal.', 'type' => 'string', 'example' => 'normal', 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for error tracking.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"OutstandingBalance\\": \\"200\\",\\n \\"CreditLine\\": \\"1000\\",\\n \\"AccountStatus\\": \\"normal\\",\\n \\"AvailableCredit\\": \\"800\\",\\n \\"AlarmThreshold\\": \\"20\\",\\n \\"ZeroCreditShutdownPolicy\\": \\"delayStop\\",\\n \\"newBuyStatus\\": \\"ban\\",\\n \\"ConsumedUndeductedValue\\": \\"0.000000\\",\\n \\"PAYGFreezeStatus\\": \\"normal\\"\\n },\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Query budget status information of a distributor customer', 'changeSet' => [ ['createdAt' => '2023-12-22T03:27:29.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCreditInfo'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCreditInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetCustomerOrders' => [ 'summary' => 'Queries customer orders on the China site (Chinese mainland). This operation can be called only on the Chinese mainland site.', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OrderId', 'in' => 'query', 'schema' => ['description' => 'The order ID. This parameter is optional.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '209335720330622', 'title' => ''], ], [ 'name' => 'CustomerAccount', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The customer account.', 'type' => 'string', 'required' => false, 'example' => 'test_123'], ], [ 'name' => 'CustomerUid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The customer UID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123456'], ], [ 'name' => 'OrderType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The order type. Valid values:'."\n" .'- BUY: new purchase.'."\n" .'- UPGRADE: upgrade.'."\n" .'- DOWNGRADE: downgrade.'."\n" .'- RENEW: renewal.'."\n" .'- REFUND: refund.'."\n" .'- OTHERS: other.', 'enumValueTitles' => [], 'type' => 'string', 'required' => false, 'example' => 'RENEW', ], ], [ 'name' => 'OrderStatus', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The order status. Valid values:'."\n" .'- 1: unpaid.'."\n" .'- 2: canceled.'."\n" .'- 3: paid.', 'enumValueTitles' => [], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', ], ], [ 'name' => 'TimeType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The time type. Valid values:'."\n" .'- 1: payment time.'."\n" .'- 2: order placement time.', 'enumValueTitles' => [], 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', ], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start time. This parameter is used together with TimeType. Format: yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => true, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$', 'example' => '2024-08-13 00:00:00'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end time. This parameter is used together with TimeType. Format: yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => true, 'pattern' => '^\\d{4}(-\\d{2}){2}\\s+\\d{2}(:\\d{2}){2}$', 'example' => '2024-08-23 00:00:00'], ], [ 'name' => 'CustomerManager', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The account manager.', 'type' => 'string', 'required' => false, 'example' => 'myBd'], ], [ 'name' => 'ProductType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The product detail code.', 'type' => 'string', 'required' => false, 'example' => 'vm_intl'], ], [ 'name' => 'OrderSource', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The order source. Valid values:'."\n" .'- 0: regular customer.'."\n" .'- 1: enterprise customer.'."\n" .'- 2: secondary reseller.', 'enumValueTitles' => [], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '500', 'minimum' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '23309219-4A34-589D-A3E0-9B2A3BFFD24F'], 'Message' => ['description' => 'The message. The value is the same as the Code parameter.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Msg' => ['description' => 'The message. The value is the same as the Code parameter.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the call was successful. Valid values:'."\n" .'- 200: OK.'."\n" .'- 201: parameter exception.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'Indicates whether the customer was created. If the value is true, the Message contains the CID.', 'type' => 'object', 'properties' => [ 'OrderId' => ['description' => 'The order ID. This parameter is optional.', 'type' => 'integer', 'format' => 'int64', 'example' => '236414227150922', 'title' => ''], 'CustomerAccount' => ['title' => '', 'description' => 'The customer account.', 'type' => 'string', 'example' => 'test_123'], 'CustomerNo' => ['title' => '', 'description' => 'The customer UID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456'], 'ProductDetail' => ['title' => '', 'description' => 'The product details.', 'type' => 'string', 'example' => 'oss'], 'ProductType' => ['title' => '', 'description' => 'The product detail code.', 'type' => 'string', 'example' => 'snapshot'], 'OrderType' => ['title' => '', 'description' => 'The order type. Valid values:'."\n" .'- BUY: new purchase.'."\n" .'- UPGRADE: upgrade.'."\n" .'- DOWNGRADE: downgrade.'."\n" .'- RENEW: renewal.'."\n" .'- REFUND: refund.'."\n" .'- OTHERS: other.', 'type' => 'string', 'example' => 'BUY'], 'OriginalCost' => ['title' => '', 'description' => 'The original price of the order.', 'type' => 'number', 'format' => 'double', 'example' => '3.92'], 'PretaxCost' => ['title' => '', 'description' => 'The payable amount.', 'type' => 'number', 'format' => 'double', 'example' => '3.92'], 'OrderStatus' => ['title' => '', 'description' => 'The order status. Valid values:'."\n" .'- 1: unpaid.'."\n" .'- 2: canceled.'."\n" .'- 3: paid.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'TimeToOrder' => ['title' => '', 'description' => 'The order placement time.', 'type' => 'string', 'example' => '2024-08-13 13:02:02'], 'PaymentTime' => ['title' => '', 'description' => 'The payment time.', 'type' => 'string', 'example' => '2024-08-13 13:02:02'], 'PaymentMethod' => ['title' => '', 'description' => 'The payment method.', 'type' => 'string', 'example' => '3:32'], 'CustomerManager' => ['title' => '', 'description' => 'The account manager.', 'type' => 'string', 'example' => 'myBd'], 'OrderSource' => ['title' => '', 'description' => 'The order source. Valid values:'."\n" .'- 0: regular customer.'."\n" .'- 1: enterprise customer.'."\n" .'- 2: secondary reseller.', 'type' => 'string', 'example' => '0'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageNo' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query customer orders', 'description' => 'The caller must be an Alibaba Cloud international site channel master distributor partner or an Alibaba Cloud international site channel reseller partner.', 'changeSet' => [ ['createdAt' => '2025-01-09T05:55:39.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomerOrders'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCustomerOrders', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23309219-4A34-589D-A3E0-9B2A3BFFD24F\\",\\n \\"Message\\": \\"成功\\",\\n \\"Code\\": \\"200\\",\\n \\"Msg\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"OrderId\\": 236414227150922,\\n \\"CustomerAccount\\": \\"test_123\\",\\n \\"CustomerNo\\": 123456,\\n \\"ProductDetail\\": \\"oss\\",\\n \\"ProductType\\": \\"snapshot\\",\\n \\"OrderType\\": \\"BUY\\",\\n \\"OriginalCost\\": 3.92,\\n \\"PretaxCost\\": 3.92,\\n \\"OrderStatus\\": 3,\\n \\"TimeToOrder\\": \\"2024-08-13 13:02:02\\",\\n \\"PaymentTime\\": \\"2024-08-13 13:02:02\\",\\n \\"PaymentMethod\\": \\"3:32\\",\\n \\"CustomerManager\\": \\"myBd\\",\\n \\"OrderSource\\": \\"0\\"\\n }\\n ],\\n \\"PageSize\\": 1,\\n \\"PageNo\\": 1,\\n \\"Total\\": 100\\n}","type":"json"}]', ], 'GetDailyBill' => [ 'summary' => 'Retrieves the daily bill of a distributor. This feature is available only for Resellers and Distributors.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Date', 'in' => 'query', 'schema' => ['description' => 'Billing date. Format YYYY-MM-DD.', 'type' => 'string', 'required' => true, 'example' => '2022-11-24', 'title' => ''], ], [ 'name' => 'BillOwner', 'in' => 'query', 'schema' => ['description' => 'The type of bill owner. Valid values:'."\n" ."\n" .'1: distribution partner account '."\n" ."\n" .'2: distribution customer account.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'BillType', 'in' => 'query', 'schema' => ['description' => 'The bill type. Valid values:'."\n" ."\n" .'- DailyOrder (Deprecated)'."\n" ."\n" .'- DailyBill (Deprecated)'."\n" ."\n" .'- DailyInstanceBill (Deprecated) '."\n" .'- DailyInstanceBillV2.', 'type' => 'string', 'required' => true, 'example' => 'DailyInstanceBillV2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.'."\n" .'- 3050: Bill type can only be DailyOrder, DailyBill, or DailyInstanceBill. '."\n" .'- 3049: Invalid spending time format.'."\n" .'- 3048: Bill owner can only be 1 or 2.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message corresponding to the Code value.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call is successful. Valid values: True and False. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'BillLinkCSV' => ['description' => 'The download URL of the CSV file. Use the HTTP protocol.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D', 'title' => ''], 'SpendingTime' => ['description' => 'The spending time, which corresponds to the specific billing date.', 'type' => 'string', 'example' => '20221201', 'title' => ''], 'BillType' => ['description' => 'The bill type. Same as the BillType request parameter.', 'type' => 'string', 'example' => 'DailyInstanceBillV2', 'title' => ''], 'BillOwner' => ['description' => 'The bill owner. Same as the BillOwner request parameter.', 'type' => 'string', 'example' => '1', 'title' => ''], 'BillLinkXLSX' => ['description' => 'The download URL of the XLSX file. Use the HTTP protocol.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. A unique identifier that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"BillLinkCSV\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\",\\n \\"SpendingTime\\": \\"20221201\\",\\n \\"BillType\\": \\"DailyInstanceBillV2\\",\\n \\"BillOwner\\": \\"1\\",\\n \\"BillLinkXLSX\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\\\n\\"\\n },\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Distributor daily bill', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetDailyBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDailyBill'], ], ], ], 'GetInviteStatus' => [ 'summary' => 'Queries the invitation status of customers who have been registered and invited.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InviteStatusList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'inviteId list.', 'type' => 'array', 'items' => [ 'description' => 'inviteId list', 'type' => 'object', 'properties' => [ 'InviteId' => ['description' => 'The invitation ID. Obtained from the InviteSubAccount operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '123', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 5, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The status code. Error code value: 3057: InviteId is empty.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Valid values: True/False. Indicates whether the current API call is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InviteStatus' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'The data.', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .' - 200: OK.'."\n" .'- 1109: System error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Valid values: True/False. Indicates whether the current API call is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InviteStatusList' => [ 'description' => 'The invitation record status result list.', 'type' => 'object', 'properties' => [ 'GmtCreate' => ['description' => 'The time when the invitation email was sent.', 'type' => 'string', 'example' => '2018-02-12', 'title' => ''], 'Status' => ['description' => 'The invitation status. Valid values:'."\n" .'- 0: The registration URL has not been visited.'."\n" .'- 1: Registration failed.'."\n" .'- 2: Registration succeeded.'."\n" .'- 3: The registration URL has been visited but the form has not been submitted.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'SubAccountType' => ['description' => 'The account type. Valid values:'."\n" .'- 1: Agency end customer.'."\n" .'- 2: Reseller end customer.'."\n" .'- 5: Reseller tier-2 partner.', 'type' => 'string', 'example' => '1', 'title' => ''], 'ParentId' => ['description' => 'The UID of the distributor to which the distribution customer account belongs.', 'type' => 'string', 'example' => '1093238769140523', 'title' => ''], 'AssociationSuccessTime' => ['description' => 'The time when the distribution customer account was successfully associated with the distributor account. This value is empty if no association exists.', 'type' => 'string', 'example' => '2018-02-13', 'title' => ''], 'Cid' => ['description' => 'The CID of the distribution customer.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567890123', 'title' => ''], 'Uid' => ['description' => 'The UID of the distribution customer.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567890123', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for troubleshooting.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"InviteStatus\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"InviteStatusList\\": {\\n \\"GmtCreate\\": \\"2018-02-12\\",\\n \\"Status\\": 2,\\n \\"SubAccountType\\": \\"1\\",\\n \\"ParentId\\": \\"1093238769140523\\",\\n \\"AssociationSuccessTime\\": \\"2018-02-13\\",\\n \\"Cid\\": 1234567890123,\\n \\"Uid\\": 1234567890123\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Query invitation record status', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetInviteStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInviteStatus'], ], ], ], 'GetMonthlyBill' => [ 'summary' => 'Returns the monthly bill of a distributor.'."\n" .'This feature is available only for Resellers and Distributors.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Month', 'in' => 'query', 'schema' => ['description' => 'Billing Month, Format is YYYY-MM.', 'type' => 'string', 'required' => true, 'example' => '2022-11', 'title' => ''], ], [ 'name' => 'BillOwner', 'in' => 'query', 'schema' => ['description' => 'Bill Owner type.'."\n" ."\n" .' Value range:'."\n" ."\n" .'1: Master account '."\n" ."\n" .'2: Sub account.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'BillType', 'in' => 'query', 'schema' => ['description' => 'Value Range:'."\n" ."\n" .'MonthlyInvoice'."\n" ."\n" .'MonthRefundInvoice'."\n" ."\n" .'MonthlySummary (Deprecated)'."\n" ."\n" .'MonthlyInstanceAddAdjustBill '."\n" ."\n" .'MonthlyInstanceRefundBill'."\n" ."\n" .'MonthlyAddAdjustInvoce'."\n" ."\n" .'MonthlyRefundAdjustInvoce '."\n" ."\n" .'MonthlyInstanceConsumeV2 '."\n" ."\n" .'MarginReportV2.', 'type' => 'string', 'required' => true, 'example' => 'MonthlyInvoice', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'Result code:'."\n" .'- 200 OK'."\n" .'- 1109 System error'."\n" .'- 3030 Account nickname exceeds the maximum length of 150 bytes'."\n" .'- 3031 Remark exceeds the maximum length of 3000 bytes.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'Same as the Code parameter value.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Candidate values: True/False. Indicates whether the current API call itself is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'RefundInvoiceLink' => ['description' => 'The URL for downloading the refund invoice.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D', 'title' => ''], 'BillType' => ['description' => 'Same as the input parameter BillType.', 'type' => 'string', 'example' => 'MonthlyInvoice', 'title' => ''], 'InvoiceLink' => ['description' => 'The URL for downloading the invoice.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D', 'title' => ''], 'BillLinkCSV' => ['description' => 'The URL for downloading the CSV file. Use the HTTP protocol.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D', 'title' => ''], 'RefundInvoiceFlag' => ['description' => 'Indicates whether a refund invoice exists. Valid values: True, False.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'SpendingTime' => ['description' => 'The spending time, which corresponds to the specific consumption time.', 'type' => 'string', 'example' => '20221201', 'title' => ''], 'BillOwner' => ['description' => 'Same as the input parameter BillOwner.', 'type' => 'string', 'example' => '1', 'title' => ''], 'BillLinkXLSX' => ['description' => 'The URL for downloading the XLSX file. Use the HTTP protocol.', 'type' => 'string', 'example' => 'intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates a unique identifier for the request.', 'type' => 'string', 'example' => '210e876f16704666020714468dab35', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"RefundInvoiceLink\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\",\\n \\"BillType\\": \\"MonthlyInvoice\\",\\n \\"InvoiceLink\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\",\\n \\"BillLinkCSV\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\",\\n \\"RefundInvoiceFlag\\": true,\\n \\"SpendingTime\\": \\"20221201\\",\\n \\"BillOwner\\": \\"1\\",\\n \\"BillLinkXLSX\\": \\"intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D\\\\n\\"\\n },\\n \\"RequestId\\": \\"210e876f16704666020714468dab35\\"\\n}","type":"json"}]', 'title' => 'Distributor monthly bill', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetMonthlyBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMonthlyBill'], ], ], ], 'GetPurchaseControlRecord' => [ 'summary' => 'Queries order control change records.', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OperationTime', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start time. If left empty, data from the last six months is returned. The time format is yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2023-12-15 10:34:36'], ], [ 'name' => 'CustomerUID', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The customer UID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '292828565558721922'], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'example' => '20'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], 'Data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'The data.', 'type' => 'object', 'properties' => [ 'ChangedType' => [ 'title' => '', 'description' => 'The change type. Valid values:'."\n" .'- ban: new purchases are prohibited.'."\n" .'- cancelBan: the purchase prohibition is canceled.', 'enumValueTitles' => ['cancelBan ' => ' 取消禁止', 'ban ' => '禁止新购'], 'type' => 'string', 'example' => 'ban ', ], 'OperationTime' => ['title' => '', 'description' => 'The operation time (UTC+8).', 'type' => 'string', 'example' => '2023-12-15 10:34:36'], 'OperationPath' => ['title' => '', 'description' => 'The method by which the operation was initiated.', 'type' => 'string', 'example' => 'ACPN'], 'Operator' => ['title' => '', 'description' => 'The operator.', 'type' => 'string', 'example' => '292828565558721922'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Code' => ['description' => 'The result code. Value range:'."\n" .'- 200: OK.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Total' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNo' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Data\\": [\\n {\\n \\"ChangedType\\": \\"ban \\",\\n \\"OperationTime\\": \\"2023-12-15 10:34:36\\",\\n \\"OperationPath\\": \\"ACPN\\",\\n \\"Operator\\": \\"292828565558721922\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', 'title' => 'Query order control change records', 'description' => 'The caller must be an Alibaba Cloud international site channel master distributor partner or an Alibaba Cloud international site channel distributor partner.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPurchaseControlRecord'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:GetPurchaseControlRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetShutdownPolicyRecord' => [ 'summary' => 'Queries the modification records of the deferred shutdown policy.', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'OperationTime', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start time. If left empty, data from the last six months is returned. The time format is yyyy-MM-dd HH:mm:ss.', 'type' => 'string', 'required' => false, 'example' => '2025-12-15 10:34:36'], ], [ 'name' => 'CustomerUID', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The customer UID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '292828565558721922'], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '5', 'example' => '20'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '210e876f16704666020714468dab35', 'title' => ''], 'Data' => [ 'description' => 'Indicates whether the customer was created. If the value is true, the Message contains the CID.', 'type' => 'array', 'items' => [ 'description' => 'The returned data object.', 'type' => 'object', 'properties' => [ 'CurrentPolicy' => [ 'title' => '', 'description' => 'The current policy. Valid values:'."\n" .'- immediatelyStop: immediate shutdown upon overdue payment.'."\n" .'- delayStop: deferred shutdown quota applied.'."\n" .'- noStop: no shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.CurrentPolicy.enum.immediatelyStop ]Immediate shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.CurrentPolicy.enum.noStop ]No shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.CurrentPolicy.enum.delayStop ]Deferred shutdown quota applied.', 'enumValueTitles' => ['immediatelyStop ' => '欠费立即停机', 'noStop ' => '欠费不停机', 'delayStop ' => '享受延停额度'], 'type' => 'string', 'example' => 'noStop ', ], 'PreviousPolicy' => [ 'title' => '', 'description' => 'The policy before the change. Valid values:'."\n" .'- immediatelyStop: immediate shutdown upon overdue payment.'."\n" .'- delayStop: deferred shutdown quota applied.'."\n" .'- noStop: no shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.PreviousPolicy.enum.immediatelyStop ]Immediate shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.PreviousPolicy.enum.noStop ]No shutdown upon overdue payment.'."\n" .'[_single.resp.200.props.Data.items.PreviousPolicy.enum.delayStop ]Deferred shutdown quota applied.', 'enumValueTitles' => ['immediatelyStop ' => '欠费立即停机', 'noStop ' => '欠费不停机', 'delayStop ' => '享受延停额度 '], 'type' => 'string', 'example' => 'immediatelyStop ', ], 'OperationTime' => ['title' => '', 'description' => 'The operation time (UTC+8).', 'type' => 'string', 'example' => '2023-12-15 10:34:36'], 'OperationPath' => [ 'title' => '', 'description' => 'The method by which the operation was initiated. Valid values:'."\n" .'- API: API.'."\n" .'- ACPN: ACPN.'."\n" .'- ALIYUN_BIZ: Alibaba Cloud internal.', 'enumValueTitles' => ['ALIYUN_BIZ' => 'Alibaba Cloud internal.', 'API' => 'API', 'ACPN' => 'ACPN'], 'type' => 'string', 'example' => 'ACPN', ], 'Operator' => ['title' => '', 'description' => 'The operator.', 'type' => 'string', 'example' => '11111111111'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the call was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Total' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNo' => ['title' => '', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"210e876f16704666020714468dab35\\",\\n \\"Data\\": [\\n {\\n \\"CurrentPolicy\\": \\"noStop \\",\\n \\"PreviousPolicy\\": \\"immediatelyStop \\",\\n \\"OperationTime\\": \\"2023-12-15 10:34:36\\",\\n \\"OperationPath\\": \\"ACPN\\",\\n \\"Operator\\": \\"11111111111\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]', 'title' => 'Query deferred shutdown policy modification records', 'description' => 'The caller must be an Alibaba Cloud international site channel master distributor partner or an Alibaba Cloud international site channel distributor partner.'."\n" ."\n" .'**This content is published only on the international site.**.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetShutdownPolicyRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetShutdownPolicyRecord'], ], ], ], 'GetTier2CouponApprovalDetail' => [ 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ApplicationSheetId', 'in' => 'query', 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => false, 'example' => 'd54ca949-9b88-4514-add3-c6029c4027f4', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0b9a079e17691387754512757e6a1b'], 'Code' => ['description' => 'The response code. Valid values:'."\n" .'- 200: Success.'."\n" .'- Other values: error codes. For more information, see error codes.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The prompt message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Data' => [ 'description' => 'The returned data object.', 'type' => 'object', 'properties' => [ 'ApplicationSheetId' => ['description' => 'The application ID.', 'type' => 'string', 'example' => '0b9a079e17691387754512757e6a1b', 'title' => ''], 'ApprovalStatus' => ['description' => 'The approval status. Valid values:'."\n" .'- 1: Revoked.'."\n" .'- 2: Pending approval.'."\n" .'- 3: Rejected.'."\n" .'- 4: Approved.'."\n" .'- 5: Approved but issuance failed.'."\n" .'- 8: Pending processing.', 'type' => 'string', 'example' => '2', 'title' => ''], 'TotalAmount' => ['description' => 'The application amount.', 'type' => 'string', 'example' => '100.00', 'title' => ''], 'RemainingQuota' => ['description' => 'The estimated remaining partner new customer PoC coupon privilege quota after the coupons are issued.', 'type' => 'string', 'example' => '20.00', 'title' => ''], 'ApplicationReason' => ['description' => 'The application reason.', 'type' => 'string', 'example' => '申请原因', 'title' => ''], 'ApplicantInfo' => [ 'description' => 'The basic application information.', 'type' => 'object', 'properties' => [ 'T2PartnerName' => ['description' => 'The name of the secondary distributor.', 'type' => 'string', 'example' => 'test account', 'title' => ''], 'T2PartnerUid' => ['description' => 'The UID of the secondary distributor.', 'type' => 'integer', 'format' => 'int64', 'example' => '5248516846402795', 'title' => ''], 'ApplicableProducts' => ['description' => 'The applicable products. Valid values:'."\n" .'- UNIVERSAL: all products.'."\n" .'- A specific commodity code.', 'type' => 'string', 'example' => 'UNIVERSAL', 'title' => ''], 'ApplicationTime' => ['description' => 'The application time.', 'type' => 'string', 'example' => '2026-01-21 11:24', 'title' => ''], 'ValidUntil' => ['description' => 'The validity period, which is the number of valid days or a valid time range.', 'type' => 'string', 'example' => '2026-01-21 ~ 2199-12-31', 'title' => ''], 'OrderType' => ['description' => 'The order type, which specifies the order type for coupon usage. Valid values:'."\n" .'- ALL: Alibaba Cloud upfront.'."\n" .'- BILLING: Alibaba Cloud pay-as-you-go bill.'."\n" .'- ALL,BILLING: Alibaba Cloud upfront and Alibaba Cloud pay-as-you-go bill.', 'type' => 'string', 'example' => 'ALL,BILLING', 'title' => ''], ], 'title' => '', 'example' => '', ], 'CouponReceiptUidList' => [ 'description' => 'The list of UIDs of customers who received the coupons.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Uid' => ['description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'example' => '1703016242044705', 'title' => ''], 'NominalValue' => ['description' => 'The nominal value.', 'type' => 'string', 'example' => '100.00', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query secondary distributor coupon application details', 'summary' => 'Queries the details of a coupon application submitted by a secondary distributor. This operation is applicable only to distributors.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0b9a079e17691387754512757e6a1b\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"ApplicationSheetId\\": \\"0b9a079e17691387754512757e6a1b\\",\\n \\"ApprovalStatus\\": \\"2\\",\\n \\"TotalAmount\\": \\"100.00\\",\\n \\"RemainingQuota\\": \\"20.00\\",\\n \\"ApplicationReason\\": \\"申请原因\\",\\n \\"ApplicantInfo\\": {\\n \\"T2PartnerName\\": \\"test account\\",\\n \\"T2PartnerUid\\": 5248516846402795,\\n \\"ApplicableProducts\\": \\"UNIVERSAL\\",\\n \\"ApplicationTime\\": \\"2026-01-21 11:24\\",\\n \\"ValidUntil\\": \\"2026-01-21 ~ 2199-12-31\\",\\n \\"OrderType\\": \\"ALL,BILLING\\"\\n },\\n \\"CouponReceiptUidList\\": [\\n {\\n \\"Uid\\": 1703016242044705,\\n \\"NominalValue\\": \\"100.00\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'GetUnassociatedCustomer' => [ 'summary' => 'Retrieves all unassociated customers.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['description' => 'The current page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of records per page for pagination.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The error code. Valid values:'."\n" .'200: OK.'."\n" .'1109: System error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message information.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call itself is successful. Valid values: True and False. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageInfo' => [ 'description' => 'The pagination information.', 'type' => 'object', 'properties' => [ 'PageSize' => ['description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'Page' => ['description' => 'The current page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'InviteInfoList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InviteInfo' => [ 'description' => 'The invitation information list.', 'type' => 'array', 'items' => [ 'description' => 'The invitation information.', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The invitation status. Valid values:'."\n" .'- 0: The registration URL has not been visited.'."\n" .'- 1: Registration succeeded.'."\n" .'- 2: Registration failed.'."\n" .'- 3: The registration URL has been visited but the form has not been submitted.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'GmtCreate' => ['description' => 'The time when the invitation email was sent.', 'type' => 'string', 'example' => '2023-05-10', 'title' => ''], 'AccountNickname' => ['description' => 'The name of the invited customer.', 'type' => 'string', 'example' => '我的客户', 'title' => ''], 'Email' => ['description' => 'The email address of the invited customer.', 'type' => 'string', 'example' => '12345@qq.com', 'title' => ''], 'InviteId' => ['description' => 'The invitation ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '190', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for error tracking.', 'type' => 'string', 'example' => '23309219-4A34-589D-A3E0-9B2A3BFFD24F', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"PageInfo\\": {\\n \\"PageSize\\": 10,\\n \\"Total\\": 12,\\n \\"Page\\": 1\\n },\\n \\"InviteInfoList\\": {\\n \\"InviteInfo\\": [\\n {\\n \\"Status\\": 1,\\n \\"GmtCreate\\": \\"2023-05-10\\",\\n \\"AccountNickname\\": \\"我的客户\\",\\n \\"Email\\": \\"12345@qq.com\\",\\n \\"InviteId\\": 190\\n }\\n ]\\n },\\n \\"RequestId\\": \\"23309219-4A34-589D-A3E0-9B2A3BFFD24F\\"\\n}","type":"json"}]', 'title' => 'Query unassociated customers', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetUnassociatedCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUnassociatedCustomer'], ], ], ], 'InviteSubAccount' => [ 'summary' => 'Invites a customer to register as a partner customer.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AccountInfoList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of account information for the invitation. A maximum of five accounts can be invited at a time.', 'type' => 'array', 'items' => [ 'description' => 'The account information for the invitation.', 'type' => 'object', 'properties' => [ 'SubAccountType' => ['description' => 'The type of the sub-account. Valid values:'."\n" .'- 1: end user of Agency.'."\n" .'- 2: end user of Reseller. '."\n" .'- 5: T2 partner of Reseller.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], 'EmailAddress' => ['description' => 'The email address of the distribution customer account. The invitation email is sent to this address.', 'type' => 'string', 'required' => true, 'example' => '12345@163.com', 'title' => ''], 'AccountNickname' => ['description' => 'The name of the distribution customer. Valid values:'."\n" .'- If the distribution customer is an enterprise, this is the company name.'."\n" .'- If the distribution customer is a T2 reseller partner, this is the partner name.', 'type' => 'string', 'required' => true, 'example' => 'XXX技术有限公司', 'title' => ''], 'CreditLine' => ['description' => 'The total budget quota that the partner allocates to the distribution customer.', 'type' => 'string', 'required' => true, 'example' => '100', 'title' => ''], 'Remark' => ['description' => 'The description of the distribution customer.', 'type' => 'string', 'required' => false, 'example' => '发展xx为客户的邀请', 'title' => ''], 'ZeroCreditShutdownPolicy' => ['description' => 'The shutdown policy that the partner manages for the distribution customer. Valid values:'."\n" ."\n" .'- 1: delayStop. Alibaba Cloud takes over the resources and the customer enjoys a delayed shutdown quota. When the delayed shutdown quota is exhausted, instance shutdown is triggered. If payment is not made within 15 days, storage resources are released.'."\n" .'- 2: noStop. Manual management with no shutdown on overdue payment. The system does not manage the resource lifecycle of the non-trusteeship linked account. The partner must manually manage the instance shutdown status of the customer.'."\n" .'- 3: immediatelyStop. Instances are immediately shut down on overdue payment. When the available quota of the customer account is less than 0, the account enters the overdue payment status and instance shutdown is triggered.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], 'NewBuyStatus' => ['description' => 'The initial order placement status. Valid values:'."\n" ."\n" .'- ban: Purchase is prohibited. After the customer is registered and associated, the customer cannot immediately place orders to purchase cloud resources. You must set the order control to normal before the customer can place orders.'."\n" .'- normal: Normal. After the customer is registered and associated, the customer can immediately place orders to purchase cloud resources.', 'type' => 'string', 'required' => true, 'example' => 'ban', 'title' => ''], 'CustomerId' => ['description' => 'The customer ID returned by the CreateCustomer API.', 'type' => 'string', 'required' => true, 'example' => '1234567', 'title' => ''], 'CustomerBd' => ['title' => '', 'description' => 'The account manager of the customer. Maximum length: 50 characters.', 'type' => 'string', 'required' => false, 'example' => '张三'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 5, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The fault code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System Error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message returned.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for fault tracking.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API invocation is successful. Valid values: True and False. This does not indicate whether the subsequent business operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Results' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Result' => [ 'description' => 'The list of invitation send results.', 'type' => 'array', 'items' => [ 'description' => 'The invitation result information.', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The fault code. 200 indicates success.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message returned, which describes the fault code.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Indicates whether the operation is successful. The value is always true.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Result' => [ 'description' => 'The invitation result details.', 'type' => 'object', 'properties' => [ 'RegUrl' => ['description' => 'The registration URL for the distribution customer.', 'type' => 'string', 'example' => 'http://agency-intl.console.aliyun.com/customer/register?intl=true&fxinfo=-4uT%2FMWHnnUdvr5GXVd1AYK8luTnGgH3M7Y3lSCd5M1fxRwAkViTWtDJDpckh0HL', 'title' => ''], 'Days' => ['description' => 'The validity period of the registration URL, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], 'InviteId' => ['description' => 'The invitation ID, which is used to query the invitation status.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error3017', 'errorMessage' => 'customerRebateType is error, only invite reseller account.', 'description' => 'customerRebateType is error,only invite reseller account.'], ['errorCode' => 'Error3008', 'errorMessage' => 'shutdown status is error.', 'description' => 'shutdown status is error.'], ['errorCode' => 'Error3009', 'errorMessage' => 'customerAccount is error.', 'description' => 'customerAccount is error.'], ['errorCode' => 'Error3010', 'errorMessage' => 'customerNick is empty.', 'description' => 'customerNick is empty.'], ['errorCode' => 'Error3011', 'errorMessage' => 'The length of customerNick greater than 50.', 'description' => 'The length of customerNick greater than 50. '], ['errorCode' => 'Error3012', 'errorMessage' => 'cid is empty.', 'description' => 'cid is empty.'], ['errorCode' => 'Error3013', 'errorMessage' => 'customCredit is empty.', 'description' => 'customCredit is empty.'], ['errorCode' => 'Error3014', 'errorMessage' => 'customCredit is a maximum of 10.', 'description' => 'customCredit is a maximum of 10.'], ['errorCode' => 'Error3015', 'errorMessage' => 'The current account is not a partner.', 'description' => 'The current account is not a distributor'], ['errorCode' => 'Error3016', 'errorMessage' => 'customerRebateType is error, only invite agency account.', 'description' => 'customerRebateType is error,only invite agency account.'], ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'Error3056', 'errorMessage' => 'The value of subAccountType error.', 'description' => 'The value of subAccountType error'], ['errorCode' => 'Error3067', 'errorMessage' => 'Enterprise Customer Invitation Prohibition.', 'description' => 'Enterprise Customer Invitation Prohibition.'], ['errorCode' => 'Error3055', 'errorMessage' => 'subAccountType is null.', 'description' => 'subAccountType is empty'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Success\\": true,\\n \\"Results\\": {\\n \\"Result\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Result\\": {\\n \\"RegUrl\\": \\"http://agency-intl.console.aliyun.com/customer/register?intl=true&fxinfo=-4uT%2FMWHnnUdvr5GXVd1AYK8luTnGgH3M7Y3lSCd5M1fxRwAkViTWtDJDpckh0HL\\",\\n \\"Days\\": 15,\\n \\"InviteId\\": 12345\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Invite a distribution customer', 'changeSet' => [ ['createdAt' => '2024-04-18T06:55:28.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2023-10-13T09:19:15.000Z', 'description' => 'Error codes changed, Request parameters changed'], ['createdAt' => '2023-09-07T12:09:06.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:InviteSubAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InviteSubAccount'], ], ], ], 'InviteSubReseller' => [ 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'AccountInfoList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of account information for the invitation. A maximum of five accounts can be specified at a time.', 'type' => 'array', 'items' => [ 'description' => 'The list of account information for the invitation. A maximum of five accounts can be specified at a time.', 'type' => 'object', 'properties' => [ 'SubAccountType' => ['description' => 'This parameter is deprecated. You do not need to specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''], 'EmailAddress' => ['description' => 'The email address to which the invitation email is sent.', 'type' => 'string', 'required' => false, 'example' => 'nejatox206@getasail.com', 'title' => ''], 'AccountNickname' => ['description' => 'The name of the distribution customer.'."\n" .'- If the distribution customer is an enterprise, this is the company name.'."\n" .'- If the distribution customer is a T2 Reseller partner, this is the partner name.', 'type' => 'string', 'required' => false, 'example' => 'XXX技术有限公司', 'title' => ''], 'CreditLine' => ['description' => 'The total budget quota that the partner allocates to the distribution customer.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], 'Remark' => ['description' => 'The description of the distribution customer.', 'type' => 'string', 'required' => false, 'example' => '发展xx为客户的邀请', 'title' => ''], 'ZeroCreditShutdownPolicy' => ['description' => 'The shutdown policy that the partner sets for the distribution customer.'."\n" ."\n" .'- 1: delayStop. The account uses the delayed shutdown quota for deferred instance shutdown. Alibaba Cloud takes over the resources. When the delayed shutdown quota is exhausted, instance shutdown is triggered. If the payment is not made within 15 days, storage resources are released.'."\n" .'- 2: noStop. Manual management with no shutdown on overdue payment. The system does not manage the resource lifecycle of the non-trusteeship linked account. The partner must manually manage the instance shutdown status of the customer.'."\n" .'- 3: immediatelyStop. Immediate shutdown on overdue payment. When the active quota of the customer account is less than 0, the account enters the overdue payment status and instance shutdown is triggered.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], 'NewBuyStatus' => ['description' => 'The initial order placement status. Valid values:'."\n" ."\n" .'- ban: Purchase is prohibited. After the customer is registered and associated, the customer cannot place orders to purchase cloud resources immediately. You must set the order control to Normal before the customer can place orders.'."\n" .'- normal: Normal. After the customer is registered and associated, the customer can place orders to purchase cloud resources immediately.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], 'CustomerBd' => ['description' => 'The customer account manager. The value can be up to 50 characters in length.', 'type' => 'string', 'required' => false, 'example' => '张三', 'title' => ''], 'RegisterNation' => ['description' => 'The country or region of the invited T2 Reseller. The value must comply with the ISO 3166-1 alpha-2 code. You can call the ListCountries operation to query the contract coverage area list of the current UID.'."\n" ."\n" .'The system automatically determines whether the invitation is cross-region based on whether this parameter falls within the T1 contract coverage area.'."\n" ."\n" .'- If the invitation is cross-region, a cross-region invitation approval process is initiated. After the approval is granted, an invitation registration email is sent to the specified email address.'."\n" .'- If the invitation is not cross-region, an invitation registration email is sent directly.', 'type' => 'string', 'required' => false, 'example' => 'SG', 'title' => ''], 'CrossScopeRemark' => ['description' => 'The reason for applying for a cross-region association.', 'type' => 'string', 'required' => false, 'example' => 'XXX', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'message', 'type' => 'string', 'example' => '200', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], 'Success' => ['description' => 'Indicates whether the call is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Results' => [ 'description' => 'The invitation result information.', 'type' => 'array', 'items' => [ 'description' => 'The invitation result information.', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The error code. A value of 200 indicates success.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The prompt message that describes the code.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Always true.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Result' => [ 'description' => 'The invitation result details.', 'type' => 'object', 'properties' => [ 'RegUrl' => ['description' => 'The registration URL of the T2 Reseller.', 'type' => 'string', 'example' => 'http://agency-intl.console.aliyun.com/customer/register?intl=true&fxinfo=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'title' => ''], 'Days' => ['description' => 'The validity period of the registration URL, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], 'InviteId' => ['description' => 'The invitation ID, which is used to query the invitation status.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error3015', 'errorMessage' => 'The current account is not a partner.', 'description' => 'The current account is not a distributor'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Invite T2 resellers', 'summary' => 'Invites T2 Reseller sub-accounts in batch as a T1 partner.', 'description' => '1. The caller of this operation must be a channel master reseller partner on Alibaba Cloud International Website.'."\n" .'2. The system automatically determines whether the invitation is cross-region based on whether the RegisterNation parameter falls within the T1 contract coverage area. You can call the ListCountries operation to query the contract coverage area.'."\n" .'- If the invitation is cross-region, a cross-region invitation approval process is initiated. After Alibaba Cloud approves the request, an invitation registration email is sent to the specified email address.'."\n" .'- If the invitation is not cross-region, an invitation registration email is sent directly.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Success\\": true,\\n \\"Results\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"Result\\": {\\n \\"RegUrl\\": \\"http://agency-intl.console.aliyun.com/customer/register?intl=true&fxinfo=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\\",\\n \\"Days\\": 15,\\n \\"InviteId\\": 12345\\n }\\n }\\n ]\\n}","type":"json"}]', ], 'IssueCouponForCustomer' => [ 'summary' => 'Issues coupons.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CouponTemplateId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the coupon template.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5075915'], ], [ 'name' => 'Uidlist', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The list of UIDs, separated by commas (,). Example: 111,2222.', 'type' => 'string', 'required' => true, 'example' => '111,2222'], ], [ 'name' => 'AcceptLanguage', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Default value: none. Valid values:'."\n" .'- zh-CN: Chinese.'."\n" .'- en-US: English.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'], ], [ 'name' => 'IsUseBenefit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Specifies whether to use the POC coupon quota. Valid values:'."\n" .'- true: Uses the POC coupon quota. If all submitted accounts are marked as approval-exempt, the current coupon application skips the approval process, and the POC coupon quota in your partner benefit package is deducted.'."\n" .'- false: Does not use the POC coupon quota. Regardless of the approval-exempt status of the submitted accounts, your POC coupon privilege quota remains unchanged. In this case, the application follows the standard coupon application approval process.', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'example' => 'true'], ], [ 'name' => 'ApplicationReason', 'in' => 'query', 'schema' => ['title' => '', 'type' => 'string', 'example' => '为客户XXX审批优惠券,该客户是XXXX', 'maxLength' => 500, 'description' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'code', 'title' => ''], 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'data' => [ 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ 'CouponTemplateId' => ['title' => '', 'description' => 'The ID of the coupon template.', 'type' => 'integer', 'format' => 'int64', 'example' => '5075915'], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2024-03-05 18:24:07', 'title' => ''], 'Uidlist' => ['description' => 'The list of UIDs to which coupons are issued.', 'type' => 'string', 'example' => '111,2222'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ERROR_3100', 'errorMessage' => 'System exceptions, please submit a work order.', 'description' => 'System exceptions, please submit a work order.'], ['errorCode' => 'ERROR_3081', 'errorMessage' => 'couponTemplateId empty, please check.', 'description' => 'couponTemplateId empty, please check.'], ['errorCode' => 'ERROR_3082', 'errorMessage' => 'Uidlist empty, please check .', 'description' => 'Uidlist is empty, please check'], ['errorCode' => 'ERROR_3080', 'errorMessage' => 'Account empty, please check.', 'description' => 'Account is empty, please check'], ['errorCode' => 'ERROR_3090', 'errorMessage' => 'You have no authority.', 'description' => 'You have no authority'], ['errorCode' => 'ERROR_3088', 'errorMessage' => 'Coupon template expired, unable to issue coupon.', 'description' => 'Coupon template expired, unable to issue coupon'], ['errorCode' => 'ERROR_3102', 'errorMessage' => 'This coupon template ID was not created by this account.', 'description' => 'This coupon template ID was not created by this account.'], ['errorCode' => 'ERROR_3089', 'errorMessage' => 'Coupon template issuance limit exceeded, unable to issue coupon.', 'description' => 'Coupon template issuance limit exceeded, unable to issue coupon'], ['errorCode' => 'ERROR_3086', 'errorMessage' => 'The current uid does not have a distribution relationship and cannot issue a coupon.', 'description' => ''], ['errorCode' => 'ERROR_3087', 'errorMessage' => 'The current uid is not the end user identity, can not issue coupons.', 'description' => 'The current uid is not the end user identity, can not issue coupons.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'Issue coupons', 'changeSet' => [ ['createdAt' => '2025-02-20T10:29:00.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IssueCouponForCustomer'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:IssueCouponForCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Code\\": \\"code\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"data\\": {\\n \\"CouponTemplateId\\": 5075915,\\n \\"CreateTime\\": \\"2024-03-05 18:24:07\\",\\n \\"Uidlist\\": \\"111,2222\\\\n\\"\\n }\\n}","type":"json"}]', ], 'ListCountries' => [ 'summary' => 'Queries the list of serviceable regions. This feature is available to all distributors. The response returns region codes based on the serviceable countries specified in the distributor contract.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The error code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message information.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for error tracking.', 'type' => 'string', 'example' => 'A747A00F-E096-5244-88B3-3E474BAE3AE4', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call itself is successful. Valid values: True and False. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Data' => [ 'description' => 'The list of region codes.', 'type' => 'array', 'items' => ['description' => 'The region code.', 'type' => 'string', 'example' => 'AF', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"A747A00F-E096-5244-88B3-3E474BAE3AE4\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n \\"AF\\"\\n ]\\n}","type":"json"}]', 'title' => 'Query serviceable region list', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListCountries', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCountries'], ], ], ], 'ListCouponUsage' => [ 'summary' => 'Queries the coupon usage after a distribution partner issues coupons.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Account', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The Alibaba Cloud customer account.', 'type' => 'string', 'required' => false, 'example' => 'oqevfbveuadcrduzmf@ttirv.net'], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The coupon status. Valid values:
'."\n" .'AVAILABLE: Normal.
'."\n" .'EXHAUSTED: Exhausted.
'."\n" .'EXPIRED: Expired.
'."\n" .'ABANDONED: Abandoned.
.', 'type' => 'string', 'required' => false, 'example' => 'AVAILABLE'], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number.
'."\n" .'Default value: 1. Minimum value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'default' => '1', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of entries per page.
'."\n" .'Default value: 20. Maximum value: 50. Minimum value: 1.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '50', 'minimum' => '1', 'example' => '20', 'default' => '20', 'required' => false], ], [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The Alibaba Cloud account UID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1133166938931507'], ], [ 'name' => 'CouponTemplateId', 'in' => 'query', 'schema' => ['description' => 'The coupon template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5075915', 'title' => ''], ], [ 'name' => 'T2PartnerUid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The T2 partner UID, such as 123456789.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456768', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The status code of the operation.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['title' => '', 'description' => 'The message returned by the operation.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['description' => 'The request ID. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], 'PageInfo' => [ 'description' => 'The pagination information.', 'type' => 'object', 'properties' => [ 'Page' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Data' => [ 'description' => 'The returned data.', 'type' => 'array', 'items' => [ 'description' => 'The data entries.', 'type' => 'object', 'properties' => [ 'CouponTemplateId' => ['description' => 'The coupon template ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '503802', 'title' => ''], 'CouponId' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => '59226280', 'title' => ''], 'Amount' => ['description' => 'The face value of the coupon.', 'type' => 'number', 'format' => 'double', 'example' => '200', 'title' => ''], 'Balance' => ['description' => 'The remaining balance.', 'type' => 'number', 'format' => 'double', 'example' => '0.01', 'title' => ''], 'EffDate' => ['description' => 'The validity period of the coupon.', 'type' => 'string', 'example' => '2023-04-06 00:00:00 ~ 2023-04-07 00:00:00', 'title' => ''], 'Status' => ['description' => 'The coupon status. Valid values:
'."\n" .'AVAILABLE: Normal.
'."\n" .'EXHAUSTED: Exhausted.
'."\n" .'EXPIRED: Expired.
'."\n" .'ABANDONED: Abandoned.
.', 'type' => 'string', 'example' => 'AVAILABLE', 'title' => ''], 'Account' => ['description' => 'The Alibaba Cloud account.', 'type' => 'string', 'example' => 'oqevfbveuadcrduzmf@ttirv.net', 'title' => ''], 'PublishDate' => ['description' => 'The time when the coupon was issued.', 'type' => 'string', 'example' => '2023-04-06 19:32:10'."\n", 'title' => ''], 'Uid' => ['description' => 'The Alibaba Cloud UID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1647668856741998', 'title' => ''], 'T2PartnerUid' => ['description' => 'The UID of the tier-2 distributor.', 'type' => 'string', 'example' => '5248516956402795', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"PageInfo\\": {\\n \\"Page\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 300\\n },\\n \\"Data\\": [\\n {\\n \\"CouponTemplateId\\": 503802,\\n \\"CouponId\\": \\"59226280\\",\\n \\"Amount\\": 200,\\n \\"Balance\\": 0.01,\\n \\"EffDate\\": \\"2023-04-06 00:00:00 ~ 2023-04-07 00:00:00\\",\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"Account\\": \\"oqevfbveuadcrduzmf@ttirv.net\\",\\n \\"PublishDate\\": \\"2023-04-06 19:32:10\\\\n\\",\\n \\"Uid\\": 1647668856741998,\\n \\"T2PartnerUid\\": \\"5248516956402795\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'Query coupon usage list', 'description' => 'Ensure that the current caller identity is a distribution partner. '."\n" .'Available only on the China site..', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCouponUsage'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListCouponUsage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListExportTasks' => [ 'summary' => 'Queries the list of exported files.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number. Pages start from page 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of records per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'example' => 'en', 'default' => 'en', 'required' => false], ], [ 'name' => 'SceneCode', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The export scenario code. Valid values:'."\n" .'- intlCustomerQuotaRecord: customer management, quota transaction export.'."\n" .'- intlExportUsageDeductHistory: customer management, deduction details export.', 'type' => 'string', 'required' => true, 'example' => 'intlExportUsageDeductHistory', 'enum' => ['intlExportUsageDeductHistory', 'intlCustomerQuotaRecord'], ], ], [ 'name' => 'Id', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the export task.', 'type' => 'integer', 'format' => 'int64', 'example' => '12343', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'asda1231as'], 'Total' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], 'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'Message' => ['title' => '', 'description' => 'The description of the returned result.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'The status code of the returned result. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], 'Data' => [ 'description' => 'The returned list.', 'type' => 'array', 'items' => [ 'description' => 'The returned object.', 'type' => 'object', 'properties' => [ 'FileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'example' => '511376624869_quota_2023-06-22_2023-12-21_all_2023122121310057'], 'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2024-11-01 10:22:11'."\n"], 'Status' => ['title' => '', 'description' => 'The task status display.', 'type' => 'string', 'example' => 'Export Success'], 'StatusCode' => ['title' => '', 'description' => 'The task status code. Valid values:'."\n" .'- 2: exporting.'."\n" .'- 3: export succeeded.'."\n" .'- -1: export failed.', 'type' => 'string', 'example' => '3'], 'Url' => ['title' => '', 'description' => 'The file download URL.', 'type' => 'string', 'example' => '//aliyun-eco-market-servic-singapore.oss-ap-southeast-1.aliyuncs.com/511376624869_quota_2023-06-22_2023-12-21_all_2023122121310057'], 'Message' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => 'null'], 'Id' => ['title' => '', 'description' => 'The export task ID, which is a unique identifier.', 'type' => 'integer', 'format' => 'int64', 'example' => '12355'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'InvalidRequest.ExportTask.SceneCodeError', 'errorMessage' => 'The exporting scenario is incorrect.', 'description' => 'Export Scene Error'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"asda1231as\\",\\n \\"Total\\": 12,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"FileName\\": \\"511376624869_quota_2023-06-22_2023-12-21_all_2023122121310057\\",\\n \\"CreateTime\\": \\"2024-11-01 10:22:11\\\\n\\",\\n \\"Status\\": \\"Export Success\\",\\n \\"StatusCode\\": \\"3\\",\\n \\"Url\\": \\"//aliyun-eco-market-servic-singapore.oss-ap-southeast-1.aliyuncs.com/511376624869_quota_2023-06-22_2023-12-21_all_2023122121310057\\",\\n \\"Message\\": \\"null\\",\\n \\"Id\\": 12355\\n }\\n ]\\n}","type":"json"}]', 'title' => 'Query exported file list', 'changeSet' => [ ['createdAt' => '2025-11-27T08:25:37.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2025-11-05T09:01:00.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListExportTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTier2CouponApproval' => [ 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'T2PartnerName', 'in' => 'query', 'schema' => ['description' => 'The name of the secondary distributor.', 'type' => 'string', 'required' => false, 'example' => 'test account', 'title' => ''], ], [ 'name' => 'T2PartnerUid', 'in' => 'query', 'schema' => ['description' => 'The UID of the secondary distributor.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5248516956402795', 'title' => ''], ], [ 'name' => 'ApprovalStatus', 'in' => 'query', 'schema' => ['description' => 'The approval status. Valid values:'."\n" .'- 1: Revoked.'."\n" .'- 2: Pending approval.'."\n" .'- 3: Rejected.'."\n" .'- 4: Approved.'."\n" .'- 5: Approved but failed to issue.'."\n" .'- 8: To be processed.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ApplicationSheetId', 'in' => 'query', 'schema' => ['description' => 'The ID of the application.', 'type' => 'string', 'required' => false, 'example' => 'd54ca949-9b88-4514-add3-c6029c4027f4', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message returned.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'Data' => [ 'description' => 'The returned data object.', 'type' => 'array', 'items' => [ 'description' => 'The returned data object.', 'type' => 'object', 'properties' => [ 'ApplicationSheetId' => ['description' => 'The ID of the application.', 'type' => 'string', 'example' => 'd54ca949-9b88-4514-add3-c6029c4027f4', 'title' => ''], 'T2PartnerName' => ['description' => 'The name of the secondary distributor.', 'type' => 'string', 'example' => 'test account', 'title' => ''], 'T2PartnerUid' => ['description' => 'The UID of the secondary distributor.', 'type' => 'integer', 'format' => 'int64', 'example' => '5248516956402795', 'title' => ''], 'ApplicationTime' => ['description' => 'The time when the application was submitted.', 'type' => 'string', 'example' => '2026-01-21 11:24', 'title' => ''], 'ApprovalStatus' => ['description' => 'The approval status. Valid values:'."\n" ."\n" .'- 1: Revoked.'."\n" .'- 2: Pending approval.'."\n" .'- 3: Rejected.'."\n" .'- 4: Approved.'."\n" .'- 5: Approved but failed to issue.'."\n" .'- 8: To be processed.', 'type' => 'string', 'example' => '1', 'title' => ''], 'TotalAmount' => ['description' => 'The application amount.', 'type' => 'string', 'example' => '200', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'List secondary distributor coupon approvals', 'summary' => 'Queries the list of coupon applications submitted by secondary distributors on behalf of their end users. This operation is applicable only to primary distributors.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": [\\n {\\n \\"ApplicationSheetId\\": \\"d54ca949-9b88-4514-add3-c6029c4027f4\\",\\n \\"T2PartnerName\\": \\"test account\\",\\n \\"T2PartnerUid\\": 5248516956402795,\\n \\"ApplicationTime\\": \\"2026-01-21 11:24\\",\\n \\"ApprovalStatus\\": \\"1\\",\\n \\"TotalAmount\\": \\"200\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ProcessApproval' => [ 'path' => '', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ApplicationSheetId', 'in' => 'query', 'schema' => ['description' => 'The ID of the application form.', 'type' => 'string', 'required' => true, 'example' => 'd54ca949-9b88-4514-add3-c6029c4027f4', 'title' => ''], ], [ 'name' => 'ApprovalAction', 'in' => 'query', 'schema' => ['description' => 'The approval action. Valid values:'."\n" .'- Approve: approved.'."\n" .'- Reject: rejected.', 'type' => 'string', 'required' => true, 'example' => 'Approve', 'title' => ''], ], [ 'name' => 'ApprovalComments', 'in' => 'query', 'schema' => ['description' => 'The approval comments.', 'type' => 'string', 'required' => true, 'maxLength' => 500, 'minLength' => 1, 'example' => '同意', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'id of request', 'type' => 'string', 'example' => '23309219-4A34-589D-A3E0-9B2A3BFFD24F'], 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The prompt message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'Data' => ['description' => 'The approval result.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Approve a general approval process', 'summary' => 'Approves a process that requires partner approval. This operation is applicable only to distributors.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23309219-4A34-589D-A3E0-9B2A3BFFD24F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'QueryAutomaticWriteOffChangeRecords' => [ 'summary' => 'Queries the change records of the automatic write-off quota. Paging is supported.', 'path' => '', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CustomerUid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123456'], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => false, 'example' => '2026-06-20'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => false, 'example' => '2026-05-20'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of records per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The current page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The language parameter. If not specified, the default value is en. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'enum' => ['zh', 'en', 'ja'], 'required' => false, 'example' => 'en', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response object.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8cd24f2917797624314748873d0096'], 'Code' => ['title' => '', 'description' => 'The status code of the response. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], 'Message' => ['title' => '', 'description' => 'The description of the response.', 'type' => 'string', 'example' => '成功'], 'Data' => [ 'description' => 'The list of query results.', 'type' => 'array', 'items' => [ 'description' => 'The query result object.', 'type' => 'object', 'properties' => [ 'ChangeContent' => ['title' => '', 'description' => 'The content of the operation.', 'type' => 'string', 'example' => '开启自动销账并选择 500 USD'], 'OperationTime' => ['title' => '', 'description' => 'The time of the operation.', 'type' => 'string', 'example' => '2023-12-15 10:34:36 UTC+8'], 'OperateId' => ['title' => '', 'description' => 'The operator.', 'type' => 'string', 'example' => '12312312'], 'OperateSource' => ['title' => '', 'description' => 'The description of how the operation was initiated.', 'type' => 'string', 'example' => 'API'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query automatic write-off change records', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8cd24f2917797624314748873d0096\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Data\\": [\\n {\\n \\"ChangeContent\\": \\"开启自动销账并选择 500 USD\\",\\n \\"OperationTime\\": \\"2023-12-15 10:34:36 UTC+8\\",\\n \\"OperateId\\": \\"12312312\\",\\n \\"OperateSource\\": \\"API\\"\\n }\\n ]\\n}","type":"json"}]', ], 'QueryReversedDeductionHistory' => [ 'summary' => 'Queries the credit offset details for a specified customer.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the customer.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The start date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-07-31'], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The end date. Format: yyyy-MM-dd.', 'type' => 'string', 'required' => true, 'example' => '2023-12-31'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of records per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The current page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Valid values:'."\n" .'- en: English'."\n" .'- zh: Chinese'."\n" .'- ja: Japanese.', 'type' => 'string', 'example' => 'en', 'default' => 'en', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Total' => ['title' => '', 'description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], 'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of records per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'Data' => [ 'title' => '', 'description' => 'The list data.', 'type' => 'array', 'items' => [ 'title' => '', 'description' => 'The list data.', 'type' => 'object', 'properties' => [ 'OperationSubmitType' => ['title' => '', 'description' => 'The method by which the operation was submitted. Valid values: API and ACPN.', 'type' => 'string', 'example' => 'ACPN'], 'OperationTime' => ['title' => '', 'description' => 'The time when the operation was performed.', 'type' => 'string', 'example' => '2024-11-01 10:22:11 UTC+8'], 'OperationUid' => ['title' => '', 'description' => 'The UID of the operator.', 'type' => 'string', 'example' => '132'], 'OffsetAmount' => ['title' => '', 'description' => 'The offset amount.', 'type' => 'string', 'example' => '1.00'], ], 'example' => '', ], 'example' => '', ], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'asda1231as'], 'Message' => ['title' => '', 'description' => 'The description of the response.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'The status code of the response. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query credit offset details', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:QueryReversedDeductionHistory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 12,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 20,\\n \\"Data\\": [\\n {\\n \\"OperationSubmitType\\": \\"ACPN\\",\\n \\"OperationTime\\": \\"2024-11-01 10:22:11 UTC+8\\",\\n \\"OperationUid\\": \\"132\\",\\n \\"OffsetAmount\\": \\"1.00\\"\\n }\\n ],\\n \\"RequestId\\": \\"asda1231as\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', ], 'QuotaListExportPaged' => [ 'summary' => 'Queries the results of quota journal export tasks for international distribution users. This operation can be called only on the China site (Chinese mainland).', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The number of entries per page. Maximum value: 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The language parameter. Default value: en. Valid values:'."\n" .'- en: English.'."\n" .'- zh: Chinese.'."\n" .'- ja: Japanese.', 'type' => 'string', 'required' => false, 'example' => 'en'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '210e876f16704666020714468dab35'], 'Total' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'Msg' => ['title' => '', 'description' => 'The description of the returned result.', 'type' => 'string', 'example' => 'SUCCESS'], 'Code' => ['title' => '', 'description' => 'The status code of the returned result. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], 'Data' => [ 'description' => 'The list of returned results.', 'type' => 'array', 'items' => [ 'description' => 'The response data.', 'type' => 'object', 'properties' => [ 'FileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'example' => '5113766248601929_quota_2023-06-22_2023-12-21_all_2023122121310057'], 'CreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2023-12-21 21:31:57 UTC+8'], 'Status' => ['title' => '', 'description' => 'The task status display.', 'type' => 'string', 'example' => '3'], 'StatusCode' => ['title' => '', 'description' => 'The task status code. Valid values:'."\n" .'- 2: exporting.'."\n" .'- 3: export succeeded.'."\n" .'- -1: export failed.', 'type' => 'string', 'example' => 'Export Success'], 'Url' => ['title' => '', 'description' => 'The file download URL.', 'type' => 'string', 'example' => '//aliyun-eco-market-servic-singapore.oss-ap-southeast-1.aliyuncs.com/5113766248601929_quota_2023-06-22_2023-12-21_all_2023122121310057'], 'Message' => ['title' => '', 'description' => 'The prompt message.', 'type' => 'string', 'example' => 'success'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"210e876f16704666020714468dab35\\",\\n \\"Total\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Msg\\": \\"SUCCESS\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"FileName\\": \\"5113766248601929_quota_2023-06-22_2023-12-21_all_2023122121310057\\",\\n \\"CreateTime\\": \\"2023-12-21 21:31:57 UTC+8\\",\\n \\"Status\\": \\"3\\",\\n \\"StatusCode\\": \\"Export Success\\",\\n \\"Url\\": \\"//aliyun-eco-market-servic-singapore.oss-ap-southeast-1.aliyuncs.com/5113766248601929_quota_2023-06-22_2023-12-21_all_2023122121310057\\",\\n \\"Message\\": \\"success\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'View quota journal export results', 'description' => 'The caller must be an Alibaba Cloud international site channel master distributor partner or an Alibaba Cloud international site channel distributor partner.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:QuotaListExportPaged', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuotaListExportPaged'], ], ], ], 'ResendEmail' => [ 'summary' => 'Resends an invitation email.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InviteId', 'in' => 'query', 'schema' => ['description' => 'The invitation ID, obtained from the InviteSbuAccount operation.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '176', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code.'."\n" .'Error code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.'."\n" .'- 3058: Emails are sent too frequently. A maximum of 10 emails can be sent within 5 minutes.'."\n" .'- 3057: InviteId is empty.'."\n" .'- 3060: No sending record found for the specified InviteId.'."\n" .'- 3061: The registration URL has expired and the email cannot be resent.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The result message.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Valid values: True/False. Indicates whether the current API call itself is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. A unique identifier that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'Error3058', 'errorMessage' => 'Frequent email flow control limit 10 emails sent within 5 minutes.', 'description' => 'Frequent email flow control limit 10 emails sent within 5 minutes'], ['errorCode' => 'InvalidParam.InviteId.InvalidId', 'errorMessage' => 'No invitation record found based on inviteId.', 'description' => 'No invitation record found based on request ID'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Resend invitation email', 'changeSet' => [ ['createdAt' => '2025-01-09T07:28:43.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResendEmail'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:ResendEmail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'SetAccountInfo' => [ 'summary' => 'Updates sub-account information, including the nickname and remarks.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AccountNickname', 'in' => 'query', 'schema' => ['description' => 'The nickname of the sub-account. For enterprise customers, this is the company name. For T2 partners, this is the partner name.', 'type' => 'string', 'required' => false, 'example' => '我的账号', 'title' => ''], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => ['description' => 'The description of the sub-account.', 'type' => 'string', 'required' => false, 'example' => '测试的账号', 'title' => ''], ], [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the sub-account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1133166938931507', 'title' => ''], ], [ 'name' => 'CustomerBd', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The customer business manager. Maximum length: 50 characters.', 'type' => 'string', 'required' => false, 'example' => '张三'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: A system error occurred.'."\n" .'- 3030: The account nickname exceeds the maximum length of 150 bytes.'."\n" .'- 3031: The remark exceeds the maximum length of 3000 bytes.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message returned.', 'type' => 'string', 'example' => '成功', 'title' => ''], 'Success' => ['description' => 'Valid values: True and False. Indicates whether the current API call itself is successful. This does not indicate the success of subsequent business operations.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. Alibaba Cloud uses this ID for error tracking.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'Error3030', 'errorMessage' => 'The maximum length of CustomNick is 150.', 'description' => 'Maximum CustomNick length is 150'], ['errorCode' => 'Error3031', 'errorMessage' => 'The maximum length of FxDescription is 3000.', 'description' => 'Maximum FxDescription length is 3000'], ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"成功\\",\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Update sub-account information', 'changeSet' => [ ['createdAt' => '2025-01-10T03:58:11.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2024-04-18T06:55:28.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetAccountInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetAccountInfo'], ], ], ], 'SetCreditLine' => [ 'summary' => 'Sets the credit limit for a reseller customer. This feature is available only for Resellers and Distributors.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the sub-account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1263644979775567', 'title' => ''], ], [ 'name' => 'CreditLine', 'in' => 'query', 'schema' => ['description' => 'The new credit limit.', 'type' => 'string', 'required' => true, 'example' => '100', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.'."\n" .'- 3040: The sub-account is frozen and the operation cannot be completed.'."\n" .'- 3041: The credit limit is not a number.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message that corresponds to the result code.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the API call is successful. Valid values: True and False. This does not indicate whether the subsequent business operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. A unique identifier that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'Error3040', 'errorMessage' => 'The account is in a frozen state and cannot be operated.', 'description' => 'The account is in a frozen state and cannot be operated.'], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'This uid is not your EU.', 'description' => 'This user is not your distribution customer'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Set credit limit for a reseller customer', 'changeSet' => [ ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetCreditLine', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCreditLine'], ], ], ], 'SetWarningThreshold' => [ 'summary' => 'Sets the credit usage threshold. When a customer\'s available credit falls below the threshold, the reseller is notified by email. This feature is available only for Resellers and Distributors.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Uid', 'in' => 'query', 'schema' => ['description' => 'The UID of the reseller customer account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1792155717328010', 'title' => ''], ], [ 'name' => 'WarningValue', 'in' => 'query', 'schema' => ['description' => 'The percentage value. Valid values: 1 to 100. When the available credit drops below this percentage of the total credit limit, an alert email is sent to the reseller partner account.', 'type' => 'string', 'required' => true, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The result code. Valid values:'."\n" .'- 200: OK.'."\n" .'- 1109: System error.'."\n" .'- 3040: The sub-account is frozen and the operation cannot be completed.'."\n" .'- 3044: The alert percentage value is not a number.'."\n" .'- 3045: The alert percentage value must be from 1 to 100.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The message that corresponds to the Code parameter value.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Success' => ['description' => 'Indicates whether the current API call was successful. Valid values: True and False. This does not indicate whether the subsequent business operation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID. A unique identifier that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'Error1109', 'errorMessage' => 'system error.', 'description' => 'System exception'], ['errorCode' => 'Error3040', 'errorMessage' => 'The account is in a frozen state and cannot be operated.', 'description' => 'The account is in a frozen state and cannot be operated.'], ['errorCode' => 'Error3044', 'errorMessage' => 'The Value is not a number.', 'description' => 'Value is not a number'], ['errorCode' => 'Error3045', 'errorMessage' => 'The value must be between 1-100.', 'description' => 'Value must be between 1-100'], ['errorCode' => 'InvalidParam.Uid.NotYourEu', 'errorMessage' => 'This uid is not your EU.', 'description' => 'This user is not your distribution customer'], ['errorCode' => 'InvalidRequest.NoPermissions', 'errorMessage' => 'No permissions for the operation.', 'description' => 'You do not have permission to perform this operation.'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"200\\",\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\"\\n}","type":"json"}]', 'title' => 'Set credit usage threshold for a reseller customer', 'changeSet' => [ ['createdAt' => '2025-01-10T03:58:11.000Z', 'description' => 'Error codes changed'], ['createdAt' => '2025-01-09T03:44:47.000Z', 'description' => 'Error codes changed'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetWarningThreshold', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetWarningThreshold'], ], ], ], 'SubscriptionBill' => [ 'summary' => 'Subscribes to multi-level ecosystem partner bills on Alibaba Cloud International and generates bill files to OSS.', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'SubscribeBucket', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the OSS bucket for storing bill files.', 'type' => 'string', 'required' => true, 'example' => 'bill-bucket'], ], [ 'name' => 'BucketOwnerId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The UID of the account that owns the OSS bucket for storing files.'."\n" ."\n" .'If a partner subscribes and needs to push files to the OSS bucket of a subordinate partner account, this account must be a subordinate partner account of the partner account. Grant the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission to the subordinate partner account. '."\n" ."\n" .'If a partner subscribes and pushes files to the partner account\'s own OSS bucket, grant the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission to the partner account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5569414254138836'], ], [ 'name' => 'SubscribeType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The subscription type. Valid values: '."\n" .'- PartnerBillingItemDetailForBillingPeriod: billing item detail.'."\n" .'- PartnerBillingItemDetailMonthly: billing item monthly bill.'."\n" .'- PartnerInstanceDetailForBillingPeriod: instance bill detail.'."\n" .'- PartnerInstanceDetailMonthly: instance monthly bill.', 'type' => 'string', 'required' => true, 'example' => 'PartnerBillingItemDetailForBillingPeriod'], ], [ 'name' => 'BeginBillingCycle', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The billing month from which to start pushing bills. Format: yyyy-MM.'."\n" ."\n" .'After a successful subscription, the system automatically pushes data from the start billing cycle to the current time. Data for up to the last six months (including the current month) can be pushed. If the specified month exceeds this range, the subscription is invalid.', 'type' => 'string', 'required' => true, 'example' => '2022-10'], ], [ 'name' => 'BillFormat', 'in' => 'query', 'schema' => ['description' => 'The bill file format. Valid values:'."\n" .'- csv'."\n" .'- parquet'."\n" ."\n" .'If you subscribe to multiple file types, use separate buckets to avoid file overwriting.', 'type' => 'string', 'required' => true, 'example' => 'csv', 'title' => ''], ], [ 'name' => 'SubscribeSegmentSize', 'in' => 'query', 'schema' => ['description' => 'The row count threshold for a single bill file. If the number of rows exceeds this threshold, the file is automatically split into multiple files. The naming convention for split files is `uid_billType_billCycle_SquenceNo_fileNo`.'."\n" ."\n" .'All information in the file names is identical except for fileNo. These files belong to the same billing cycle and the same file type but are split into multiple files.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100000', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'result', 'type' => 'object', 'properties' => [ 'Message' => ['title' => '', 'description' => 'The message returned.', 'type' => 'string', 'example' => '成功'], 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C14ADFE-DF0A-54D4-8BD5-45D0839246B4'], 'Data' => ['description' => 'The data returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => [ 'title' => '', 'description' => 'The status code.', 'enumValueTitles' => [1001 => 'Invalid subscription bill type.', 'Invalid subscription file type.', 'Invalid start push date.', 'Subscription failed.', 'No subscription permission.', 'Subscription record already exists.', 'Invalid bucket.'], 'type' => 'string', 'example' => '200', ], 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true'], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"成功\\",\\n \\"RequestId\\": \\"9C14ADFE-DF0A-54D4-8BD5-45D0839246B4\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'Subscribe to ecosystem partner bills', 'description' => '- Ensure that the caller is an Alibaba Cloud international master reseller partner.'."\n" .'- A user can subscribe to one type of bill file at a time.'."\n" .'- After subscription, bill files generated on the previous day are pushed daily starting from the next day. On the 5th of each month, full bill files for the previous billing cycle are pushed.'."\n" .'- Bill files generated on a daily basis may be delayed. Delayed bill files are pushed the day after they are generated and may include bills that were delayed from earlier days. Pull the full files for the previous month at the beginning of each month.'."\n" .'- Grant the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission to the subscribing user.'."\n" .'- File names.'."\n" ."\n" .'```.'."\n" ."\n" .'BillingItemDetailForBillingPeriod (Billing item detail)'."\n" .' '."\n" .'Daily push file name format: UID_PartnerBillingItemDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_BillingItemDetail_20190310_0001_01.'."\n" .' '."\n" .'Full file name format at the beginning of the next month: UID_PartnerBillingItemDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetail_201903_0001_01.'."\n" ."\n" .'InstanceDetailForBillingPeriod (Instance bill detail)'."\n" .' '."\n" .' Daily push file name format: UID_PartnerInstanceDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_InstanceDetail_20190310_0001_01.'."\n" .' '."\n" .'Full file name format at the beginning of the next month: UID_PartnerInstanceDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetail_201903_1999-0001_01.'."\n" ."\n" .'BillingItemDetailMonthly (Billing item monthly bill)'."\n" .' '."\n" .'Daily push file name format: UID_PartnerBillingItemDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetailMonthly_201903_0001_01. This file is updated daily with full data from the beginning of the month to the current day, until the 5th of the next month.'."\n" ."\n" .'InstanceDetailMonthly (Instance monthly bill)'."\n" .' '."\n" .'Daily push file name format: UID_PartnerInstanceDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetailMonthly_201903_0001_01. This file is updated daily with full data from the beginning of the month to the current day, until the 5th of the next month.'."\n" ."\n" .'fileNo exists only when the number of bill rows reaches the split threshold and the file is split.'."\n" ."\n" .'```'."\n" .'**This content is published only on the Chinese site.**.', 'changeSet' => [ ['createdAt' => '2024-04-10T06:15:18.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-12-29T13:32:00.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubscriptionBill'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:SubscriptionBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agency.ap-southeast-1.aliyuncs.com', 'endpoint' => 'agency.ap-southeast-1.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'agency.aliyuncs.com', 'endpoint' => 'agency.aliyuncs.com', 'vpc' => 'agency-vpc.cn-hangzhou.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'Error1109', 'message' => 'system error.', 'http_code' => 400, 'description' => 'System exception'], ['code' => 'Error3008', 'message' => 'shutdown status is error.', 'http_code' => 400, 'description' => 'shutdown status is error.'], ['code' => 'Error3009', 'message' => 'customerAccount is error.', 'http_code' => 400, 'description' => 'customerAccount is error.'], ['code' => 'Error3010', 'message' => 'customerNick is empty.', 'http_code' => 400, 'description' => 'customerNick is empty.'], ['code' => 'Error3011', 'message' => 'The length of customerNick greater than 50.', 'http_code' => 400, 'description' => 'The length of customerNick greater than 50. '], ['code' => 'Error3012', 'message' => 'cid is empty.', 'http_code' => 400, 'description' => 'cid is empty.'], ['code' => 'Error3013', 'message' => 'customCredit is empty.', 'http_code' => 400, 'description' => 'customCredit is empty.'], ['code' => 'Error3014', 'message' => 'customCredit is a maximum of 10.', 'http_code' => 400, 'description' => 'customCredit is a maximum of 10.'], ['code' => 'Error3015', 'message' => 'The current account is not a partner.', 'http_code' => 400, 'description' => 'The current account is not a distributor'], ['code' => 'Error3016', 'message' => 'customerRebateType is error, only invite agency account.', 'http_code' => 400, 'description' => 'customerRebateType is error,only invite agency account.'], ['code' => 'Error3017', 'message' => 'customerRebateType is error, only invite reseller account.', 'http_code' => 400, 'description' => 'customerRebateType is error,only invite reseller account.'], ['code' => 'Error3030', 'message' => 'The maximum length of CustomNick is 150.', 'http_code' => 400, 'description' => 'Maximum CustomNick length is 150'], ['code' => 'Error3031', 'message' => 'The maximum length of FxDescription is 3000.', 'http_code' => 400, 'description' => 'Maximum FxDescription length is 3000'], ['code' => 'Error3040', 'message' => 'The account is in a frozen state and cannot be operated.', 'http_code' => 400, 'description' => 'The account is in a frozen state and cannot be operated.'], ['code' => 'Error3043', 'message' => 'The range of ShutdownStatus can only be 1 and 2.', 'http_code' => 400, 'description' => 'The range of ShutdownStatus can only be 1 and 2'], ['code' => 'Error3044', 'message' => 'The Value is not a number.', 'http_code' => 400, 'description' => 'Value is not a number'], ['code' => 'Error3045', 'message' => 'The value must be between 1-100.', 'http_code' => 400, 'description' => 'Value must be between 1-100'], ['code' => 'Error3051', 'message' => 'input accounStatus value error, It must be 1,2,3.', 'http_code' => 400, 'description' => 'Wrong value for input AccounStatus, must be 1,2 or 3'], ['code' => 'Error3052', 'message' => 'Your account is currently frozen and cannot be unfrozen for the following customer operations.', 'http_code' => 400, 'description' => ''], ['code' => 'Error3055', 'message' => 'subAccountType is null.', 'http_code' => 400, 'description' => 'subAccountType is empty'], ['code' => 'Error3056', 'message' => 'The value of subAccountType error.', 'http_code' => 400, 'description' => 'The value of subAccountType error'], ['code' => 'Error3058', 'message' => 'Frequent email flow control limit 10 emails sent within 5 minutes.', 'http_code' => 400, 'description' => 'Frequent email flow control limit 10 emails sent within 5 minutes'], ['code' => 'Error3067', 'message' => 'Enterprise Customer Invitation Prohibition.', 'http_code' => 400, 'description' => 'Enterprise Customer Invitation Prohibition.'], ['code' => 'ERROR_1002', 'message' => 'No query permission.', 'http_code' => 400, 'description' => 'No query permission'], ['code' => 'ERROR_1003', 'message' => 'No permission to operate the object.', 'http_code' => 400, 'description' => 'No permission to operate the object.'], ['code' => 'ERROR_201', 'message' => 'Parameters are illegal and required fields are empty.', 'http_code' => 400, 'description' => 'Parameters are illegal and required fields are empty.'], ['code' => 'ERROR_2307', 'message' => 'Coupons not in normal state or coupons for which Alibaba Cloud bears the cost cannot be voided.', 'http_code' => 400, 'description' => 'Coupons not in normal state or coupons for which Alibaba Cloud bears the cost cannot be voided'], ['code' => 'ERROR_2310', 'message' => 'The template has a coupon that is being approved so the template cannot be canceled.', 'http_code' => 400, 'description' => 'The template has a coupon that is being approved so the template cannot be canceled'], ['code' => 'ERROR_2311', 'message' => 'Coupon template does not exist.', 'http_code' => 400, 'description' => 'Coupon template does not exist'], ['code' => 'ERROR_3070', 'message' => 'CouponTemplateName must be entered.', 'http_code' => 400, 'description' => 'TemplateName name must be entered'], ['code' => 'ERROR_3071', 'message' => 'ApplicableProducts empty, please check.', 'http_code' => 400, 'description' => 'ApplicableProducts empty, please check.'], ['code' => 'ERROR_3072', 'message' => 'itemCodes empty, please check.', 'http_code' => 400, 'description' => 'ProductType is empty, please check'], ['code' => 'ERROR_3073', 'message' => 'amout empty, please check.', 'http_code' => 400, 'description' => 'Value empty, please check.'], ['code' => 'ERROR_3074', 'message' => 'personLimit empty, please check.', 'http_code' => 400, 'description' => 'LimitPerPerson empty, please check.'], ['code' => 'ERROR_3075', 'message' => 'applyReason empty, please check.', 'http_code' => 400, 'description' => 'ReasonForApplication empty, please check.'], ['code' => 'ERROR_3076', 'message' => 'effDateType empty, please check.', 'http_code' => 400, 'description' => 'effDateType empty, please check.'], ['code' => 'ERROR_3077', 'message' => 'effDateDay empty, please check.', 'http_code' => 400, 'description' => 'Vaildperioddays empty, please check.'], ['code' => 'ERROR_3078', 'message' => 'effDateFrom empty, please check.', 'http_code' => 400, 'description' => 'Vailddate empty, please check.'], ['code' => 'ERROR_3079', 'message' => 'effDateTo empty, please check.', 'http_code' => 400, 'description' => 'Expireddate empty, please check .'], ['code' => 'ERROR_3080', 'message' => 'Account empty, please check.', 'http_code' => 400, 'description' => 'Account is empty, please check'], ['code' => 'ERROR_3081', 'message' => 'couponTemplateId empty, please check.', 'http_code' => 400, 'description' => 'couponTemplateId empty, please check.'], ['code' => 'ERROR_3082', 'message' => 'Uidlist empty, please check .', 'http_code' => 400, 'description' => 'Uidlist is empty, please check'], ['code' => 'ERROR_3084', 'message' => 'Coupon cannot be valid for more than 180 days.', 'http_code' => 400, 'description' => 'Coupon cannot be valid for more than 180 days'], ['code' => 'ERROR_3085', 'message' => 'Product code is not in international channel partner coupons deductable product list.', 'http_code' => 400, 'description' => 'Product code is not in international channel partner coupons deductable product list.'], ['code' => 'ERROR_3087', 'message' => 'The current uid is not the end user identity, can not issue coupons.', 'http_code' => 400, 'description' => 'The current uid is not the end user identity, can not issue coupons.'], ['code' => 'ERROR_3088', 'message' => 'Coupon template expired, unable to issue coupon.', 'http_code' => 400, 'description' => 'Coupon template expired, unable to issue coupon'], ['code' => 'ERROR_3089', 'message' => 'Coupon template issuance limit exceeded, unable to issue coupon.', 'http_code' => 400, 'description' => 'Coupon template issuance limit exceeded, unable to issue coupon'], ['code' => 'ERROR_3090', 'message' => 'You have no authority.', 'http_code' => 400, 'description' => 'You have no authority'], ['code' => 'ERROR_3091', 'message' => 'Coupon template name length over limit.', 'http_code' => 400, 'description' => 'Coupon template name length over limit(30 characters).'], ['code' => 'ERROR_3092', 'message' => 'Reason for template request length over limit.', 'http_code' => 400, 'description' => 'Reason for template request length over limit(100 characters)'], ['code' => 'ERROR_3093', 'message' => 'Coupon cost-bearer parameters are not legal.', 'http_code' => 400, 'description' => 'Coupon cost-bearer parameters are not legal'], ['code' => 'ERROR_3094', 'message' => 'Applicable product type parameters are not legal.', 'http_code' => 400, 'description' => 'Applicable product type parameters are not legal'], ['code' => 'ERROR_3095', 'message' => 'The per-person limit is illegal.', 'http_code' => 400, 'description' => 'The per-person limit is illegal.'], ['code' => 'ERROR_3096', 'message' => 'Coupon value is illegal.', 'http_code' => 400, 'description' => 'Coupon value is illegal.'], ['code' => 'ERROR_3097', 'message' => 'Time type is illegal.', 'http_code' => 400, 'description' => 'Time type is illegal.'], ['code' => 'ERROR_3098', 'message' => 'Coupon Remarks Information length over limit.', 'http_code' => 400, 'description' => 'Coupon Remarks Information length over limit(100 characters).'], ['code' => 'ERROR_3099', 'message' => 'The start of the coupon\'s effective time cannot be earlier than the current time.', 'http_code' => 400, 'description' => 'The start of the coupon\'s effective time cannot be earlier than the current time.'], ['code' => 'ERROR_3100', 'message' => 'System exceptions, please submit a work order.', 'http_code' => 400, 'description' => 'System exceptions, please submit a work order.'], ['code' => 'ERROR_3101', 'message' => 'PurchaseType empty, please check .', 'http_code' => 400, 'description' => 'PurchaseType empty, please check .'], ['code' => 'ERROR_3102', 'message' => 'This coupon template ID was not created by this account.', 'http_code' => 400, 'description' => 'This coupon template ID was not created by this account.'], ['code' => 'ERROR_3103', 'message' => 'The expiration date of the coupon\'s effective time cannot be earlier than the current time.', 'http_code' => 400, 'description' => 'The expiration date of the coupon\'s effective time cannot be earlier than the current time. '."\n"], ['code' => 'ERROR_3210', 'message' => 'The current calling UID is not an international channel partner.', 'http_code' => 400, 'description' => 'The current calling UID is not an international channel partner'], ['code' => 'InvalidParam.InviteId.InvalidId', 'message' => 'No invitation record found based on inviteId.', 'http_code' => 400, 'description' => 'No invitation record found based on request ID'], ['code' => 'InvalidParam.Uid.NotYourEu', 'message' => 'This uid is not your EU.', 'http_code' => 400, 'description' => 'This user is not your distribution customer'], ['code' => 'InvalidParam.Uid.NotYourEu', 'message' => 'The current customer does not belong to this partner.', 'http_code' => 400, 'description' => 'Current customer does not belong to this partner'], ['code' => 'InvalidParam.Uid.QuotaListEndDateNullError', 'message' => 'No End Time.', 'http_code' => 400, 'description' => 'End time is empty'], ['code' => 'InvalidParam.Uid.QuotaListStartDateNullError', 'message' => 'No Start Time.', 'http_code' => 400, 'description' => 'The start time is empty.'], ['code' => 'InvalidRequest.ExportTask.SceneCodeError', 'message' => 'The exporting scenario is incorrect.', 'http_code' => 400, 'description' => 'Export Scene Error'], ['code' => 'InvalidRequest.ExportTask.SceneCodeNull', 'message' => 'The exporting scenario is empty.', 'http_code' => 400, 'description' => 'The exported scene is empty.'], ['code' => 'InvalidRequest.NoPermissions', 'message' => 'No permissions for the operation.', 'http_code' => 400, 'description' => 'You do not have permission to perform this operation.'], ['code' => 'InvalidRequest.NoPermissions.NotPartner', 'message' => 'The current caller is not a partner.', 'http_code' => 400, 'description' => 'The current caller is not an eco-partner'], ['code' => 'InvalidRequest.NoPermissions.RamNoPermission', 'message' => 'You have no permission to do this operation. Please check with your RAM Policy configuration.', 'http_code' => 400, 'description' => 'You have no permission to do this operation. Please check with your RAM Policy configuration.'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListExportTasks'], ], 'createdAt' => '2025-11-27T08:25:45.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'ListExportTasks'], ], 'createdAt' => '2025-11-05T09:01:09.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetAccountInfo'], ], 'createdAt' => '2024-11-05T01:47:16.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'GetCoupondeductProductCode'], ], 'createdAt' => '2024-09-26T04:14:39.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateCouponTemplate'], ], 'createdAt' => '2024-09-11T12:09:57.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetAccountInfo'], ['description' => 'Request parameters changed', 'api' => 'InviteSubAccount'], ['description' => 'Request parameters changed', 'api' => 'SetAccountInfo'], ], 'createdAt' => '2024-04-18T06:55:35.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetCreditInfo'], ], 'createdAt' => '2023-12-22T03:27:36.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed, Request parameters changed', 'api' => 'InviteSubAccount'], ], 'createdAt' => '2023-10-13T09:19:47.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'InviteSubAccount'], ], 'createdAt' => '2023-09-07T12:09:10.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'SubscriptionBill'], ], 'createdAt' => '2022-12-29T13:32:39.000Z', 'description' => '添加设置信控接口', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCouponTemplate'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportCustomerQuotaRecord'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetAccountInfo'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeductOutstandingBalance'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditNewBuyStatus'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCountries'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CouponApprovalStatusList'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuotaListExportPaged'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInviteStatus'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCouponTemplateDetail'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetShutdownPolicyRecord'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubscriptionBill'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUnassociatedCustomer'], ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountInfo'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetWarningThreshold'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCoupondeductProductCode'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResendEmail'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDailyBill'], ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCouponUsage'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditEndUserStatus'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCreditInfo'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelSubscriptionBill'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelCoupon'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InviteSubAccount'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetCreditLine'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPurchaseControlRecord'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomerOrders'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCouponTemplate'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EditZeroCreditShutdown'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CustomerQuotaRecordList'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomer'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMonthlyBill'], ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IssueCouponForCustomer'], ], ], 'ram' => [ 'productCode' => 'Agency', 'productName' => 'Alibaba Cloud Channel Partner', 'ramCodes' => ['agency'], 'ramLevel' => 'OPERATION', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'DeductOutstandingBalance', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:DeductOutstandingBalance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListCouponUsage', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListCouponUsage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditEndUserStatus', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditEndUserStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateCouponTemplate', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:CreateCouponTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetShutdownPolicyRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetShutdownPolicyRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetPurchaseControlRecord', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:GetPurchaseControlRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'InviteSubReseller', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:InviteSubReseller', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetWarningThreshold', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetWarningThreshold', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetCreditLine', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetCreditLine', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CustomerQuotaRecordList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:CustomerQuotaRecordList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCoupondeductProductCode', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCoupondeductProductCode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListExportTasks', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListExportTasks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SubscriptionBill', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:SubscriptionBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetMonthlyBill', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetMonthlyBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCreditInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCreditInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'InviteSubAccount', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:InviteSubAccount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'SetAccountInfo', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:SetAccountInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateCustomer', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'agency:CreateCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCouponTemplateDetail', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCouponTemplateDetail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CouponApprovalStatusList', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:CouponApprovalStatusList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'QueryReversedDeductionHistory', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:QueryReversedDeductionHistory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelSubscriptionBill', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:CancelSubscriptionBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCustomerOrders', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCustomerOrders', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditZeroCreditShutdown', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditZeroCreditShutdown', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCommissionableProducts', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetCommissionableProducts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetInviteStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetInviteStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDailyBill', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetDailyBill', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelCoupon', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:CancelCoupon', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAccountInfo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetAccountInfo', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ResendEmail', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:ResendEmail', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteCouponTemplate', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:DeleteCouponTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExportReversedDeductionHistory', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ExportReversedDeductionHistory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExportCustomerQuotaRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ExportCustomerQuotaRecord', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'EditNewBuyStatus', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'agency:EditNewBuyStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'QuotaListExportPaged', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:QuotaListExportPaged', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetUnassociatedCustomer', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:GetUnassociatedCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListCountries', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'agency:ListCountries', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'IssueCouponForCustomer', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'agency:IssueCouponForCustomer', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'Agency', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];