Woocommerce React Native
  • Quick Start
  • Install Libs
  • Woocommerce
  • App Config
  • Payment
  • Release Android
  • Release iOS
  • Useful Links
  • Custom API
  • Order Pick Up
Powered by GitBook
On this page

Was this helpful?

Custom API

You can use custom REST API for Woocommerce mobile app. Please replace these callbacks (info actual for release 1.4)

PreviousUseful LinksNextOrder Pick Up

Last updated 5 years ago

Was this helpful?

Replace init code in App.js

Replace get categories list in CategoryReducer.js

Replace get products list in ProductReducer.js

Replace create order in CheckoutRedux.js

Replace get my order list in MyOrderReducer.js

Promoted list PopularReducer.js and Popular list PopularReducer.js are same.

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

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

Done!