Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can modify company relations (entity vs. entity) incrementally instead of an all-in-one sync.

...

Create or update a relationship

...

How to delete all previously created relationships?

...

...

The cleanup property is going to be available in production by 2023-04-20. The old name is collectionStrategy where the value should be recreate

In order to delete all previously created relationships, set the value of the cleanup property to true

Code Block
PUT /api/v1/sync
Authorization: Bearer :token
Content-Type: application/json
{
  "config": {
    "cleanup": true
  },
  "companies": [
    {
      "referenceId": "d",
      "parentCompanies": [
        {
          "referenceId": "b",
          "ownership": 25
        }
      ]
    }
  ]
}

...

Need more help?

Contact us on support@avallone.io and we will get in contact with you as fast as possible.