StoreLyne API docs 2026-11

unsupported_media_type

Send JSON with Content-Type: application/json.

HTTP status415
Typeinvalid_request
RetryNo. Fix the request first.

Example

415
{
  "error": {
    "type": "invalid_request",
    "code": "unsupported_media_type",
    "message": "Send JSON with Content-Type: application/json.",
    "param": null,
    "trace_id": "tr_01JCG8ZQ5S7T0V4X8K2M3N6P9R",
    "docs": "https://docs.storelyne.com/errors/unsupported_media_type"
  }
}
Quote the trace_id when you contact support. It finds this exact request in our logs.