--- title: "Create or update a CRM data source" slug: "create-or-update-a-crm-data-source" updated: 2026-04-22T14:22:01Z published: 2026-04-22T14:22:50Z canonical: "docs.zilliant.com/create-or-update-a-crm-data-source" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # Create or update a CRM data source Put/v1/SyncRegistry/CrmDataSource/{crmDataSourceId} Creates a CRM data source in the SRS database or updates an existing one. SecurityAPI Key: AuthorizationHeader parameter nameAuthorization Add an **Authorization** header to authenticate requests originating outside of Zilliant's internal network. Set the header to `Authorization: OAuth <tokenResponseBase64>`. `<tokenResponseBase64>` is the Base64-encoded entire JSON response body returned by the Salesforce OAuth token endpoint. Encode the full JSON payload, not only the **access_token** field. For details, read [Request an access token](https://docs.zilliant.com/apidocs/request-an-access-token). Header parametersX-Forwarded-Hoststring OAuth host for your environment. Use it for all requests that originate outside Zilliant’s internal network. For details, read **X-Forwarded-Host header** in [Introduction](https://docs.zilliant.com/apidocs/introduction-2#xforwardedhost-header). Path parameterscrmDataSourceIdstringRequired Unique CRM data source ID to fetch. ExamplecrmSalesforceProd Body parametersCreate or update a CRM data source Example of a CRM data source details ```json { "crmDataSourceId": "123456789", "type": "DYNAMICS", "purpose": "SALESMAX" } ``` object crmDataSourceIdstring Unique CRM data source ID. Must match the `crmDataSourceId`` path parameter. When creating, enter a meaningful ID. When updating, enter an ID of that data source. Example123456789 typestring Type of the CRM system. Valid values[ "SALESFORCE", "DYNAMICS" ]ExampleDYNAMICS purposestring Salesforce org against which to run the job. Supported values: - **ZILLIANT**—Use for ZPF and ZMX - **PRICE_CONNECT**—Use for ZPL - **SALESMAX**—Use for ZSX and ZSC - **IDENTITY_PROVIDER**—Use for OAuth Valid values[ "ZILLIANT", "PRICE_CONNECT", "SALESMAX", "IDENTITY_PROVIDER" ]ExampleSALESMAX Responses204 CRM data source created or updated successfully.