Appearance
Get Account List API
Endpoint
GET /account
Headers
| Key | Value |
|---|---|
| Authorization | Bearer change_to_your_access_token |
| X-S2-Organization | 95d73baf-76ba-4bea-86ac-1534c5e5d4aa |
Request Parameters (Query String)
| Key | Value | Required | Default |
|---|---|---|---|
| limit | 100 | No | 100 |
| offset | 0 | No | 0 |
| term | account_name | No | null |
Response Example
json
{
"items": [
{
"id": "1ac48942-405a-4841-a7d8-708f50dbe888",
"organization": {
"id": "3f424caf-0eba-4813-b3e7-7ca0393af888",
"name": "test organization",
"createdAt": "2024-03-05T22:17:23.520948Z",
"updatedAt": "2024-04-09T21:15:15.615765Z"
},
"name": "test organization",
"type": "MARKETPLACE_GENERIC",
"autoAssignOrdersToWarehouse": null,
"createdAt": "2024-04-11T02:52:03.791286Z",
"updatedAt": "2024-04-11T02:52:03.791286Z"
}
],
"total": 1
}