Create Orkestro Partner Integration

Create Orkestro partner integration with a business.

Parameters
  • dataformData, objectRequired

    Form Data needed when creating a new Orkestro Partner Integrations.

    • typestringRequired

      Provide Partner Integrations type. Current selection is only partner_integrations.

    • relationshipsformData, objectRequired

      Relationships object with business object.

      • businessformData, objectRequired

        Add a Business relationships link.

        • idstringRequired

          Related Business id.

        • typestringRequired

          Business type; business.

POST/api/v1/partner_integrations/orkestro/connect

{
  const res = await fetch(`${BASE_URL}/api/v1/partner_integrations/orkestro/connect`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)});

  const data = await res.json();
}

RESPONSE


Delete Orkestro Partner Integration

Delete a Orkestro partner integration for a given business.

Parameters
  • dataformData, objectRequired

    Form Data needed when deleteing a Orkestro Partner Integrations.

    • typestringRequired

      Provide Partner Integrations type. Current selection is only partner_integrations.

    • relationshipsformData, objectRequired

      Relationships object with business object.

      • businessformData, objectRequired

        Add a Business relationships link.

        • idstringRequired

          Related Business id.

        • typestringRequired

          Business type; business.

DELETE/api/v1/partner_integrations/orkestro/disconnect

{
  const res = await fetch(`${BASE_URL}/api/v1/partner_integrations/orkestro/disconnect`, {
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    }});
  const data = await res.json();
}