Merged PR 2045: feature(crm-data-access): Updated Add Card Endpoint

feature(crm-data-access): Updated Add Card Endpoint

Ref: #5329
This commit is contained in:
Nino Righi
2025-11-21 15:41:24 +00:00
committed by Lorenz Hilpert
parent cf359954ca
commit 7a98db35fb
2 changed files with 61 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ export class CrmSearchService {
const parsed = AddCardSchema.parse(params);
const req$ = this.#customerService
.CustomerAddLoyaltyCard({
.CustomerMergeLoyaltyAccounts({
customerId: parsed.customerId,
loyaltyCardValues: {
cardCode: parsed.loyaltyCardValues.cardCode,