Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unique comment to cancellation from re-route fulfillment app #102

Open
dt2patel opened this issue Nov 25, 2024 · 2 comments
Open

Add unique comment to cancellation from re-route fulfillment app #102

dt2patel opened this issue Nov 25, 2024 · 2 comments
Assignees

Comments

@dt2patel
Copy link
Contributor

When customer cancels from re-route fulfillment app, there should be a special comment on the cancelation so it's easy to tell why cancelation occurred.

itemCommentMap: "Canceled by customer using Re-Route"

@ymaheshwari1
Copy link
Contributor

Handled this change in the custom app.

Need to handle this in the public app. Also when passing comment/reason map need to pass the payload as:

"orderId": this.order.id,
"shipGroupSeqId": shipGroup.shipGroupSeqId,
"token": this.token,
irm_<orderItemSeqId>: "OICR_CHANGE_MIND",
icm_<orderItemSeqId>: "Canceled by customer using Re-Route"

Do not need to send itemCommentMap/itemReasonMap in payload, all the items will be passed as a separate key/value pair as mentioned above.

@amansinghbais
Copy link
Contributor

This is handled in v2 app: #100

@amansinghbais amansinghbais moved this from 📅 Planned to 👀 In review in Digital Experience Platform Dec 3, 2024
@ymaheshwari1 ymaheshwari1 moved this from 👀 In review to ⏸️ Dev complete in Digital Experience Platform Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⏸️ Dev complete
Development

No branches or pull requests

4 participants