Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search invoiced --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search invoiced --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| List Subscriptions | list-subscriptions | Retrieve a list of subscriptions |
| List Items | list-items | Retrieve a list of catalog items |
| List Payments | list-payments | Retrieve a list of payments |
| List Invoices | list-invoices | Retrieve a list of invoices |
| List Customers | list-customers | Retrieve a list of customers |
| Get Subscription | get-subscription | Retrieve a subscription by ID |
| Get Item | get-item | Retrieve a catalog item by ID |
| Get Payment | get-payment | Retrieve a payment by ID |
| Get Invoice | get-invoice | Retrieve an invoice by ID |
| Get Customer | get-customer | Retrieve a customer by ID |
| Create Subscription | create-subscription | Create a new subscription for a customer |
| Create Item | create-item | Create a catalog item (product or service) |
| Create Payment | create-payment | Create a new payment and optionally apply it to invoices |
| Create Invoice | create-invoice | Create a new invoice with line items |
| Create Customer | create-customer | Create a new customer in Invoiced |
| Update Subscription | update-subscription | Update an existing subscription |
| Update Item | update-item | Update an existing catalog item |
| Update Payment | update-payment | Update an existing payment |
| Update Invoice | update-invoice | Update an existing invoice |
| Update Customer | update-customer | Update an existing customer |
| 名称 | 键 | 描述 |
|---|---|---|
| 列出订阅 | list-subscriptions | 获取订阅列表 |
| 列出条目 | list-items | 获取商品目录条目列表 |
| 列出付款 | list-payments | 获取付款列表 |
| 列出发票 | list-invoices | 获取发票列表 |
| 列出客户 | list-customers | 获取客户列表 |
| 获取订阅 | get-subscription | 通过ID获取单个订阅 |
| 获取条目 | get-item | 通过ID获取单个商品目录条目 |
| 获取付款 | get-payment | 通过ID获取单条付款记录 |
| 获取发票 | get-invoice | 通过ID获取单个发票 |
| 获取客户 | get-customer | 通过ID获取单个客户 |
| 创建订阅 | create-subscription | 为客户创建新订阅 |
| 创建条目 | create-item | 创建商品目录条目(产品或服务) |
| 创建付款 | create-payment | 创建新付款记录,可选择将其关联到发票 |
| 创建发票 | create-invoice | 创建包含明细项的新发票 |
| 创建客户 | create-customer | 在Invoiced中创建新客户 |
| 更新订阅 | update-subscription | 更新现有订阅 |
| 更新条目 | update-item | 更新现有商品目录条目 |
| 更新付款 | update-payment | 更新现有付款记录 |
| 更新发票 | update-invoice | 更新现有发票 |
| 更新客户 | update-customer | 更新现有客户 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE),默认是GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串格式) |
| 发送JSON请求体的简写,会自动设置 |
| 按原样发送请求体,不做任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY