Update multiple account records

Validates the object record details and updates multiple records in the given object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum

The field to use for updating the record.

Note: Default value set to ID.

Allowed:
boolean

Set to true to get the payload in response.

Note: Default value set to false.

boolean
Body Params

Details about the record. For example: Name = "Mark", Description = "Description", ID = "263rd72c-edfc-4dc5-b72f-45104fe5ef43", externalId = "4614d72c-edfd-4dc5-b72f-45104fe5ef43".

Note: The fields/properties must be part of the schema/metadata created for the custom object (in this case, Name, Description, ID. and externalId must be fields in the schema). The schema and metadata can be generated using the Schema Manager API.


Refer to the following table to understand the behavior when you want to update records by ID field.

         | ID in payload? | ExternalId in payload? | Behavior | Validation |
         |----------------|------------------------|----------|------------|
         | Yes            | Yes                    | Update the record using the `ID` if it exists, and ensure the `externalId` is unique. | ExternalId unique validation |
         | Yes            | No                     | Update the record using the `ID` if it exists, and ensure the `externalId` is unique. | NA |
         | No             | Yes                    | Invalid scenario. Throw a validation error. | Throw a validation error if the ID is not found, indicating that the ID must exist. |
         | No             | No                     | Invalid scenario. Throw a validation error. | NA |
         Refer to the following table to understand the behavior when you want to update records by externalId field.
        
         | ID in payload? | ExternalId in payload? | Behavior | Validation |
         |----------------|------------------------|----------|------------|
         | Yes            | Yes                    | Update the record using the `externalId` if it exists. | The record's ID must match the ID provided in the payload. If not, give an error. Do not allow the ID to be updated in any case. |
         | Yes            | No                     | Invalid scenario. Throw a validation error. | Throw a validation error indicating that the externalId must exist. |
         | No             | Yes                    | Update the record using the `externalId` if it exists. | NA |
         | No             | No                     | Invalid scenario. Throw a validation error. | Throw a validation error indicating that the externalId must exist. |

Account Request Example

string | null

Name for the record.

string | null

Account number

string | null

Account source

string | null

Billing address

string | null

Billing city

string | null

Channel program name

string | null

Industry

string | null

Is customer portal

boolean

Is partner

int32

Annual revenue

string | null

Billing country

string | null

Billing country code

string | null

Billing postal code

string | null

Billing state

string | null

Billing street

string | null

Channel program level name

string | null

Description

string | null

Fax

Owner
object | null

Owner Id and Name associated with record

string | null

Ownership

Parent
object | null

Parent

string | null

Phone number

string | null

Photo Url

string | null

Rating

string | null

Shipping address

string | null

Shipping city

string | null

Shipping country

string | null

Shipping country code

string | null

Shipping postal code

string | null

Shipping state

string | null

Shipping street

string | null

Site

string | null

Type

string | null

Website

PriceList
object | null

PriceList Id and Name associated with record

Responses
200

OK

400

Bad Request

403

Forbidden

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json