Skip to main content

X-Cart REST API Reference v5.4.0.8

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:

X-Cart v5.4.0.8 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