Difference between revisions of "Products"
From Advice Local Wiki
(→Get all Products) |
(→Get all Products) |
||
Line 1: | Line 1: | ||
== Get all Products == | == Get all Products == | ||
+ | Returns a list of products from the system. | ||
=== API Endpoint === | === API Endpoint === | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> |
Latest revision as of 19:48, 15 December 2017
Get all Products
Returns a list of products from the system.
API Endpoint
http://p.lssdev.com/legacyproducts
Example Request
GET /legacyproducts HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"status": 200,
"success": true,
"error": null,
"data": [
{
"id": 2081,
"description": "",
"country": null,
"replacement": "",
"name": "Google+ Local",
"extra": "",
"priceRetail": 169,
"priceReseller": 99,
"productType": "primary",
"maintenanceInterval": "Yearly",
"maintenancePriceRetail": 99,
"maintenancePriceReseller": 49,
"renewalInterval": "yearly",
"renewalPriceRetail": null,
"renewalPriceReseller": null,
"submissionModule": null,
"submissionModuleRequirements": "",
"submissionModuleOption": null,
"submissionModuleCategory": "false",
"hasLink": "false",
"isDisabled": false,
"hasFulfillment": true
},
{
"id": 2083,
"description": "",
"country": null,
"replacement": "",
"name": "Bing Places",
"extra": "",
"priceRetail": 169,
"priceReseller": 99,
"productType": null,
"maintenanceInterval": "Yearly",
"maintenancePriceRetail": 99,
"maintenancePriceReseller": 49,
"renewalInterval": "yearly",
"renewalPriceRetail": null,
"renewalPriceReseller": null,
"submissionModule": null,
"submissionModuleRequirements": "",
"submissionModuleOption": null,
"submissionModuleCategory": "false",
"hasLink": "false",
"isDisabled": false,
"hasFulfillment": true
},
{
"id": 3044,
"description": "D&B",
"country": null,
"replacement": "",
"name": "DnB",
"extra": "",
"priceRetail": 0,
"priceReseller": 0,
"productType": null,
"maintenanceInterval": "",
"maintenancePriceRetail": 0,
"maintenancePriceReseller": 0,
"renewalInterval": "yearly",
"renewalPriceRetail": null,
"renewalPriceReseller": null,
"submissionModule": null,
"submissionModuleRequirements": "",
"submissionModuleOption": null,
"submissionModuleCategory": "false",
"hasLink": "false",
"isDisabled": false,
"hasFulfillment": true
},
{...},
{...}
],
"total": 379
}