Advanced Coupons API
  • REST API
  • coupons/v1
    • Virtual Coupons (Premium)
      • Query a list of virtual coupons
      • Fetch virtual coupon stats
      • Create a virtual coupon
      • Retrieve a virtual coupon
      • Update a virtual coupon
      • Delete a virtual coupon
      • Bulk create virtual coupons
      • Bulk delete virtual coupons
    • Search Customers (Premium)
    • Settings
  • loyalty-program/v1
    • Dashboard
    • Customers
    • Settings
    • My Points
  • wc-loyalty-program/v1
    • Dashboard
    • Customers
    • Settings
  • wc-store-credits/v1
    • Entries
      • Query a list of store credit entries
      • Create a store credit entry
      • Fetch a single store credit entry
      • Update store credit entry
      • Delete store credit entry
    • Customers
      • Get dashboard statistics data
      • Query list of customers with store credits balance
      • Get single customer statistics and sources
Powered by GitBook
On this page

Was this helpful?

wc-loyalty-program/v1

This is a custom API available only when the Loyalty Program for WooCommerce plugin is active.

This is a duplicate of the loyalty-program base endpoints to add support for the WC REST API authentication.

This API was introduced on LPFW version 1.0

The namespace wc-loyalty-program/v1 handles the following endpoints:

  • /wp-json/wc-loyalty-program/v1/dashboard

  • /wp-json/wc-loyalty-program/v1/customers

    • /wp-json/wc-loyalty-program/v1/customers/status/{user_id}

    • /wp-json/wc-loyalty-program/v1/customers/history/{user_id}

    • /wp-json/wc-loyalty-program/v1/customers/points/{user_id}

  • /wp-json/wc-loyalty-program/v1/settings/{lpfw_option_name}

    • wp-json/wc-loyalty-program/v1/settings/sections/

    • wp-json/wc-loyalty-program/v1/settings/sections/{section_id}

PreviousMy PointsNextDashboard

Last updated 2 years ago

Was this helpful?