Endpoint advertising.lwa.accounts
returns the associated Login-with-Amazon Accounts.
AMALYZE Falcon API
advertising.lwa.accounts (POST)
Endpoint
Method
POST advertising.lwa.acounts
Example call
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
curl https://falcon.amalyze.com/<VERSION>/advertising.lwa.accounts \ -X POST \ -H "X-Falcon-Token: <YOUR-TOKEN-HERE>" \ -d ' { "pagination": { "size": 10, "page": 1 }, "sorting": [ { "direction": "asc", "column": "name" } ], "filters": { } }' |
JSON Payload
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
{ "pagination": { "size": 10, "page": 1 }, "sorting": [ { "direction": "asc", "column": "name" } ], "filters": { } } |
Property | Type | Description | Further information |
pagination | object | Object containing the pagination information | pagination object definition |
filters | object | Object containing the filter information | |
filters.email | array | The email associated with the Amazon account | optional |
filters.name | array | The name associated with the Amazon acount | optional |
filters.zip | array | The zip associated with the Amazon accoint | optional |
filters.query | string | Fulltext search over all available fields | optional |
sorting | array | Array containing the sorting information | |
sorting.column | string | The column to sort |
|
sorting.direction | string | The direction to sort | valid direction values |
JSON Response
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
{ "items": [ { "score": 100, "name": "AMALYZE AG", "zip": "85737", "id": "amzn1.account.XXXAAABBBCCCDDDEEEFFFGGGHHHI" } ], "pagination": { "filtered": 1 }, "request": { "id": "5f849803-3830-4677-bc0e-8acfae788a8a", "took": 0.0331, "costs": 0, "remaining": 100000, "method": "advertising.lwa.accounts", "success": true, "error": { "code": null, "message": null, "hint": null } } } |
Property | Type | Description |
items | array | Array containing the accounts |
items.score | float | The (internal) score for the query |
items.name | string | The name associated with the Login-with-Amazon-Account |
items.zip | string | The zip associated with the Login-with-Amazon Acccount |
items.email | string | The email associated with the Login-with-Amazon Account |
items.id | string | The ID associated with the Login-with-Amazon Account |
pagination | object | The pagination object (see Pagination for more information) |
request | object | The request inforamtion object (see Request information for more information) |