Skip to content

SDK-563/preferUserId-configurable#578

Open
jena-chakour wants to merge 2 commits into
mainfrom
SDK-563/preferUserId-configurable
Open

SDK-563/preferUserId-configurable#578
jena-chakour wants to merge 2 commits into
mainfrom
SDK-563/preferUserId-configurable

Conversation

@jena-chakour

@jena-chakour jena-chakour commented Jul 13, 2026

Copy link
Copy Markdown

JIRA Ticket(s) if any

Description

Make preferUserId configurable.

Test Steps

Previously the SDK hardcoded preferUserId: true on users/update, commerce
updateCart, and trackPurchase requests, overriding any value the caller passed.
Now it uses `payload.preferUserId ?? true` (and `payload.user?.preferUserId ?? true`
for the nested commerce user), so callers can opt out while the default stays true.
@jena-chakour jena-chakour requested a review from mprew97 as a code owner July 13, 2026 22:08
@jena-chakour jena-chakour changed the title Sdk 563/prefer user id configurable SDK-563/preferUserId-configurable Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant