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

FEATURE: Order Return Request Controller Should be there in this repo #104

Closed
joydeep808 opened this issue Mar 15, 2024 · 8 comments
Closed
Labels
enhancement New feature or request

Comments

@joydeep808
Copy link

Describe the Feature

Return Request Controller not there
and also in orderModels currentStatus is should be there
currentStatusEnum = ["PENDING" , "SHIPED" , "DELEVERED" , "CENCELLED"]

Use Case

No response

Additional Information

No response

Suggested Tools

No response

Additional Context or Information

No response

@joydeep808 joydeep808 added the enhancement New feature or request label Mar 15, 2024
@wajeshubham
Copy link
Collaborator

Please elaborate on the issue a bit @joydeep808

@joydeep808
Copy link
Author

We want to add order return request because return Route should be there in ecom backend
and also in order Model a status field should be there
because from the status we know the current status of the order
for example
when a new order is created than the status is by default PENDING
after shiped the product status updated to SHIPED if order Cencelled than show the user that the order is cencelled

i think in this repo cancellation route also not there

@joydeep808
Copy link
Author

joydeep808 commented Mar 15, 2024

i am interested to contribute and add this controllers should i go with this issue?

@wajeshubham
Copy link
Collaborator

Explain us what endpoint you will be adding and whats the logic of the whole flow of returning an order from customer point of view as well as admin point of view. Also, there is already a status field in order model which shows current status of the order.

@joydeep808
Copy link
Author

/createNewReturn -----> in this route when a order status is delevered and also from the delivery date i will count if the delivery date is already passed 7 days
than user not able to return this product and if not user can return this product
and when a return request is created than the initial status will be PENDING and after the admin review in this concern admin can reject or accept the return after return request is completed
the refund will be issued for the user
the motive to add this route to provide the user to return delivered product
/getAllPendingReturnRequest
/updateReturnRequestStatus admin can REJECT and APPROAVE And DIRECTLY APPROAVE IN CASE MISSING OR NON RETURNABLE PRODUCT

@joydeep808
Copy link
Author

and we also want to integrate the curiour services in this repo to get the tracking info and updated information
like when a delivery person delivered the product than automatically updates status in our db

@joydeep808
Copy link
Author

should i start working on this?

@joydeep808 joydeep808 changed the title FEATURE: <Return Request Controller Should be there in this repo> FEATURE: Order Return Request Controller Should be there in this repo Mar 16, 2024
@wajeshubham
Copy link
Collaborator

@joydeep808 after reviewing this feature we think for now introducing the return product feature might be little bit redundant as there's no shipping service integration, but we are considering this feature for the next major version where we might introduce some 3rd party shipping services integration in the FreeAPI but for now introducing the return product feature might be a bit redundant. We appreciate your contribution though!

Best regards,
FreeAPI team

@wajeshubham wajeshubham closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants