---
title: "Creates a new trouble ticket"
method: POST
path: "/ticket"
tags: ["tickets"]
---

# Creates a new trouble ticket

`POST /ticket`

Use this service to create a new trouble ticket. Use this to include relevant information about the order, comunicate with the customer or marketplace team. Whenever possible message will be pushed to Mobile first. This is the primary mean of comunicaiton with the customer regarding orders, shippments, shippments status. New tickets will be automatically be set to 'OPEN'. Trouble tickets need to be associated with a orderId or customer. New tickets can optionally include a new message.

## Headers

- `authorization` string, required

## Request body

- NewTicket
  - `orderId` string, required — Unique order Id that this trouble ticket belongs to
  - `from` string, required — Friendly name of the person sending this message, if not provided the seller `name` will be used
  - `body` string, required — Message to the customer
  - `message` NewTicketMessage
    - `visibility` string, required — Defines if this message is `CUSTOMER` (customer will receive a copy) or `INTERNAL`
    - `body` string, required — Message text
  - `type` string, required — Trouble ticket type.
  - `description` string — Trouble ticked brief description
  - `customer` CustomerReference
    - `name` string — Customer name
    - `phoneNumber` string — Customer phone mumber

## Response `200`

Success!

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/brandlovers/apis/brandlovers-marketplace-api-v1.md) · [All operations](https://skmtc.net/brandlovers/apis/brandlovers-marketplace-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brandlovers/brandlovers-marketplace-api-v1/revisions/cb3af6151ae4/schema)
