Retrieve the accounts of the API key
List the accounts the API key gives access to. An API key belongs to one account, so the list carries a single entry: the account's id, name, domain, currency and time zone. Use the account's id wherever an integration needs to identify the account.
get
Authorizations
X-Recart-API-KeystringRequired
It can be obtained in Recart account after contacting Support
Responses
200
Ok
application/vnd.api+json
4XX
HTTP Error response
application/vnd.api+json
5XX
HTTP Error response
application/vnd.api+json
get/accounts
GET /app-integrations/2023-12/accounts HTTP/1.1
Host: api.recart.com
X-Recart-API-Key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"type": "accounts",
"attributes": {
"id": "65491e6a1d600d2c00414601",
"name": "Example Store",
"domain": "examplestore.com",
"currency": "USD",
"timezone": "America/New_York"
}
}
]
}Last updated
Was this helpful?