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:
POSTrequests to the/api/webhooksendpoint are done withapplication/x-www-form-urlencodedcontent.- Image upload is done with
multipart/form-datarequests. - OAuth requests are done with
application/x-www-form-urlencodedcontent.
Updated 3 days ago
