API にて重複レコードを更新する場合は、1 APIコールにおいて重複レコードを制限値 12 より少ないレコード数で処理する必要があります。
この制限に抵触した場合には以下のエラーが発生します。
エラー内容: "Maximum Number Of Duplicate Updates In One Batch (12 Allowed). Attempt To Update Id More Than Once In This Api Call: <recordId>"
重複レコード数は以下のように計算されます。
以下の8レコードの更新では、1 と 2(重複レコード1)、 3, 4 と 5(重複レコード2)、 6 と 7(重複レコード1) のレコードId がそれぞれ同一のため重複レコードは 4 となります。
| レコードId | |
|---|---|
| 1 | 0019000000wNLKa |
| 2 | 0019000000wNLKa |
| 3 | 0019000000wNLKb |
| 4 | 0019000000wNLKb |
| 5 | 0019000000wNLKb |
| 6 | 0019000000wNLKc |
| 7 | 0019000000wNLKc |
| 8 | 0019000000wNLKe |
例えば、以下ケースでは 1, 2 と 3 で同じレコードId が重複していますが重複しているレコードは 2 で計算されます。
| レコードId | |
|---|---|
| 1 | 0019000000wNLKa |
| 2 | 0019000000wNLKa |
| 3 | 0019000000wNLKa |
000386990

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.