Skip to content

Commit 019741b

Browse files
marcmlcclaude
andauthored
Make from and into required on merge_contacts_request (#582)
The merge endpoint (POST /contacts/merge) resolves from/into via find_user and cannot succeed without both, so they are de-facto required. Declare them in the schema across all supported API versions to match runtime behavior. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a20990d commit 019741b

10 files changed

Lines changed: 30 additions & 0 deletions

descriptions/0/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34619,6 +34619,9 @@ components:
3461934619
description: Merge contact data.
3462034620
type: object
3462134621
title: Merge contact data
34622+
required:
34623+
- from
34624+
- into
3462234625
properties:
3462334626
from:
3462434627
type: string

descriptions/2.10/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15214,6 +15214,9 @@ components:
1521415214
description: Merge contact data.
1521515215
type: object
1521615216
title: Merge contact data
15217+
required:
15218+
- from
15219+
- into
1521715220
properties:
1521815221
from:
1521915222
type: string

descriptions/2.11/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16554,6 +16554,9 @@ components:
1655416554
description: Merge contact data.
1655516555
type: object
1655616556
title: Merge contact data
16557+
required:
16558+
- from
16559+
- into
1655716560
properties:
1655816561
from:
1655916562
type: string

descriptions/2.12/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16618,6 +16618,9 @@ components:
1661816618
description: Merge contact data.
1661916619
type: object
1662016620
title: Merge contact data
16621+
required:
16622+
- from
16623+
- into
1662116624
properties:
1662216625
from:
1662316626
type: string

descriptions/2.13/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18227,6 +18227,9 @@ components:
1822718227
description: Merge contact data.
1822818228
type: object
1822918229
title: Merge contact data
18230+
required:
18231+
- from
18232+
- into
1823018233
properties:
1823118234
from:
1823218235
type: string

descriptions/2.14/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20535,6 +20535,9 @@ components:
2053520535
description: Merge contact data.
2053620536
type: object
2053720537
title: Merge contact data
20538+
required:
20539+
- from
20540+
- into
2053820541
properties:
2053920542
from:
2054020543
type: string

descriptions/2.15/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21484,6 +21484,9 @@ components:
2148421484
description: Merge contact data.
2148521485
type: object
2148621486
title: Merge contact data
21487+
required:
21488+
- from
21489+
- into
2148721490
properties:
2148821491
from:
2148921492
type: string

descriptions/2.7/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13117,6 +13117,9 @@ components:
1311713117
description: Merge contact data.
1311813118
type: object
1311913119
title: Merge contact data
13120+
required:
13121+
- from
13122+
- into
1312013123
properties:
1312113124
from:
1312213125
type: string

descriptions/2.8/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13142,6 +13142,9 @@ components:
1314213142
description: Merge contact data.
1314313143
type: object
1314413144
title: Merge contact data
13145+
required:
13146+
- from
13147+
- into
1314513148
properties:
1314613149
from:
1314713150
type: string

descriptions/2.9/api.intercom.io.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14494,6 +14494,9 @@ components:
1449414494
description: Merge contact data.
1449514495
type: object
1449614496
title: Merge contact data
14497+
required:
14498+
- from
14499+
- into
1449714500
properties:
1449814501
from:
1449914502
type: string

0 commit comments

Comments
 (0)