Skip to content

Commit 5ead16d

Browse files
ECWID-145869 New customer import: improve the default phone update logic - customer.primaryPhone in apiv3
- added UpdatedCustomer.primaryPhone to WriteOnlyFields
1 parent 3bfa468 commit 5ead16d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/kotlin/com/ecwid/apiclient/v3/rule/NonDuplicablePropertyRules.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ val nonDuplicablePropertyRules: List<NonDuplicablePropertyRule<*, *>> = listOf(
1919
WriteOnly(UpdatedVariation.AttributeValue::alias),
2020
WriteOnly(UpdatedVariation.AttributeValue::name),
2121
WriteOnly(UpdatedProduct.RelatedProducts::productSkus),
22+
WriteOnly(UpdatedCustomer::primaryPhone), // contact becomes impossible to delete - rest4j replaces null with current value on writes
2223

2324
)
2425

0 commit comments

Comments
 (0)