Commit Graph

2 Commits

Author SHA1 Message Date
MastersGame
ad8e39f63c feat(sync): add company details to customer addresses
Addresses with a company are completed through
GET /customers_addresses/:id (tax number, company number, legal status),
which the customer payload does not embed. Addresses without company get
these fields set to null; a failed call keeps the stored values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:48:49 +01:00
MastersGame
9e6e5162ad feat(sync): synchronize customer addresses
Mirror the addresses embedded in GET /customer/🆔 per customer, delete
the ones missing from Hiboutik, then upsert each of them (failures logged
and skipped). CustomerAddress gains its own recipient (firstName,
lastName, company, phone) plus state and other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 10:37:00 +01:00