1. Introduction
  2. Installation
    1. Getting Started
    2. Plugin Update (CiyaShop App Version 2.0)
    3. Plugin Installation (CiyaShop App Version 2.0)
  3. API Settings
    1. Support & License
    2. API Keys
    3. WooCommerce API
    4. iOS Application Configuration
    5. Google Maps API
    6. App URL
    7. Test API
    8. Emails
    9. Vendor Settings
  4. App Settings
    1. Primary Logo
    2. Secondary Logo
    3. App Color
    4. Main Category Menu
    5. Home Slider Banner
    6. Category Banners
    7. Banner Ads
    8. Feature Box
    9. App Pages
    10. Checkout Page Settings
    11. Social Links
    12. Contact Info
    13. Home Page Customisation
    14. WhatsApp Chat
    15. Language Setting (Version 1.0, Version 1.1& Version 1.2)
  5. Performance
  6. Reward Points
  7. Multi-Vendor Support
  8. Push Notifications
    1. iOS Push-notification configurations
    2. Admin Push-notification Configuration
  9. Delivery Tracking
  10. In-App Coupons
  11. Scratch Cards
  12. Multi-Currency Symbol
  13. GEO Fencing
  14. WishList
  15. One Signal Notification
  16. WPML Configuration
    1. App Setting for WPML
  17. Other iOS Application Configuration steps
    1. Setup Firebase project
    2. Facebook Setup
    3. Apple Login
    4. Change App Name
    5. Change App Icon
    6. Change SplashScreen
    7. Source and Credits
  18. WhatsApp Floating Button
  19. Facebook Pixel
  20. Google App Indexing
  21. Social Sharing & App Sharing (Coming Soon)
  22. Video Support (Product Detail)
  23. Infinite Scrolling
  24. Introduction Slider Changes
  25. Manage Infinite scrolling configuration from code
    1. iOS
  26. Check Zipcode For Delivery
  27. Add To Cart In Listing Page
  28. Firebase OTP on Registration
  29. Custom Products (Selected Products)
  30. Loader options (Shimmer Loader)
  31. Tera Wallet
  32. Publish
    1. iOS app submission on AppStore
  33. FAQs
    1. HTTP Authorization Header not enable?
    2. Checkout page not working correctly?
    3. Special Deal Products or Schedule Sale Products
    4. Update PGS Woo Api plugin
    5. How to take backups of PGS WOO APi Plugin
    6. Remove Social Media Login
    7. Remove Black Color From Color Filter
    8. Set image according to your requirement
    9. Downloadable Products
  34. Change Log
    1. iOS
  35. Cocoapods won't work on new m1 mac Big Sur Xcode or missing one or more architecture arm64_86.

WooCommerce API

We have used some WooCommerce default APIs in our API plugin. For using those APIs, you need to follow the below instructions.

Requirements

It is required to turn on the WordPress permalinks on Settings > Permalinks.

Enable REST API

To enable the REST API within WooCommerce, visit the WooCommerce > Settings > API tab and tick the Enable REST API checkbox.

 

Generate API keys

WooCommerce REST API works on a key system for controlling access. These keys are linked to WordPress users on your website.

To create or manage keys for a specific WordPress user, go to WooCommerce > Settings. Then click on API tab, after that, select Keys/Apps tab section. 

Here, Select the User you would like to generate a key for in the User field and add a Description. Choose the level of access to this API key, which can be a read access, Write access or Read/Write access. Then select the Generate API Key button, and WooCommerce will generate API keys for that user.

Now keys have been generated. You will see two new keys, a QRCode, and a Revoke API Key button. These two keys are your Consumer Key and Consumer Secret. See below screenshot.

Copy your consumer secret and consumer key in the application that uses the WooCommerce API. Both will require to add within WooCommerce API settings of the PGS Woo API plugin. For this, again go to App Settings > API Settings. Then select WooCommerce API section. Here paste consumer key and consumer secret that you already have copied. See below screenshot.

For more details, please check below links

https://docs.woocommerce.com/document/woocommerce-rest-api/

https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API

Suggest Edit