Difference between revisions of "Google"
From Advice Local Wiki
(→Delete a Client Google Image) |
|||
| Line 9: | Line 9: | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
DELETE /legacyclients/google/3201926/87891723141223213241232134 HTTP/1.1 | DELETE /legacyclients/google/3201926/87891723141223213241232134 HTTP/1.1 | ||
| + | Host: p.lssdev.com | ||
| + | x-api-token: YOUR_API_KEY | ||
| + | Content-Type: application/json | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Example Response === | ||
| + | <syntaxhighlight lang="json"> | ||
| + | { | ||
| + | "status": 200, | ||
| + | "success": true, | ||
| + | "error": null, | ||
| + | } | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | == Add a Client Google Image == | ||
| + | Deletes a client and subsequently disables any active products associated with the client. | ||
| + | === API Endpoint === | ||
| + | <syntaxhighlight lang="html"> | ||
| + | http://p.lssdev.com/legacyclientimages/google/{client_id} | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Example Request === | ||
| + | <syntaxhighlight lang="php"> | ||
| + | POST /legacyclients/google/3201926HTTP/1.1 | ||
| + | |||
| + | { image_name } | ||
| + | |||
Host: p.lssdev.com | Host: p.lssdev.com | ||
x-api-token: YOUR_API_KEY | x-api-token: YOUR_API_KEY | ||
Latest revision as of 00:06, 17 June 2025
Contents
Delete a Client Google Image
Deletes a client and subsequently disables any active products associated with the client.
API Endpoint
http://p.lssdev.com/legacyclientimages/google/{client_id}/{image_id}Example Request
DELETE /legacyclients/google/3201926/87891723141223213241232134 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/jsonExample Response
{
"status": 200,
"success": true,
"error": null,
}Add a Client Google Image
Deletes a client and subsequently disables any active products associated with the client.
API Endpoint
http://p.lssdev.com/legacyclientimages/google/{client_id}Example Request
POST /legacyclients/google/3201926HTTP/1.1
{ image_name }
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/jsonExample Response
{
"status": 200,
"success": true,
"error": null,
}