Products/ping (Pro)

Estimated reading: 1 minute 99 views

DESCRIPTION

Create a ping request to check for the connection between REST API Server and the Client

Request URL

POST

wp-json/lmfwc/v2/products/ping

REQUEST HEADERS

Content-Type: application/json

REQUEST BODY EXAMPLE:

{
  "license_key": "API-AOA-NAI-TAT-MIO-TTM-OOA-GEN",
  "product_name": "Ham",
  "host": "localhost"
}

RESPONSE EXAMPLE:

{

    “success”: true,

    “data”: null

}

After hit the products ping API admin would able to see the ping details in Products installed on menu

WooCommerce > Products installed

Scroll to Top