Code Monkey home page Code Monkey logo

Comments (8)

wajeshubham avatar wajeshubham commented on August 23, 2024

Please elaborate on the issue a bit @joydeep808

from apihub.

joydeep808 avatar joydeep808 commented on August 23, 2024

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

from apihub.

joydeep808 avatar joydeep808 commented on August 23, 2024

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

from apihub.

wajeshubham avatar wajeshubham commented on August 23, 2024

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.

from apihub.

joydeep808 avatar joydeep808 commented on August 23, 2024

/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

from apihub.

joydeep808 avatar joydeep808 commented on August 23, 2024

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

from apihub.

joydeep808 avatar joydeep808 commented on August 23, 2024

should i start working on this?

from apihub.

wajeshubham avatar wajeshubham commented on August 23, 2024

@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

from apihub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.