Request Format

Request format

Vast majority of Lightspeed Retail (X-Series) APIs only support JSON-encoded data as requests and responses.
Headers for both the Content-Type and Accept should be set to application/json.

There are a few exceptions to this rule:

  • POST requests to the /api/webhooks endpoint are done with application/x-www-form-urlencoded content.
  • Image upload is done with multipart/form-data requests.
  • OAuth requests are done with application/x-www-form-urlencoded content.