Skip to content

copyQuote

WRITE

A new quote from an existing one: the header, its payment and shipment terms, its lines and their price breaks, inside one transaction.

POST /api/v1/sales/copyQuote
curl -X POST '<your-host>/api/v1/sales/copyQuote' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "sourceQuoteId": "string",
    "asRevision": true
  }'
Response
{
  "newQuoteId": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "sourceQuoteId": {
      "type": "string"
    },
    "asRevision": {
      "type": "boolean"
    }
  },
  "required": [
    "sourceQuoteId",
    "asRevision"
  ]
}