Skip to content

Conversation

@amywng
Copy link
Member

@amywng amywng commented Feb 2, 2026

ℹ️ Issue

Closes SSF-129

📝 Description

  • Added two fields to order entity: shippingCost and trackingLink and corresponding migration
  • Added endpoint to fill tracking link and shipping cost
  • Added controller test

✔️ Verification

Verified endpoint on Postman and data changes in pgAdmin

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@dburkhart07 dburkhart07 self-requested a review February 4, 2026 01:54
Copy link

@dburkhart07 dburkhart07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small things. Can you update the frontend type for Order too while you're at it?

@amywng amywng requested a review from dburkhart07 February 4, 2026 04:13
Copy link

@dburkhart07 dburkhart07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for now with a question for @Yurika-Kan and @sam-schu.

Perhaps, in the service function, do we want to make sure that we are not putting a tracking link and shipping cost on a pending order? I imagine the flow is that we would never want to call this endpoint on a pending order (if its going from pending to shipped, id imagine we would first call updateStatus and then this one, to which we could still implement this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants