-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I noticed that in the storefront-events-sdk schema for place-order, the orderId is defined as an integer:
export type Order = {
...
orderId: string;
...
const mockOrder = {
...
orderId: 111111,
...
And in the Snowplow example event payload (v1.15.0), it is also defined as:
https://github.com/adobe/commerce-events/blob/v1.15.0/examples/events/snowplow-debugger/order.json
"orderId": {
"type": "integer"
},
Questions
- Should orderId strictly remain an integer, or should it support string as well?
- If the type changes (e.g., from integer to string or to a union type), could this impact the Live Search Dashboard, specifically the Conversion Rate metric?
To avoid potential integration or validation issues, it would be helpful to align the schema with the example (or vice versa) to ensure consistency and prevent issues if any.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels