Creating a return order

Are there any code examples on how the RMA works in litium? We have a case where we want to create an return order that has similar data as the existing order, can this be done simply through an existing metod?

Litium version: 7.6.1

Little code is available here.

The headless addon has a full suite of API controllers and a Postman collection for API testing, so you can see how the flow is implemented.

I have a sample application to handle return, partials return and some other on my github, I don’t know if it would help but take a look at it and maybe u can reuse some of it? GitHub - aramB/Litium: Litium samples, utils etc

Maybe it is the same as Nils is talking about?

1 Like

Your sample looks to be the same as this:
https://docs.litium.com/documentation/litium-connect/develop-integration-applications/demo-erp-connector-application
https://github.com/LitiumAB/Samples/tree/main/Samples/Erp%20connector%20app

Which is about doing this using the Connect framework. The examples in the Headless API uses the platform API. So two sides of the same thing :slight_smile:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.