Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

User Management > Accounts > Invitations > B2 B → Assign Customers

AI-generated

Summary

Assigns customers to a B2B invitation by sending partnership IDs to the Infomaniak API.

Inputs

  • authentication (required) — Authentication method to use for the request. Either OAuth2 or API Key. Defaults to OAuth2.
  • path_account (required) — The ID of the Infomaniak account whose invitation will be updated.
  • path_invitation (required) — The ID of the B2B invitation to which customers will be assigned.
  • body_partnership_ids (required) — JSON object or array containing the partnership IDs of the customers to assign.
  • returnFullResponse — If set to true, the node returns the full raw API response; otherwise it returns only the processed result. Defaults to false.

Output shape

When returnFullResponse is false, the operation returns the processed data from the API (typically the result of the assignment). When true, it returns the complete raw response from the Infomaniak API.

The actual HTTP method and endpoint are handled internally by the infomaniakApiRequest helper function shown in the node source.

Examples

Example 1: Assign two partnership IDs to invitation 42 in account 7 using OAuth2.

Set Authentication: OAuth2, Account: 7, Invitation: 42, Partnership Ids: [101, 102], Return Full Response: false.

Links

Discussion