Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Support for creating multiple related entities in the same step #11

@tttp

Description

@tttp

Hi,

On the latest versions of civi, the expected format is to have
{"organization_name":"acme",
"api.address.create":{
"country": "es",
"is_primary":1,
"city":"madrid",
...
},
"contact_type":"organization"
...
}

I don't think we can do that with your plugin. Am I missing something? Did you have to do something similar and found a workaround?

For the generic question: how to create several entities in one step? the way I do it from node.js or class.api.php is to chain the api and put that into a big post "json"="json encoded of all the params"
X+

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions