> For the complete documentation index, see [llms.txt](https://viktor-derk.gitbook.io/woocommerce_react_native/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viktor-derk.gitbook.io/woocommerce_react_native/custom-api.md).

# Custom API

![](/files/-LmJPsYNhP-o2jQOG80W)

Replace init code in `App.js`

![](/files/-LmJH42p_07LDBKf4Cch)

&#x20;Replace get categories list in `CategoryReducer.js`&#x20;

![](/files/-LmJI-Gr2QxOjC9o2vjq)

Replace get products list in `ProductReducer.js`

![](/files/-LmJIYGrkeVuwAX_SwpZ)

Replace create order in `CheckoutRedux.js`

![](/files/-LmJIrcInxMkd4oKujNg)

Replace get my order list in `MyOrderReducer.js`&#x20;

![](/files/-LmJJ9KIt17Dq_QQQL18)

Promoted list `PopularReducer.js` and Popular list `PopularReducer.js` are same.&#x20;

![](/files/-LmJJnjZFAsk-f4EO4_h)

![](/files/-LmJJqFmX_i3mv4FM7YY)

Please note that you shoud return customer object on resister `RegisterScreen.js` and login `LoginScreen.js`

![](/files/-LmJKcDQ7Jfn9YVqxJox)

<div align="left"><img src="/files/-LmJKf5GxSM8A6CKci_1" alt=""></div>

User managment without WordPress requred update `WPUserAPI.js` . Please replace these methods with your REST API calls:

![](/files/-LmJM4CsdivLsvTDiEuV)

Done!

![](/files/-LmJOK6H55ir69RVU-Vc)
