add received_at column in fulfillment table #3445
Replies: 2 comments 2 replies
-
Sounds like a great idea - I would suggest Is there any other data that you would like to capture when a fulfillment is marked as delivered or is the timestamp the only relevant thing? |
Beta Was this translation helpful? Give feedback.
-
My high-level thinking on the design for this would be: Data model// models/fulfillment.ts
@Column({ type: resolveDbType("timestamptz"), nullable: true })
delivered_at: Date | null Service layerFulfillmentService
APIMark a fulfillment as delivered
Mark a fulfillment as undelivered
Admin
We would need @ludvig18 to create designs for this before starting development on Admin UI. TestingUnit and integration tests should be added. If anyone is up for opening a PR on this we would happily help land it please ping here if you are interested :) |
Beta Was this translation helpful? Give feedback.
-
Hi Medusa Team, is it possible to add
received_at
in fulfillment object?I think usually when we create an order, after the product is shipped, we should be able to track when the product is received.
Currently we can use
fulfillment.shipped_at
to show the date in timeline, maybe if we havereceived_at
, it should be able to be used herePlease kindly consider it, thanks
Beta Was this translation helpful? Give feedback.
All reactions