Skip to main content
Version: 5.3.3.0

X-Cart REST API Reference v5.3.3.0

Using X-Cart API Definitions

The Swagger standard either requires a host to be provided, or for the host to be generated by the host serving the file, it is important to correct the host in the definition prior to employing any existing tools, as X-Cart provides an empty host parameter with the definition. The REST API host for each X-Cart store is unique and follows this pattern:

http://your.store.domain/admin.php?target=RESTAPI&

X-Cart v5.3.3.0 API can accept request parameters of these types:

  • application/json
  • application/x-www-form-urlencoded

By default, X-Cart outputs data in JSON format. You can also provide the Accept HTTP header to configure output data format. Valid types are:

  • application/json
  • application/xml