This commit is contained in:
@@ -190,3 +190,10 @@ Public listing and product details include nullable `sellerDescription` from
|
||||
`PATCH /api/v1/admin/settings` accepts this optional plain-text field (trimmed,
|
||||
maximum 2,000 characters); send an empty string to remove it. Omitted fields
|
||||
retain their current values. Private settings are not exposed in public DTOs.
|
||||
|
||||
Seller contact removal uses the same explicit-empty-string convention:
|
||||
`general.publicContactEmail` accepts a valid email or `""`, and
|
||||
`general.publicContactPhone` accepts up to 50 characters or `""`. Both are trimmed;
|
||||
whitespace-only strings clear the contact. Omitted contact fields retain their
|
||||
saved values. `null` is not a settings input. Public listing/product detail DTOs
|
||||
return `null` for empty or absent contacts, so no contact link is rendered.
|
||||
|
||||
Reference in New Issue
Block a user