Skip to main content

Get Store

Retrieve information about the currently selected store: its own details plus the currencies it already transacts in.

This is the natural first call for any integration. It takes no parameters and describes the store the request targets — your default store, or the one named in the X-Easycart-Store header (see Store selection). If your token reaches several stores, List stores enumerates them.

Request

GET /store

Example Request

curl -X GET "https://cart.easy.tools/api/v1/store" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Response

Success Response (200)

Returns the store details.

{
"store": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme",
"slug": "acme",
"email": "store@acme.com",
"website_url": "https://acme.com",
"logo_url": "https://example.com/logo.png",
"tax_id": "5251234560",
"company_name": "Acme Sp. z o.o.",
"full_name": "John Doe",
"phone": "+48 600 100 200",
"address": {
"street": "Main Street",
"street_number": "123",
"house_number": "4",
"post_code": "90210",
"city": "Springfield",
"state": "California",
"country": "US"
},
"created_at": "2024-01-10T08:00:00+00:00"
},
"currencies": ["pln", "usd"]
}

A brand-new store with no details or products yet returns null for the optional fields, a null address, and an empty currencies array:

{
"store": {
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "New Store",
"slug": "new-store",
"email": null,
"website_url": null,
"logo_url": null,
"tax_id": null,
"company_name": null,
"full_name": null,
"phone": null,
"address": null,
"created_at": "2026-05-20T12:00:00+00:00"
},
"currencies": []
}

Response Fields

FieldTypeNullableDescription
storeobjectNoThe store's own information
store.idstringNoUnique store identifier (UUID)
store.namestringNoStore name
store.slugstringNoURL-friendly store identifier
store.emailstringYesPrimary contact email
store.website_urlstringYesStore website URL
store.logo_urlstringYesStore logo URL
store.tax_idstringYesTax identification number
store.company_namestringYesRegistered company / billing name
store.full_namestringYesContact person's full name
store.phonestringYesContact phone number
store.addressobjectYesStore billing address. null when the store has no details set.
store.address.streetstringYesStreet name
store.address.street_numberstringYesStreet / building number
store.address.house_numberstringYesApartment / house number
store.address.post_codestringYesPostal code
store.address.citystringYesCity
store.address.statestringYesState / region / province
store.address.countrystringYesUppercase ISO 3166-1 alpha-2 country code (e.g. "PL")
store.created_atstringNoWhen the store was created (ISO 8601 format)
currenciesarrayNoLowercase ISO currency codes the store already has products in. May be empty.
note

currencies is derived from the store's existing products. A brand-new store with no products returns an empty array.

info

address.country is uppercase (e.g. "PL"), while currencies are lowercase (e.g. "pln"), matching the casing used across the rest of the API.

Error Responses

Unauthorized (401)

{
"message": "Unauthenticated."
}

Forbidden (403)

Returned when the selected store has not granted you API access — see Store selection.

{
"message": "You do not have API access to the requested store."
}