企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

第三方应用接口调用许可 → [接口许可] 下单购买账号

AI-generated

Summary

Submit a new WeCom interface-license purchase order for a company, specifying the account quantities and purchase duration.

Inputs

  • Provider Access Token (required) — The service provider's provider_access_token.
  • 企业ID (required) — ID of the company buying the interface license.
  • 下单人 (required) — Plaintext userid of a service-provider company member who has logged into WeCom, linked WeChat, and has permission to purchase interface licenses. Another person may make the payment.
  • 基础账号个数 — Number of base accounts to purchase; defaults to 0 and can be up to 1,000,000 (up to 1,000 for a service-provider test company). Cannot be 0 if 互通账号个数 is also 0.
  • 互通账号个数 — Number of external-contact accounts to purchase; defaults to 0 and can be up to 1,000,000 (up to 1,000 for a service-provider test company). Cannot be 0 if 基础账号个数 is also 0.
  • 购买月数 — Purchase duration in months; defaults to 1. Each month counts as 31 days. The total duration must be 31–1,860 days; test companies support only one month.
  • 购买天数(可选) — Additional purchase days; defaults to 0. Combined duration is months × 31 plus days. Test companies do not support specifying additional days.

Output shape

Not established by the supplied source pack.

The source pack contains only function signatures for this operation and does not show its request or return handling. The properties declare the purchase inputs and constraints; they do not establish the response shape.

Links

Discussion