> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateSalesQuotation

> Creates a new sales quotation.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `CreateSalesQuotation(request: CreateSalesQuotationCommandRequestInput!): CreateSalesQuotationCommandResponse!`

## Arguments

**`request`**: `CreateSalesQuotationCommandRequestInput!` (required)

## Returns

`CreateSalesQuotationCommandResponse!`

**`salesQuotationId`**: `ID!`

Unique ID of the newly created sales quotation.

## Examples

```graphql Mutation
mutation CreateSalesQuotation($request: CreateSalesQuotationCommandRequestInput!) {
  CreateSalesQuotation(request: $request) {
    salesQuotationId
  }
}
```

```json Variables
{
  "request": {
    "companyId": "id",
    "customerId": "id",
    "billingAddress": {
      "street": "string",
      "city": "string",
      "countryIso": "string"
    },
    "departureCountry": {
      "countryIso": "string",
      "currencyIso": "string"
    },
    "lineItems": [
      {}
    ],
    "paymentDetails": {
      "currencyIso": "string"
    },
    "languageIso": "string"
  }
}
```

```json Response
{
  "data": {
    "CreateSalesQuotation": {
      "salesQuotationId": "id"
    }
  }
}
```
