Skip to main content
Version: X-Cart 5.6.0
Version: 1.0.0

X-Cart Storefront API

X-Cart Storefront API

Authentication

All REST API queries require a valid JWT Authorization token.

You can obtain JWT token on /api/storefront/auth/login endpoint.

Be sure to include your token as an Authorization: header (like "Authorization: Bearer <JWT token>") on all API queries.

Localization

X-Cart REST API supports multiple languages, but all the requests are made in the same language. The language is set using the Accept-Language request HTTP header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language

If the header has not been sent, the default language as specified in the store settings is used.

Authentication

Value for the X-Auth-Token header parameter.

Security Scheme Type:

apiKey

Header parameter name:

X-Auth-Token