--- title: Party Management Open API v2 description: The Party Management Open API v2 provides endpoints for managing parties with a relationship to the enterprise, such as accounts, consumers, and contacts. Use this API to create, update, retrieve, and inactivate records in the Consumer \[csm\_consumer\], Account \[customer\_account\], and Contact \[customer\_contact\] tables.Inactivates a specified record from the Consumer \[csm\_consumer\] and Contact \[customer\_contact\] tables.Retrieves a specified record from the Consumer \[csm\_consumer\] or Contact \[customer\_contact\] tables. You can filter results by specific fields.Retrieves a list of all individual \(party\) records with a relationship to the enterprise. You can filter results by specific fields or IDs.Retrieves a specified record from the Account \[customer\_account\] tables. You can filter results by specific fields or IDs.Retrieves organization-level party records from the Company \[core\_company\] and Account \[customer\_account\] tables. You can filter results by specific fields or IDs.Updates an existing individual party record in the Consumer \[csm\_consumer\] or Contact \[customer\_contact\] table without replacing the entire resource.Updates an existing individual party record in the Account \[customer\_account\] tables without replacing the entire resource.Creates a new individual party management record in the Consumer \[csm\_consumer\] or Contact \[customer\_contact\] tables.Creates a new party organization record in the Account \[customer\_account\] tables. You can also create and associate Contact and Location records inline during organization creation, eliminating the need for separate POST operations. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/rest-apis/tmf-party-mgmt-API-v2.html release: brazil product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-11-04" reading_time_minutes: 106 breadcrumb: [Party Management Open API, REST API reference, API reference, API implementation and reference] --- # Party Management Open API v2 The Party Management Open API v2 provides endpoints for managing parties with a relationship to the enterprise, such as accounts, consumers, and contacts. Use this API to create, update, retrieve, and inactivate records in the Consumer \[csm\_consumer\], Account \[customer\_account\], and Contact \[customer\_contact\] tables. The Party Management Open API is a ServiceNow implementation of the TM Forum Party Management API REST specification, based on the TMF632 Party Management API Conformance Profile v5.0.0, June 2025. The API is conformance certified by TM Forum. This API is provided within the sn\_tmf\_api namespace. The calling user must have the sn\_tmf\_api.party\_integrator role. The Customer Service Base Entities \(com.snc.cs\_base\) plugin is required. v2 is the current version of the Party Management Open API and aligns with the TMF632 CTK. Requests use v2 by default. To use a [Party Management Open API v1](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/rest-apis/tmf-party-mgmt-API-v1.md) endpoint, specify v1 in the endpoint path. You can extend this API to customize required parameters, request body validation, additional REST operations, and field mappings. Sensitive fields, such as phone numbers, may require special ACL permissions for update or retrieval. **Parent Topic:**[Party Management Open API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/rest-apis/tmf-party-management-open-api.md) ## Party Management v2 – DELETE /api/sn\_tmf\_api/v2/party/individual/\{id\} Inactivates a specified record from the Consumer \[csm\_consumer\] and Contact \[customer\_contact\] tables. ### URL format Versioned URL: `/api/sn_tmf_api/{api_version}/party/individual/{id}` Default URL: `/api/sn_tmf_api/v2/party/individual/{id}` ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id or external\_id of the Consumer or Contact record to set to an inactive state.Table: Consumer \[csm\_consumer\] and Contact \[customer\_contact\]. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| None | **Note:** Doesn't return a response body. Reference status codes for a success or failure indicator. |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id or external\_id of the consumer or contact record to retrieve.Table: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid fields: - `@type` - `familyName` - `gender` - `givenName` - `href` - `id` - `middleName` - `name` - `nationality` - `status` - `title` Data type: String Default: Returns all fields |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | Consumer or Contact record. Consumers don't return **name**, and Contacts don't return **nationality**.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } ``` |
| @type | Type of the individual record.Possible values: - `Consumer` - `Contact` Data type: String |
| contactMedium | List of ways to contact the individual. Always includes business, home, and mobile phone entries, even when they're empty. Consumers also include a fax entry. A fax number saved on a Contact isn't returned. Email and address entries are included only when the record has them.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String" } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. Consumers only. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. Consumers only. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Always `false` in GET responses.Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the individual in external systems, such as social profiles. Empty if the individual has none.Data type: Array of Objects ``` "externalReference": [ { "@type": "String", "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.@type | Type of the external reference. Value is always `ExternalIdentifier`.Data type: String |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | First name of the individual.Data type: String |
| href | Link to the Consumer or Contact record.Data type: String |
| id | Sys\_id of the Consumer or Contact record. Always the sys\_id, even when the record has an external ID.Table: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. A Consumer returns its linked user. A Contact returns its account.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record.Possible values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| @type | Filter the list by record type. The value isn't case-sensitive. Replaces the v1 **role** query parameter. A request that includes **role** returns an error.Valid values: - `Consumer`: Return only Consumer records. - `Contact`: Return only Contact records. Data type: String Default: Returns only Consumer records. |
| fields | List of fields to return in the response. Invalid fields are ignored.Valid fields: - `@type` - `familyName` - `gender` - `givenName` - `href` - `id` - `middleName` - `name` - `nationality` - `status` - `title` Data type: String Default: Returns all fields. |
| id | Filter party management by sys\_id. Specified sys\_ids are returned in the response.Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the **offset** parameter to paginate record retrieval.Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval.Data type: Number Default: 0 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Header | Description |
|---|---|
| Content-Range | Range of content returned in a paginated call.For example, if offset=2 and limit=3, the value of the Content-Range header is items 3-5. |
| Content-Type | Data format of the response body. Only supports application/json. |
| Link | Contains the following links to navigate through query results: - first - last - next - previous |
| X-Total-Count | For paginated queries, this header specifies the total number of records available on the server. |
| Status code | Description |
|---|---|
| 200 | Request successfully processed. Full resource returned in response \(no pagination\). |
| 206 | Partial resource returned in response \(with pagination\). |
| 400 | Bad request. Possible reasons:- Invalid path parameter - Invalid URI |
| 404 | Record not found. No records matching the query parameters are found in the table. |
| Name | Description |
|---|---|
| \{Response object\} | List of Consumer or Contact records. Each record in the array has the following structure. Consumers don't return **name**, and Contacts don't return **nationality**.``` [ { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } ] ``` |
| @type | Type of the individual record.Possible values: - `Consumer` - `Contact` Data type: String |
| contactMedium | List of ways to contact the individual. Always includes business, home, and mobile phone entries, even when they're empty. Consumers also include a fax entry. A fax number saved on a Contact isn't returned. Email and address entries are included only when the record has them.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String" } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. Consumers only. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. Consumers only. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Always `false` in GET responses.Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the individual in external systems, such as social profiles. Empty if the individual has none.Data type: Array of Objects ``` "externalReference": [ { "@type": "String", "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.@type | Type of the external reference. Value is always `ExternalIdentifier`.Data type: String |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | First name of the individual.Data type: String |
| href | Link to the Consumer or Contact record.Data type: String |
| id | Sys\_id of the Consumer or Contact record. Always the sys\_id, even when the record has an external ID.Table: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. A Consumer returns its linked user. A Contact returns its account.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record.Possible values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id of the company or account record to retrieve.Table: Account \[customer\_account\] Data type: String |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid fields: - `@type` - `href` - `id` - `legalName` - `name` - `status` - `tradingName` Data type: String Default: Returns all fields |
| id | Filter party management by sys\_id. Specified sys\_ids are returned in the response.Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the **offset** parameter to paginate record retrieval.Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks.Data type: Number Default: 0 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | Account record.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } ``` |
| @type | Type of the organization record. Value is always `Account`.Data type: String |
| contactMedium | List of ways to contact the organization. Always includes email, phone, and fax entries, even when they're empty, plus an entry for each linked address.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": "String", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Always `"false"` in GET responses.Data type: String |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the organization in external systems, such as social profiles. Empty if the organization has none.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "name": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram`.Data type: String |
| externalReference.name | Profile URL of the organization in the external system.Data type: String |
| href | Link to the Account record.Data type: String |
| id | Sys\_id of the Account record. Always the sys\_id, even when the record has an external ID.Table: Account \[customer\_account\] Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations related to this organization, such as partner, subsidiary, or branch accounts.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization.Data type: Object ``` "organization": { "@type": "String", "href": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.href | Link to the child organization record.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization of this organization. Empty if the organization has no parent.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization.Data type: Object ``` "organization": { "@type": "String", "href": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.href | Link to the parent organization record.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Value is always `parent`.Data type: String |
| organizationType | Account classification of the organization, such as `customer` or `customer_partner`. Multiple classifications are joined with underscores, in the order customer, partner, vendor, manufacturer. Returned only when the account has at least one classification.Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts related to the organization. Empty if the organization has no contacts.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the related contact.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. Value is always `Organization`.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Requests use `primaryContact`, but GET returns `primary`.Possible values: - `other`: Other contact for the organization. - `primary`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Returned only when the Domain Extensions Installer plugin \(com.glide.domain.msp\_extensions.installer\) is active.Possible values: - `Active`: Organization is active. - `InActive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| @type | Filter the list by record type. Value must be `Account`. Any other value returns an error.Data type: String |
| fields | List of fields to return in the response. Invalid fields are ignored.Valid fields: - `@type` - `href` - `id` - `legalName` - `name` - `status` - `tradingName` Data type: String Default: Returns all fields |
| id | Filter party management by sys\_id. Specified sys\_ids are returned in the response.Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the **offset** parameter to paginate record retrieval.Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks.Data type: Number Default: 0 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | List of Account records. Each record in the array has the following structure.``` [ { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } ] ``` |
| @type | Type of the organization record. Value is always `Account`.Data type: String |
| contactMedium | List of ways to contact the organization. Always includes email, phone, and fax entries, even when they're empty, plus an entry for each linked address.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": "String", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Always `"false"` in GET responses.Data type: String |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the organization in external systems, such as social profiles. Empty if the organization has none.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "name": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram`.Data type: String |
| externalReference.name | Profile URL of the organization in the external system.Data type: String |
| href | Link to the Account record.Data type: String |
| id | Sys\_id of the Account record. Always the sys\_id, even when the record has an external ID.Table: Account \[customer\_account\] Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations related to this organization, such as partner, subsidiary, or branch accounts.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization.Data type: Object ``` "organization": { "@type": "String", "href": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.href | Link to the child organization record.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization of this organization. Empty if the organization has no parent.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization.Data type: Object ``` "organization": { "@type": "String", "href": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.href | Link to the parent organization record.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Value is always `parent`.Data type: String |
| organizationType | Account classification of the organization, such as `customer` or `customer_partner`. Multiple classifications are joined with underscores, in the order customer, partner, vendor, manufacturer. Returned only when the account has at least one classification.Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts related to the organization. Empty if the organization has no contacts.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the related contact.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. Value is always `Organization`.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Requests use `primaryContact`, but GET returns `primary`.Possible values: - `other`: Other contact for the organization. - `primary`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Returned only when the Domain Extensions Installer plugin \(com.glide.domain.msp\_extensions.installer\) is active.Possible values: - `Active`: Organization is active. - `InActive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id of the Consumer or Contact record to update. External IDs aren't accepted.Tables: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| Name | Description |
|---|---|
| \{Request object\} | Fields to update on the Consumer or Contact record. Include only the fields to change, plus the required **@type**. The **@type** value must match the record type.``` { "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } ``` |
| @type | Required. Type of individual record to create or update. Replaces the root **partyOrPartyRole** object from v1. The value isn't case-sensitive.Valid values: - `Consumer`: Consumer record. - `Contact`: Contact record. Any other value, including `Account`, returns an error. Data type: String |
| contactMedium | List of ways to contact the individual.For a Contact, a POST request must include an entry with **contactType** set to `email` and a valid **emailAddress**. Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id or external\_id of an existing location record to link to the individual. Used when **contactType** is `postalAddress`.How the location is handled depends on the record type: - Consumer: If you provide a locationId that doesn't exist, the system creates a new location from the address fields and returns a warning. If you omit locationId, the system creates a new location from the address fields. - Contact: The locationId must match an existing location. If it doesn't, the address is skipped and the response returns a warning. Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Leading and trailing spaces are removed, and a blank value is ignored.On a PATCH request, you can't clear an external ID once it's set. If you send a blank value for a record that already has one, the existing value is kept and the response includes a warning. Data type: String |
| externalReference | List of identifiers of the individual in external systems, such as social profiles. Each entry requires **externalIdentifierType** and **id**.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | First name of the individual.Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences. Each entry requires **name**, **valueType**, and **@type**.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. The rules depend on the record type:- Consumer: Optional. Use the `User` role to link a user. Each `User` entry requires **@type** set to `User`, or the request fails. Entries with any other role are ignored and return a warning. - Contact: Required on POST. Must include an entry with the `Account` role, **@type** set to `Account`, and a **partyOrPartyRole** object with **@type** and the **id** of an existing account. Only the first `Account` entry is used. On PATCH, omit this object to keep the current account. An empty array returns an error. Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record. The value isn't case-sensitive. Any value other than `inactive` sets the record to active.Valid values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | Updated Consumer or Contact record. The response returns the fields sent in the request, plus the record's **id** and **href**.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "warning": [Array] } ``` |
| @type | Type of the individual record.Possible values: - `Consumer` - `Contact` Data type: String |
| contactMedium | List of ways to contact the individual, as sent in the request. Address entries include the **locationId** of the linked location.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the individual in external systems, as sent in the request.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | First name of the individual.Data type: String |
| href | Link to the Consumer or Contact record.Data type: String |
| id | Sys\_id of the Consumer or Contact record. Always the sys\_id, even when the record has an external ID.Table: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. A Consumer returns its linked user. A Contact returns its account.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record.Possible values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| warning | List of warning messages about parts of the request that couldn't be processed. The request still succeeds, but the record is created or updated without the invalid values. Returned only when a warning occurs.Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id of the Account record to update. External IDs aren't accepted.Table: Account \[customer\_account\] Data type: String |
| Name | Description |
|---|---|
| \{Request object\} | Fields to update on the Account record. Include only the fields to change, plus the required **name** and **@type**.``` { "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } ``` |
| @type | Required. Type of organization record to create or update. Replaces the root **partyOrPartyRole** object from v1. Value must be `Account`. Any other value returns an error.Data type: String |
| contactMedium | List of ways to contact the organization. Each entry requires **@type**, **contactType**, and **preferred**.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Valid values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. **Note:** Entries with any other value, such as `mobilePhone`, `businessPhone`, or `homePhone`, are ignored. The response doesn't return a warning for them. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id or external\_id of an existing location record to link to the organization. Used when **contactType** is `postalAddress`.How the location is handled: - If the locationId matches a location, the system links that location to the organization. - If the matching location belongs to a Consumer, the address is skipped and the response returns a warning. - If the locationId doesn't match a location, the system creates a new location from the address fields and saves the locationId as its external ID. - If you omit locationId, the system creates a new location from the address fields. Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Leading and trailing spaces are removed, and a blank value is ignored.On a PATCH request, you can't clear an external ID once it's set. If you send a blank value for a record that already has one, the existing value is kept and the response includes a warning. Data type: String |
| externalReference | List of identifiers of the organization in external systems, such as social profiles. Each entry requires **externalIdentifierType** and **id**.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Required. Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations to relate to this organization, such as partner, subsidiary, or branch accounts. Each entry requires **relationshipType** and **organization**.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization to relate to this organization. Requires **relationshipType** and **organization**.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent.The value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationType | Account classification of the organization. Replaces **partyOrPartyRole.name** from v1. To set more than one classification, join them with underscores. The value is converted to lowercase.Possible values: - `customer` - `manufacturer` - `partner` - `vendor` For example, `customer_partner`. Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees. Each entry requires **name**, **value**, **valueType**, and **@type**.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts related to the organization. Omit this object to keep the current contacts. Each entry requires **role**, **@type** set to `contact`, and a **partyOrPartyRole** object with **id**, **name**, and **@type**.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the related contact.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. For example, `Individual`.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. The value isn't case-sensitive.Possible values: - `other`: Other contact for the organization. - `primaryContact`: Primary contact for the organization. If you send more than one, only the first is used. Data type: String |
| status | Status of the organization record. The value isn't case-sensitive.Valid values: - `active`: Organization is active. - `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | Updated Account record. The response returns the fields sent in the request, plus the record's **id**, **href**, and dates.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "createdDate": "String", "lastModifiedDate": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object}, "warnings": [Array] } ``` |
| @type | Type of the organization record. Value is always `Account`.Data type: String |
| contactMedium | List of ways to contact the organization, as sent in the request.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Valid values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. **Note:** Entries with any other value, such as `mobilePhone`, `businessPhone`, or `homePhone`, are ignored. The response doesn't return a warning for them. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| createdDate | Date and time when the organization record was created, in ISO 8601 format. For example, `2025-06-25T14:32:18.000Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the organization in external systems, as sent in the request.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| href | Link to the Account record.Data type: String |
| id | Sys\_id of the Account record. Always the sys\_id, even when the record has an external ID.Table: Account \[customer\_account\] Data type: String |
| lastModifiedDate | Date and time when the organization record was last modified, in ISO 8601 format. For example, `2026-11-05T10:15:42.000Z`.Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations related to this organization, such as partner, subsidiary, or branch accounts.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization of this organization. Empty if the organization has no parent.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent.The value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationType | Account classification of the organization, such as `customer` or `customer_partner`. Multiple classifications are joined with underscores, in the order customer, partner, vendor, manufacturer. Returned only when the account has at least one classification.Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts related to the organization, as sent in the request.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the related contact.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. For example, `Individual`.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. The value isn't case-sensitive.Possible values: - `other`: Other contact for the organization. - `primaryContact`: Primary contact for the organization. If you send more than one, only the first is used. Data type: String |
| status | Status of the organization record, as sent in the request.Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| warnings | List of warning messages about parts of the request that couldn't be processed. The request still succeeds, but the record is created or updated without the invalid values. Returned only when a warning occurs.Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| \{Request object\} | Consumer or Contact record to create. Requires **@type**, **givenName**, and **familyName**. A Contact also requires an email entry in **contactMedium** and an account in **relatedParty**.``` { "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } ``` |
| @type | Required. Type of individual record to create or update. Replaces the root **partyOrPartyRole** object from v1. The value isn't case-sensitive.Valid values: - `Consumer`: Consumer record. - `Contact`: Contact record. Any other value, including `Account`, returns an error. Data type: String |
| contactMedium | List of ways to contact the individual.For a Contact, a POST request must include an entry with **contactType** set to `email` and a valid **emailAddress**. Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id or external\_id of an existing location record to link to the individual. Used when **contactType** is `postalAddress`.How the location is handled depends on the record type: - Consumer: If you provide a locationId that doesn't exist, the system creates a new location from the address fields and returns a warning. If you omit locationId, the system creates a new location from the address fields. - Contact: The locationId must match an existing location. If it doesn't, the address is skipped and the response returns a warning. Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Leading and trailing spaces are removed, and a blank value is ignored.On a PATCH request, you can't clear an external ID once it's set. If you send a blank value for a record that already has one, the existing value is kept and the response includes a warning. Data type: String |
| externalReference | List of identifiers of the individual in external systems, such as social profiles. Each entry requires **externalIdentifierType** and **id**.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Required. Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | Required. First name of the individual.Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences. Each entry requires **name**, **valueType**, and **@type**.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. The rules depend on the record type:- Consumer: Optional. Use the `User` role to link a user. Each `User` entry requires **@type** set to `User`, or the request fails. Entries with any other role are ignored and return a warning. - Contact: Required on POST. Must include an entry with the `Account` role, **@type** set to `Account`, and a **partyOrPartyRole** object with **@type** and the **id** of an existing account. Only the first `Account` entry is used. On PATCH, omit this object to keep the current account. An empty array returns an error. Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record. The value isn't case-sensitive. Any value other than `inactive` sets the record to active.Valid values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| \{Response object\} | New Consumer or Contact record. The response returns the fields sent in the request, plus the record's **id** and **href**.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "warning": [Array] } ``` |
| @type | Type of the individual record.Possible values: - `Consumer` - `Contact` Data type: String |
| contactMedium | List of ways to contact the individual, as sent in the request. Address entries include the **locationId** of the linked location.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "locationId": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `BusinessPhoneContactMedium`: Business phone number. - `EmailContactMedium`: Email address. - `FaxContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `HomePhoneContactMedium`: Home phone number. - `MobilePhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `faxPhone`: Fax number. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. - `postalAddress`: Physical address. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the individual in external systems, as sent in the request.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| familyName | Last name of the individual.Data type: String |
| gender | Gender of the individual. Must match a choice value on the record. For a Contact created without a gender, the value is set to `Not Specified`.Data type: String |
| givenName | First name of the individual.Data type: String |
| href | Link to the Consumer or Contact record.Data type: String |
| id | Sys\_id of the Consumer or Contact record. Always the sys\_id, even when the record has an external ID.Table: Consumer \[csm\_consumer\] or Contact \[customer\_contact\] Data type: String |
| middleName | Middle name of the individual.Data type: String |
| name | User name of the individual. For a Contact, the user name must be unique.Data type: String |
| nationality | Nationality of the individual.Data type: String |
| partyCharacteristic | List of characteristics of the individual, such as notification and date format preferences.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String or Boolean", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values for a Consumer: - `dateFormat` - `notes` - `notification` - `preferredLanguage` - `timeFormat` - `timeZone` - `user` Possible values for a Contact: - `dateFormat` - `eduStatus` - `notification` - `preferredLanguage` - `source` - `timeFormat` - `timeZone` - `vip` - `webServiceAccessOnly` Data type: String |
| partyCharacteristic.value | Value of the characteristic. Choice characteristics, such as `dateFormat` and `timeZone`, take the display value. An invalid choice value returns a warning.Data type: String, or Boolean for `vip` and `webServiceAccessOnly` |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `string` Data type: String |
| relatedParty | List of parties related to the individual. A Consumer returns its linked user. A Contact returns its account.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| relatedParty.partyOrPartyRole | Details about the related party.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record.Possible values: - `Individual`: Related party is a user. - `Organization`: Related party is an account. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related record. For a Contact's account, requests also accept the account's external\_id, and the response returns the sys\_id.Table: Depends on the role: - Account: Account \[customer\_account\] - User: User \[sys\_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party.Data type: String |
| relatedParty.role | Role that the related party plays for the individual.Possible values: - `Account`: Account of a Contact. - `User`: User linked to a Consumer. Data type: String |
| status | Status of the individual record.Possible values: - `active`: Record is active. - `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`.Data type: String |
| warning | List of warning messages about parts of the request that couldn't be processed. The request still succeeds, but the record is created or updated without the invalid values. Returned only when a warning occurs.Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| \{Request object\} | Account record to create. Requires **name** and **@type**.``` { "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } ``` |
| @type | Required. Type of organization record to create or update. Replaces the root **partyOrPartyRole** object from v1. Value must be `Account`. Any other value returns an error.Data type: String |
| contactMedium | List of ways to contact the organization. Each entry requires **@type**, **contactType**, and **preferred**.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Valid values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. **Note:** Entries with any other value, such as `mobilePhone`, `businessPhone`, or `homePhone`, are ignored. The response doesn't return a warning for them. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id or external\_id of an existing location record to link to the organization. Used when **contactType** is `postalAddress`.How the location is handled: - If the locationId matches a location, the system links that location to the organization. - If the matching location belongs to a Consumer, the address is skipped and the response returns a warning. - If the locationId doesn't match a location, the system creates a new location from the address fields and saves the locationId as its external ID. - If you omit locationId, the system creates a new location from the address fields. Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Leading and trailing spaces are removed, and a blank value is ignored.On a PATCH request, you can't clear an external ID once it's set. If you send a blank value for a record that already has one, the existing value is kept and the response includes a warning. Data type: String |
| externalReference | List of identifiers of the organization in external systems, such as social profiles. Each entry requires **externalIdentifierType** and **id**.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Required. Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations to relate to this organization, such as partner, subsidiary, or branch accounts. Each entry requires **relationshipType** and **organization**.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization to relate to this organization. Requires **relationshipType** and **organization**.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent.The value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationType | Account classification of the organization. Replaces **partyOrPartyRole.name** from v1. To set more than one classification, join them with underscores. The value is converted to lowercase.Possible values: - `customer` - `manufacturer` - `partner` - `vendor` For example, `customer_partner`. Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees. Each entry requires **name**, **value**, **valueType**, and **@type**.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts to relate to the organization. Each entry requires **role** and **@type** set to `contact`.For each entry, the system links or creates a contact based on what you provide in **partyOrPartyRole**: - If the **id** matches an existing contact, the system links that contact to the organization. - If you omit **id**, or it doesn't match a contact, the system creates a new contact from **familyName**, **givenName**, and **contactMedium**. A supplied **id** is saved as the new contact's external ID. - If a new contact is missing **familyName** or a valid email entry in **contactMedium**, the contact isn't created and the response returns a warning. Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the contact to link or create. To link an existing contact, provide **id**. To create a new contact, provide **familyName** and a **contactMedium** entry with an email address.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "contactMedium": [Array], "familyName": "String", "givenName": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. For example, `Individual`.Data type: String |
| relatedParty.partyOrPartyRole.contactMedium | List of contact details for a new contact. Must include an entry with **contactType** set to `email` and a valid **emailAddress**. Address entries are ignored, and invalid email addresses or phone numbers return a warning.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "contactType": "String", "emailAddress": "String", "phoneNumber": "String" } ] ``` |
| relatedParty.partyOrPartyRole.contactMedium.@type | Schema or subclass type of the contact medium. For example, `EmailContactMedium`.Data type: String |
| relatedParty.partyOrPartyRole.contactMedium.contactType | Type of contact channel.Possible values: - `businessPhone`: Business phone number. - `email`: Email address. - `homePhone`: Home phone number. - `mobilePhone`: Mobile phone number. Data type: String |
| relatedParty.partyOrPartyRole.contactMedium.emailAddress | Email address of the new contact. Used when **contactType** is `email`.Data type: String |
| relatedParty.partyOrPartyRole.contactMedium.phoneNumber | Phone number of the new contact. Used when **contactType** is a phone type.Data type: String |
| relatedParty.partyOrPartyRole.familyName | Last name of the new contact. Required to create a contact inline.Data type: String |
| relatedParty.partyOrPartyRole.givenName | First name of the new contact.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. The value isn't case-sensitive.Possible values: - `other`: Other contact for the organization. - `primaryContact`: Primary contact for the organization. If you send more than one, only the first is used. Data type: String |
| status | Status of the organization record. The value isn't case-sensitive.Valid values: - `active`: Organization is active. - `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed.**Note:** Response may include a **warnings** array if: - Invalid **relatedParty** IDs are provided \(related contact or party doesn't exist\). - Invalid **locationId** is provided in **contactMedium**. Example warning: `relatedParty[0] is incorrect. User does not exist`. |
| Name | Description |
|---|---|
| \{Response object\} | New Account record. The response returns the fields sent in the request, plus the record's **id**, **href**, and dates. Contacts that were linked or created inline include their sys\_id in **relatedParty.partyOrPartyRole.id**.``` { "id": "String", "href": "String", "@type": "String", "externalId": "String", "name": "String", "legalName": "String", "tradingName": "String", "organizationType": "String", "status": "String", "createdDate": "String", "lastModifiedDate": "String", "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object}, "warnings": [Array] } ``` |
| @type | Type of the organization record. Value is always `Account`.Data type: String |
| contactMedium | List of ways to contact the organization, as sent in the request.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "city": "String", "contactType": "String", "country": "String", "emailAddress": "String", "latitude": "String", "locationId": "String", "longitude": "String", "phoneNumber": "String", "postCode": "String", "preferred": Boolean, "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] ``` |
| contactMedium.@type | Schema or subclass type of the contact medium.Possible values: - `EmailContactMedium`: Email address. - `FaxPhoneContactMedium`: Fax number. - `GeographicalAddressContactMedium`: Physical address. - `PhoneContactMedium`: Phone number. Data type: String |
| contactMedium.city | City of the address.Data type: String |
| contactMedium.contactType | Type of contact channel. Replaces the v1 **mediumType** parameter.Valid values: - `email`: Email address. - `faxPhone`: Fax number. - `phone`: Phone number. - `postalAddress`: Physical address. **Note:** Entries with any other value, such as `mobilePhone`, `businessPhone`, or `homePhone`, are ignored. The response doesn't return a warning for them. Data type: String |
| contactMedium.country | Country of the address.Data type: String |
| contactMedium.emailAddress | Email address. Used when **contactType** is `email`.Data type: String |
| contactMedium.latitude | Latitude of the address.Data type: String |
| contactMedium.locationId | Sys\_id of the location record linked to the address.Table: Location \[cmn\_location\] Data type: String |
| contactMedium.longitude | Longitude of the address.Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Used when **contactType** is a phone or fax type.Data type: String |
| contactMedium.postCode | Postal code of the address.Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium.Valid values: - `true`: Preferred contact medium. - `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`.Data type: String |
| contactMedium.street1 | First line of the street address.Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor.Data type: String |
| contactMedium.validFor | Period during which the contact medium is valid.Data type: Object ``` "validFor": { "startDateTime": "String" } ``` |
| contactMedium.validFor.startDateTime | Date and time from which the contact medium is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`.Data type: String |
| createdDate | Date and time when the organization record was created, in ISO 8601 format. For example, `2025-06-25T14:32:18.000Z`.Data type: String |
| externalId | Identifier of the record in your source system or third-party application. Returned only when the record has an external ID.Data type: String |
| externalReference | List of identifiers of the organization in external systems, as sent in the request.Data type: Array of Objects ``` "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] ``` |
| externalReference.externalIdentifierType | Name of the external system or social channel. For example, `Instagram` or `LinkedIn`.Data type: String |
| externalReference.id | Identifier of the party in the external system, such as a profile URL or handle.Data type: String |
| href | Link to the Account record.Data type: String |
| id | Sys\_id of the Account record. Always the sys\_id, even when the record has an external ID.Table: Account \[customer\_account\] Data type: String |
| lastModifiedDate | Date and time when the organization record was last modified, in ISO 8601 format. For example, `2026-11-05T10:15:42.000Z`.Data type: String |
| legalName | Legal name of the organization.Data type: String |
| name | Name of the organization.Data type: String |
| organizationChildRelationship | List of child organizations related to this organization, such as partner, subsidiary, or branch accounts.Data type: Array of Objects ``` "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] ``` |
| organizationChildRelationship.organization | Details about the child organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationChildRelationship.organization.id | Sys\_id of the child organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization.Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization.In requests, the value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationParentRelationship | Parent organization of this organization. Empty if the organization has no parent.Data type: Object ``` "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } ``` |
| organizationParentRelationship.organization | Details about the parent organization. Requires **id**, **name**, and **@type**.Data type: Object ``` "organization": { "@type": "String", "id": "String", "name": "String" } ``` |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`.Data type: String |
| organizationParentRelationship.organization.id | Sys\_id of the parent organization record.Table: Account \[customer\_account\] or Company \[core\_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization.Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent.The value is converted to lowercase and must match a relationship type defined in your instance. If no match is found, the response includes a warning. Available values depend on your instance configuration. Table: Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] Data type: String |
| organizationType | Account classification of the organization, such as `customer` or `customer_partner`. Multiple classifications are joined with underscores, in the order customer, partner, vendor, manufacturer. Returned only when the account has at least one classification.Data type: String |
| partyCharacteristic | List of characteristics of the organization, such as industry and number of employees.Data type: Array of Objects ``` "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] ``` |
| partyCharacteristic.@type | Subclass type of the characteristic.Possible values: - `BooleanCharacteristic` - `IntegerCharacteristic` - `StringArrayCharacteristic` - `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic.Possible values: - `accountCode` - `customer`: Request only. - `identificationNumber` - `industry` - `manufacturer`: Request only. - `marketCap` - `notes` - `numEmployees` - `partner`: Request only. - `profits` - `publiclyTraded` - `rankTier` - `registrationCode` - `revenuePerYear` - `stockPrice` - `stockSymbol` - `taxId` - `vendor`: Request only. - `vendorType` - `website` **Note:** For the `industry` and `rankTier` characteristics, provide the display value of the choice, such as `Manufacturing` or `Valued Partner`. An invalid value returns a warning. Data type: String |
| partyCharacteristic.value | Value of the characteristic. GET returns all values as strings, regardless of **valueType**. For example, `"false"` or `"10"`.Data type: String. Requests also accept a Boolean, or an Array of Strings for `vendorType`. |
| partyCharacteristic.valueType | Data type of the characteristic's value.Possible values: - `boolean` - `choice` - `currency` - `integer` - `list` - `string` - `url` Data type: String |
| relatedParty | List of contacts related to the organization, as sent in the request.Data type: Array of Objects ``` "relatedParty": [ { "@type": "String", "role": "String", "partyOrPartyRole": {Object} } ] ``` |
| relatedParty.@type | Type of the related party. Value is always `contact`. Required in each request entry.Data type: String |
| relatedParty.partyOrPartyRole | Details about the related contact, as sent in the request. For a contact that was linked or created, **id** holds the contact's sys\_id.Data type: Object ``` "partyOrPartyRole": { "@type": "String", "contactMedium": [Array], "familyName": "String", "givenName": "String", "id": "String", "name": "String" } ``` |
| relatedParty.partyOrPartyRole.@type | Type of the related party record. For example, `Individual`.Data type: String |
| relatedParty.partyOrPartyRole.contactMedium | List of contact details for an inline contact, as sent in the request.Data type: Array of Objects ``` "contactMedium": [ { "@type": "String", "contactType": "String", "emailAddress": "String", "phoneNumber": "String" } ] ``` |
| relatedParty.partyOrPartyRole.familyName | Last name of an inline contact, as sent in the request.Data type: String |
| relatedParty.partyOrPartyRole.givenName | First name of an inline contact, as sent in the request.Data type: String |
| relatedParty.partyOrPartyRole.id | Sys\_id of the related contact record. Requests also accept the contact's external\_id.Table: Contact \[customer\_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact.Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. The value isn't case-sensitive.Possible values: - `other`: Other contact for the organization. - `primaryContact`: Primary contact for the organization. If you send more than one, only the first is used. Data type: String |
| status | Status of the organization record, as sent in the request.Data type: String |
| tradingName | Name that the organization trades under.Data type: String |
| warnings | List of warning messages about parts of the request that couldn't be processed. The request still succeeds, but the record is created or updated without the invalid values. Returned only when a warning occurs.Data type: Array of Strings |