{
"Success": false,
"ResultCode": "5015",
"Message": "QuoteType cannot be changed after the quote is created.",
"Errors": [
{
"Code": "5015",
"Message": "QuoteType cannot be changed after the quote is created."
}
]
}
{
"Success": false,
"ResultCode": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token.",
"Errors": [
{
"Code": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token."
}
]
}
{
"Success": false,
"ResultCode": "0110",
"Message": "You do not have permission for this operation.",
"Errors": [
{
"Code": "0110",
"Message": "You do not have permission for this operation."
}
]
}
{
"Success": false,
"ResultCode": "5015",
"Message": "QuoteType cannot be changed after the quote is created.",
"Errors": [
{
"Code": "5015",
"Message": "QuoteType cannot be changed after the quote is created."
}
]
}
{
"Success": false,
"ResultCode": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token.",
"Errors": [
{
"Code": "0102",
"Message": "Token has expired. Obtain a new token using the refresh token."
}
]
}
{
"Success": false,
"ResultCode": "0110",
"Message": "You do not have permission for this operation.",
"Errors": [
{
"Code": "0110",
"Message": "You do not have permission for this operation."
}
]
}
To change individual fields, use a partial update: PATCH changes only the fields you send.Update is a full replace, and the lines are replaced too: the quote’s existing lines are removed and the lines in the request are saved in their place (all in one transaction). Send every line the quote should keep.
QuoteType cannot be changed (5015) and QuoteNumber cannot be "Next" (5003).
The status is not changed, and there is no restriction by status: see editing and deleting.
The API does not calculate line amounts but checks that they add up (5118); the totals and AverageExchangeRate are filled from the new lines.
Error codes
Codes this endpoint can return. The general errors that apply to every endpoint (authentication, permissions, request headers, request limits) are not repeated here.
Code
HTTP
Meaning
0002
400
Request body could not be read (malformed JSON, wrong field type), or it contains a field the endpoint does not have
0003
400
A field exceeds its maximum length (the message names the field and the limit)
0580
400
A value given as text (a code or a name) matches more than one record; add the detail that tells them apart (for example City for a district, Country for a city)
5000
404
Quote not found
5001
400
QuoteNumber is required
5002
400
The quote number is already used in the company for this quote type; the response carries the existing record’s ID as ExistingId
5003
400
QuoteNumber cannot be Next on update
5004
400
QuoteType must be 1 (purchase) or 2 (sales)
5005
400
Date is required
5006
400
CustomerCode is required
5007
400
Customer not found, or not visible to the user
5008
400
The representative was not found for this customer
5010
400
Currency not found in the company
5011
400
SharingCode is not one of the user’s sharing codes
5012
400
At least one line is required
5013
400
DueDays cannot be less than 0
5015
400
QuoteType cannot be changed after the quote is created
5101
400
ProductCode or ECommerceProductCode is required
5102
400
Product not found in the company
5103
400
UnitCode is required
5104
400
UnitCode is not one of the product’s own units (Unit1/Unit2/Unit3)
5105
400
Quantity must be greater than 0
5106
400
UnitPrice cannot be negative
5107
400
DiscountRate must be between 0 and 100
5108
400
Currency of the line not found in the company
5109
400
VatRate must be between 0 and 100
5110
400
Line group not found in the company
5111
400
ExchangeRate must be 1 for the default currency, and greater than 0 for any other currency
5112
400
CurrencyCode is required on every line
5113
400
A line’s AdditionalTaxes can contain at most 3 additional taxes
5114
400
Code is required for every additional tax of a line
5115
400
DiscountRate does not match the cumulative rate of the line’s Discounts list
5116
400
An AdditionalTaxesCode of the line is not one of the valid additional tax codes
5117
400
The same additional tax code is used more than once on the line
5118
400
The line amounts do not add up (for example VatAmount is not VatBase × VatRate / 100); the message names the field and the expected value
5201
400
The Rate of a discount must be between 0 and 100
Authorizations
Authorization
string
header
required
Access token obtained from the Noyax auth service with your API key.
Headers
X-UserID
integer<int32>
required
ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.
Required range: x >= 1
X-CompanyID
integer<int32>
required
ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.
Required range: x >= 1
X-PeriodID
integer<int32>
ID of the accounting period. Optional; if sent, it is written to created records.
Required range: x >= 1
Path Parameters
quoteId
string<uuid>
required
Quote ID.
Body
application/jsontext/jsonapplication/*+json
QuoteType
integer<int32>
required
Required. 1: Purchase quote (received), 2: Sales quote (issued). Cannot be changed after the quote is created.
Example:
2
QuoteNumber
null | string
required
Required. Quote number, unique within the company for the same QuoteType. Send "Next" on create to generate it from the company's quote number series for the type. At most 10 characters.
Example:
"TKL0000125"
Date
null | string<date-time>
required
Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.
Example:
"2026-09-21T10:30:00"
CustomerCode
null | string
required
Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).
Example:
"C-0001"
Lines
object[]
required
Required, at least one line. On update the lines are replaced: the quote's existing lines are removed and these are saved instead.
Show child attributes
DocumentNumber
null | string
Document number (free text). At most 20 characters.
Example:
"2026-15"
Description
null | string
Description. At most 1000 characters.
RepresentativeName
null | string
Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.
DueDays
integer<int32>
Payment term in days. Cannot be less than 0.
Example:
30
DeliveryDate
null | string<date>
Delivery date. Date only (yyyy-MM-dd), no time part.
Example:
"2026-10-15"
SharingCode
null | string
Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.
DiscountTotal
number<double>
Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.
Example:
100
SubTotal
number<double>
Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.
Example:
900
VatTotal
number<double>
Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.
Example:
225
AdditionalTaxTotal
number<double>
Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.
Example:
225
WithholdingTotal
number<double>
Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.
Example:
0
GrandTotal
number<double>
Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.
Example:
1350
AverageExchangeRate
number<double>
Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.
Example:
1
Response
OK
Success
boolean
required
Whether the operation succeeded.
Example:
true
ResultCode
string
required
"0000" on success. On failure, the code of the first error; all errors are listed in Errors.
Example:
"0000"
Data
object
required
Response data. Null when Success is false.
Show child attributes
Message
null | string
Error message when Success is false. Messages of all errors are joined into a single text.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Noyax API","colors":{"primary":"#5B4AFF","light":"#8C80FF","dark":"#4A3AE0"},"logo":{"light":"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/light.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=78086fed969cddbbf46c4cd156eff780","dark":"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/dark.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=96614d322ed52bd768de7f3bfc057fb1","href":"/"},"favicon":"https://mintcdn.com/noyax/WZ1Gnfg0LydE9yNm/favicon.ico?fit=max\u0026auto=format\u0026n=WZ1Gnfg0LydE9yNm\u0026q=85\u0026s=b96b2569d70afdcc446a0d9785c6d34b","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","csharp","javascript","python"]}},"footer":{"socials":{"website":"https://noyax.com"}},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"tr","default":true,"href":"tr/v1"},{"language":"en","href":"en/v1"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"noyax","hasAudioNarration":false,"actualSubdomain":"noyax","customDomains":["apidocs.noyax.com"],"gitSource":{"type":"github","owner":"ataakalin","repo":"noyaxapi","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af70c2de766df7985e6260a","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"Modules","count":237},{"language":"tr","tag":"Modüller","count":237},{"language":"en","tag":"Customers","count":58},{"language":"tr","tag":"Cariler","count":56},{"language":"en","tag":"Finance","count":44},{"language":"tr","tag":"Finans","count":44},{"language":"en","tag":"Definitions","count":43},{"language":"tr","tag":"Tanımlar","count":43},{"language":"en","tag":"Bank","count":42},{"language":"tr","tag":"Banka","count":42},{"language":"en","tag":"Products","count":37},{"language":"tr","tag":"Ürünler","count":37},{"language":"en","tag":"Invoices","count":24},{"language":"tr","tag":"Faturalar","count":24},{"language":"en","tag":"Bank accounts","count":18},{"language":"tr","tag":"Banka hesapları","count":18},{"language":"en","tag":"Stock","count":14},{"language":"tr","tag":"Stok","count":14},{"language":"en","tag":"Parameter definitions","count":12},{"language":"tr","tag":"Parametre tanımları","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/v1/quotes/update","slug":"/en/v1/quotes/update","pageMetadata":{"title":"Update quote","description":"Replaces all fields and all lines of a quote.","openapi":"api-reference/openapi.json PUT /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Replaces all fields and all lines of a quote.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`To change individual fields, use a `,_jsx(_components.a,{href:`/en/v1/guides/partial-update`,children:`partial update`}),`: `,_jsx(_components.code,{children:`PATCH`}),` changes only the fields you send.`]}),`\n`,_jsxs(_components.p,{children:[`Update is a `,_jsx(_components.strong,{children:`full replace`}),`, and the lines are replaced too: the quote’s existing lines are removed and the lines in the request are saved in their place (all in one transaction). Send every line the quote should keep.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`QuoteType`}),` cannot be changed (`,_jsx(_components.code,{children:`5015`}),`) and `,_jsx(_components.code,{children:`QuoteNumber`}),` cannot be `,_jsx(_components.code,{children:`\"Next\"`}),` (`,_jsx(_components.code,{children:`5003`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`The status is not changed, and there is no restriction by status: see `,_jsx(_components.a,{href:`/en/v1/quotes/overview`,children:`editing and deleting`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The API does not calculate line amounts but checks that they add up (`,_jsx(_components.code,{children:`5118`}),`); the totals and `,_jsx(_components.code,{children:`AverageExchangeRate`}),` are filled from the new lines.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(_components.p,{children:[`Codes this endpoint can return. The `,_jsx(_components.a,{href:`/en/v1/guides/result-codes`,children:`general errors`}),` that apply to every endpoint (authentication, permissions, request headers, request limits) are not repeated here.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0002`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Request body could not be read (malformed JSON, wrong field type), or it contains a field the endpoint does not have`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0003`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`A field exceeds its maximum length (the message names the field and the limit)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0580`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`A value given as text (a code or a name) matches more than one record; add the detail that tells them apart (for example `,_jsx(_components.code,{children:`City`}),` for a district, `,_jsx(_components.code,{children:`Country`}),` for a city)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5000`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Quote not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5001`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`QuoteNumber`}),` is required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5002`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`The quote number is already used in the company for this quote type; the response carries the existing record’s ID as `,_jsx(_components.code,{children:`ExistingId`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5003`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`QuoteNumber`}),` cannot be `,_jsx(_components.code,{children:`Next`}),` on update`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5004`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`QuoteType`}),` must be 1 (purchase) or 2 (sales)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5005`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Date`}),` is required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5006`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CustomerCode`}),` is required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5007`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Customer not found, or not visible to the user`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5008`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`The representative was not found for this customer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5010`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Currency not found in the company`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5011`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`SharingCode`}),` is not one of the user’s sharing codes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5012`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`At least one line is required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5013`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`DueDays`}),` cannot be less than 0`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5015`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`QuoteType`}),` cannot be changed after the quote is created`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5101`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ProductCode`}),` or `,_jsx(_components.code,{children:`ECommerceProductCode`}),` is required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5102`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Product not found in the company`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5103`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UnitCode`}),` is required`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5104`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UnitCode`}),` is not one of the product’s own units (Unit1/Unit2/Unit3)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5105`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Quantity`}),` must be greater than 0`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5106`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UnitPrice`}),` cannot be negative`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5107`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`DiscountRate`}),` must be between 0 and 100`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5108`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Currency of the line not found in the company`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5109`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`VatRate`}),` must be between 0 and 100`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5110`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Line group not found in the company`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5111`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ExchangeRate`}),` must be 1 for the default currency, and greater than 0 for any other currency`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5112`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CurrencyCode`}),` is required on every line`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5113`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`A line’s `,_jsx(_components.code,{children:`AdditionalTaxes`}),` can contain at most 3 additional taxes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5114`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Code`}),` is required for every additional tax of a line`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5115`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`DiscountRate`}),` does not match the cumulative rate of the line’s `,_jsx(_components.code,{children:`Discounts`}),` list`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5116`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`An `,_jsx(_components.code,{children:`AdditionalTaxes`}),` `,_jsx(_components.code,{children:`Code`}),` of the line is not one of the valid additional tax codes`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5117`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`The same additional tax code is used more than once on the line`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5118`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`The line amounts do not add up (for example `,_jsx(_components.code,{children:`VatAmount`}),` is not `,_jsx(_components.code,{children:`VatBase`}),` × `,_jsx(_components.code,{children:`VatRate`}),` / 100); the message names the field and the expected value`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5201`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Rate`}),` of a discount must be between 0 and 100`]})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update quote","description":"Replaces all fields and all lines of a quote.","openapi":"api-reference/openapi.json PUT /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Error codes","slug":"error-codes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Quotes"],"summary":"Update quote","description":"Replaces all fields and all lines of a quote.","parameters":["1731ccdb-7c30-42ff-9e96-4fb9f467b450","69ddc60f-3be3-4716-bd63-e165ef784463","6edfa3b4-60f9-433a-94ff-7a3db6e4ec53","2bac7c43-c87f-4371-bfdf-961e9079b92e"],"requestBody":"2e01459d-2766-406b-8786-c97ef65bf3a5","responses":{"200":"f872d253-3912-460e-9a02-15a5de1bdd1f","400":"94ec4e5b-8135-42c4-83c9-153153b2c487","401":"0384fc5e-543a-48e1-baab-536192fd1585","403":"c23cbf62-b269-41ef-b62e-3d26c5d6edc0","404":"5b60035c-b870-4c35-8bc5-c18cbcb7c4eb","429":"1baa9fda-d9aa-4a31-8f35-a7164b1fec13"},"method":"put","type":"path","servers":["751ff55a-b28a-4823-93a0-54b137dafaf3"],"security":["2360e6fe-3f5d-4cb2-a410-60ae58b2515b"],"path":"/api/v1/quotes/{quoteId}","baseUrlOptions":["https://api.noyax.com"],"title":"Update quote","codeSamples":[],"requestExampleLanguages":["bash","csharp","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1731ccdb-7c30-42ff-9e96-4fb9f467b450":{"name":"quoteId","in":"path","description":"Quote ID.","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Quote ID.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"69ddc60f-3be3-4716-bd63-e165ef784463":{"name":"X-UserID","in":"header","description":"ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.","required":true,"schema":{"minimum":1,"type":"integer","format":"int32","isRequired":true,"description":"ID of the Noyax user the request is made on behalf of. Written to the audit fields of created, updated and deleted records.","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"6edfa3b4-60f9-433a-94ff-7a3db6e4ec53":{"name":"X-CompanyID","in":"header","description":"ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.","required":true,"schema":{"minimum":1,"type":"integer","format":"int32","isRequired":true,"description":"ID of the company. The user must be assigned to this company. All reads and writes are limited to this company.","uniqueKey":"","typeLabel":"integer\u003cint32>"}},"2bac7c43-c87f-4371-bfdf-961e9079b92e":{"name":"X-PeriodID","in":"header","description":"ID of the accounting period. Optional; if sent, it is written to created records.","schema":{"minimum":1,"type":"integer","format":"int32","description":"ID of the accounting period. Optional; if sent, it is written to created records.","uniqueKey":"","typeLabel":"integer\u003cint32>"}}},"requestBody":{"content":{"application/json":{"schema":{"required":["QuoteType","QuoteNumber","Date","CustomerCode","Lines"],"type":"object","properties":{"QuoteType":{"type":"integer","description":"Required. 1: Purchase quote (received), 2: Sales quote (issued). Cannot be changed after the quote is created.","format":"int32","example":2,"isRequired":true,"uniqueKey":"QuoteType","typeLabel":"integer\u003cint32>"},"QuoteNumber":{"oneOf":[{"type":"null","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"QuoteNumber","typeLabel":"null | string"},"Date":{"oneOf":[{"type":"null","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"Date","typeLabel":"null | string\u003cdate-time>"},"CustomerCode":{"oneOf":[{"type":"null","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"CustomerCode","typeLabel":"null | string"},"Lines":{"type":"array","items":{"required":["UnitCode","CurrencyCode"],"type":"object","properties":{"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode","typeLabel":"null | string"},"ProductCode":{"oneOf":[{"type":"null","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ProductCode","typeLabel":"null | string"},"ECommerceProductCode":{"oneOf":[{"type":"null","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Quantity. Must be greater than 0.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitPrice":{"type":"number","description":"Unit price excluding VAT, in the line currency. Cannot be negative.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].UnitPrice","typeLabel":"number\u003cdouble>"},"GrossAmount":{"oneOf":[{"type":"null","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Lines.items.[INDEX].GrossAmount","typeLabel":"null | number\u003cdouble>"},"ExchangeRate":{"type":"number","description":"Exchange rate of the line currency to the company's default currency. Must be 1 when CurrencyCode is the default currency; otherwise required and greater than 0.","format":"double","example":1,"uniqueKey":"Lines.items.[INDEX].ExchangeRate","typeLabel":"number\u003cdouble>"},"DiscountRate":{"type":"number","description":"Cumulative line discount rate (%) of the Discounts list, between 0 and 100. Sent by the integrator, not calculated by the API; when Discounts is sent it must match the cumulative result of the list (10, 10 and 10 give 27.1) within 0.01.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].DiscountRate","typeLabel":"number\u003cdouble>"},"DiscountAmount":{"type":"number","description":"Line discount amount: GrossAmount × DiscountRate / 100. Sent by the integrator, not calculated by the API.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].DiscountAmount","typeLabel":"number\u003cdouble>"},"Discounts":{"type":"array","items":{"type":"object","properties":{"Rate":{"type":"number","description":"Discount rate (%), between 0 and 100. Discounts of a line are applied one after another in list order: 10, 10 and 10 give a 27.1% line discount.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX]","typeLabel":"object"},"description":"Discounts applied to the line one after another. Leave empty when the line has no discount.","uniqueKey":"Lines.items.[INDEX].Discounts","typeLabel":"object[]"},"VatRate":{"type":"integer","description":"VAT rate (%), between 0 and 100.","format":"int32","example":20,"uniqueKey":"Lines.items.[INDEX].VatRate","typeLabel":"integer\u003cint32>"},"VatIncluded":{"type":"boolean","description":"Not used; accepted only so that existing requests keep working. UnitPrice must exclude VAT.","example":false,"uniqueKey":"Lines.items.[INDEX].VatIncluded","typeLabel":"boolean"},"VatAmount":{"type":"number","description":"VAT amount of the line: VatBase × VatRate / 100 (0 when VatRate is 0). Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].VatAmount","typeLabel":"number\u003cdouble>"},"AmountExcludingTax":{"type":"number","description":"Net line amount: GrossAmount − DiscountAmount, excluding taxes. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AmountExcludingTax","typeLabel":"number\u003cdouble>"},"AmountIncludingTax":{"type":"number","description":"Line total: AmountExcludingTax + VatAmount + the additional tax amounts (withholding is not deducted). Sent by the integrator, not calculated by the API.","format":"double","example":1350,"uniqueKey":"Lines.items.[INDEX].AmountIncludingTax","typeLabel":"number\u003cdouble>"},"VatBase":{"type":"number","description":"VAT base of the line: AmountExcludingTax plus the additional taxes that are added to the VAT base. Sent by the integrator, not calculated by the API.","format":"double","example":1125,"uniqueKey":"Lines.items.[INDEX].VatBase","typeLabel":"number\u003cdouble>"},"VatExemptionCode":{"oneOf":[{"type":"null","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].VatExemptionCode","typeLabel":"null | string"},"LineGroupName":{"oneOf":[{"type":"null","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].LineGroupName","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description","typeLabel":"null | string"},"Description2":{"oneOf":[{"type":"null","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description2","typeLabel":"null | string"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Lines.items.[INDEX].DeliveryDate","typeLabel":"null | string\u003cdate>"},"AdditionalTaxes":{"type":"array","items":{"required":["Code"],"type":"object","properties":{"Code":{"oneOf":[{"type":"null","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code","typeLabel":"null | string"},"Rate":{"type":"number","description":"Additional tax rate (%).","format":"double","example":25,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"},"Amount":{"type":"number","description":"Additional tax amount. Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Amount","typeLabel":"number\u003cdouble>"},"Base":{"type":"number","description":"Base of the additional tax. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Base","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX]","typeLabel":"object"},"description":"Additional taxes of the line (e.g. ÖTV), at most 3 entries; stored in list order as the line's additional tax 1, 2 and 3. Leave empty when the line has none.","uniqueKey":"Lines.items.[INDEX].AdditionalTaxes","typeLabel":"object[]"},"WithholdingCode":{"oneOf":[{"type":"null","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"Numerator of the withholding share (e.g. 9 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"Denominator of the withholding share (e.g. 10 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithheldVatAmount":{"type":"number","description":"Withheld VAT amount: VatAmount × WithholdingNumerator / WithholdingDenominator, 0 without WithholdingCode. Sent by the integrator, not calculated by the API.","format":"double","uniqueKey":"Lines.items.[INDEX].WithheldVatAmount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX]","typeLabel":"object"},"description":"Required, at least one line. On update the lines are replaced: the quote's existing lines are removed and these are saved instead.","isRequired":true,"uniqueKey":"Lines","typeLabel":"object[]"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"RepresentativeName":{"oneOf":[{"type":"null","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.1","typeLabel":"string"}],"uniqueKey":"RepresentativeName","typeLabel":"null | string"},"DueDays":{"type":"integer","description":"Payment term in days. Cannot be less than 0.","format":"int32","example":30,"uniqueKey":"DueDays","typeLabel":"integer\u003cint32>"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"DeliveryDate","typeLabel":"null | string\u003cdate>"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"DiscountTotal":{"type":"number","description":"Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":100,"uniqueKey":"DiscountTotal","typeLabel":"number\u003cdouble>"},"SubTotal":{"type":"number","description":"Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.","format":"double","example":900,"uniqueKey":"SubTotal","typeLabel":"number\u003cdouble>"},"VatTotal":{"type":"number","description":"Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"VatTotal","typeLabel":"number\u003cdouble>"},"AdditionalTaxTotal":{"type":"number","description":"Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"AdditionalTaxTotal","typeLabel":"number\u003cdouble>"},"WithholdingTotal":{"type":"number","description":"Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":0,"uniqueKey":"WithholdingTotal","typeLabel":"number\u003cdouble>"},"GrandTotal":{"type":"number","description":"Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1350,"uniqueKey":"GrandTotal","typeLabel":"number\u003cdouble>"},"AverageExchangeRate":{"type":"number","description":"Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1,"uniqueKey":"AverageExchangeRate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"QuoteType":2,"QuoteNumber":"TKL0000125","Date":"2026-09-21T10:30:00","CustomerCode":"C-0001","Lines":[{"UnitCode":"C62","CurrencyCode":"TRY","ProductCode":"URN-0001","ECommerceProductCode":null,"Quantity":10,"UnitPrice":100,"GrossAmount":1000,"ExchangeRate":1,"DiscountRate":10,"DiscountAmount":100,"Discounts":[{"Rate":10}],"VatRate":20,"VatIncluded":false,"VatAmount":225,"AmountExcludingTax":900,"AmountIncludingTax":1350,"VatBase":1125,"VatExemptionCode":"\u003cstring>","LineGroupName":"\u003cstring>","Description":"\u003cstring>","Description2":"\u003cstring>","DeliveryDate":"2026-10-15","AdditionalTaxes":[{"Code":"0071","Rate":25,"Amount":225,"Base":900}],"WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithheldVatAmount":123}],"DocumentNumber":"2026-15","Description":"\u003cstring>","RepresentativeName":"\u003cstring>","DueDays":30,"DeliveryDate":"2026-10-15","SharingCode":"\u003cstring>","DiscountTotal":100,"SubTotal":900,"VatTotal":225,"AdditionalTaxTotal":225,"WithholdingTotal":0,"GrandTotal":1350,"AverageExchangeRate":1}}},"exampleType":"generated"},"text/json":{"schema":{"required":["QuoteType","QuoteNumber","Date","CustomerCode","Lines"],"type":"object","properties":{"QuoteType":{"type":"integer","description":"Required. 1: Purchase quote (received), 2: Sales quote (issued). Cannot be changed after the quote is created.","format":"int32","example":2,"isRequired":true,"uniqueKey":"QuoteType","typeLabel":"integer\u003cint32>"},"QuoteNumber":{"oneOf":[{"type":"null","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"QuoteNumber","typeLabel":"null | string"},"Date":{"oneOf":[{"type":"null","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"Date","typeLabel":"null | string\u003cdate-time>"},"CustomerCode":{"oneOf":[{"type":"null","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"CustomerCode","typeLabel":"null | string"},"Lines":{"type":"array","items":{"required":["UnitCode","CurrencyCode"],"type":"object","properties":{"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode","typeLabel":"null | string"},"ProductCode":{"oneOf":[{"type":"null","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ProductCode","typeLabel":"null | string"},"ECommerceProductCode":{"oneOf":[{"type":"null","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Quantity. Must be greater than 0.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitPrice":{"type":"number","description":"Unit price excluding VAT, in the line currency. Cannot be negative.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].UnitPrice","typeLabel":"number\u003cdouble>"},"GrossAmount":{"oneOf":[{"type":"null","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Lines.items.[INDEX].GrossAmount","typeLabel":"null | number\u003cdouble>"},"ExchangeRate":{"type":"number","description":"Exchange rate of the line currency to the company's default currency. Must be 1 when CurrencyCode is the default currency; otherwise required and greater than 0.","format":"double","example":1,"uniqueKey":"Lines.items.[INDEX].ExchangeRate","typeLabel":"number\u003cdouble>"},"DiscountRate":{"type":"number","description":"Cumulative line discount rate (%) of the Discounts list, between 0 and 100. Sent by the integrator, not calculated by the API; when Discounts is sent it must match the cumulative result of the list (10, 10 and 10 give 27.1) within 0.01.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].DiscountRate","typeLabel":"number\u003cdouble>"},"DiscountAmount":{"type":"number","description":"Line discount amount: GrossAmount × DiscountRate / 100. Sent by the integrator, not calculated by the API.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].DiscountAmount","typeLabel":"number\u003cdouble>"},"Discounts":{"type":"array","items":{"type":"object","properties":{"Rate":{"type":"number","description":"Discount rate (%), between 0 and 100. Discounts of a line are applied one after another in list order: 10, 10 and 10 give a 27.1% line discount.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX]","typeLabel":"object"},"description":"Discounts applied to the line one after another. Leave empty when the line has no discount.","uniqueKey":"Lines.items.[INDEX].Discounts","typeLabel":"object[]"},"VatRate":{"type":"integer","description":"VAT rate (%), between 0 and 100.","format":"int32","example":20,"uniqueKey":"Lines.items.[INDEX].VatRate","typeLabel":"integer\u003cint32>"},"VatIncluded":{"type":"boolean","description":"Not used; accepted only so that existing requests keep working. UnitPrice must exclude VAT.","example":false,"uniqueKey":"Lines.items.[INDEX].VatIncluded","typeLabel":"boolean"},"VatAmount":{"type":"number","description":"VAT amount of the line: VatBase × VatRate / 100 (0 when VatRate is 0). Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].VatAmount","typeLabel":"number\u003cdouble>"},"AmountExcludingTax":{"type":"number","description":"Net line amount: GrossAmount − DiscountAmount, excluding taxes. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AmountExcludingTax","typeLabel":"number\u003cdouble>"},"AmountIncludingTax":{"type":"number","description":"Line total: AmountExcludingTax + VatAmount + the additional tax amounts (withholding is not deducted). Sent by the integrator, not calculated by the API.","format":"double","example":1350,"uniqueKey":"Lines.items.[INDEX].AmountIncludingTax","typeLabel":"number\u003cdouble>"},"VatBase":{"type":"number","description":"VAT base of the line: AmountExcludingTax plus the additional taxes that are added to the VAT base. Sent by the integrator, not calculated by the API.","format":"double","example":1125,"uniqueKey":"Lines.items.[INDEX].VatBase","typeLabel":"number\u003cdouble>"},"VatExemptionCode":{"oneOf":[{"type":"null","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].VatExemptionCode","typeLabel":"null | string"},"LineGroupName":{"oneOf":[{"type":"null","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].LineGroupName","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description","typeLabel":"null | string"},"Description2":{"oneOf":[{"type":"null","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description2","typeLabel":"null | string"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Lines.items.[INDEX].DeliveryDate","typeLabel":"null | string\u003cdate>"},"AdditionalTaxes":{"type":"array","items":{"required":["Code"],"type":"object","properties":{"Code":{"oneOf":[{"type":"null","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code","typeLabel":"null | string"},"Rate":{"type":"number","description":"Additional tax rate (%).","format":"double","example":25,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"},"Amount":{"type":"number","description":"Additional tax amount. Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Amount","typeLabel":"number\u003cdouble>"},"Base":{"type":"number","description":"Base of the additional tax. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Base","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX]","typeLabel":"object"},"description":"Additional taxes of the line (e.g. ÖTV), at most 3 entries; stored in list order as the line's additional tax 1, 2 and 3. Leave empty when the line has none.","uniqueKey":"Lines.items.[INDEX].AdditionalTaxes","typeLabel":"object[]"},"WithholdingCode":{"oneOf":[{"type":"null","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"Numerator of the withholding share (e.g. 9 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"Denominator of the withholding share (e.g. 10 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithheldVatAmount":{"type":"number","description":"Withheld VAT amount: VatAmount × WithholdingNumerator / WithholdingDenominator, 0 without WithholdingCode. Sent by the integrator, not calculated by the API.","format":"double","uniqueKey":"Lines.items.[INDEX].WithheldVatAmount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX]","typeLabel":"object"},"description":"Required, at least one line. On update the lines are replaced: the quote's existing lines are removed and these are saved instead.","isRequired":true,"uniqueKey":"Lines","typeLabel":"object[]"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"RepresentativeName":{"oneOf":[{"type":"null","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.1","typeLabel":"string"}],"uniqueKey":"RepresentativeName","typeLabel":"null | string"},"DueDays":{"type":"integer","description":"Payment term in days. Cannot be less than 0.","format":"int32","example":30,"uniqueKey":"DueDays","typeLabel":"integer\u003cint32>"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"DeliveryDate","typeLabel":"null | string\u003cdate>"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"DiscountTotal":{"type":"number","description":"Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":100,"uniqueKey":"DiscountTotal","typeLabel":"number\u003cdouble>"},"SubTotal":{"type":"number","description":"Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.","format":"double","example":900,"uniqueKey":"SubTotal","typeLabel":"number\u003cdouble>"},"VatTotal":{"type":"number","description":"Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"VatTotal","typeLabel":"number\u003cdouble>"},"AdditionalTaxTotal":{"type":"number","description":"Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"AdditionalTaxTotal","typeLabel":"number\u003cdouble>"},"WithholdingTotal":{"type":"number","description":"Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":0,"uniqueKey":"WithholdingTotal","typeLabel":"number\u003cdouble>"},"GrandTotal":{"type":"number","description":"Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1350,"uniqueKey":"GrandTotal","typeLabel":"number\u003cdouble>"},"AverageExchangeRate":{"type":"number","description":"Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1,"uniqueKey":"AverageExchangeRate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"QuoteType":2,"QuoteNumber":"TKL0000125","Date":"2026-09-21T10:30:00","CustomerCode":"C-0001","Lines":[{"UnitCode":"C62","CurrencyCode":"TRY","ProductCode":"URN-0001","ECommerceProductCode":null,"Quantity":10,"UnitPrice":100,"GrossAmount":1000,"ExchangeRate":1,"DiscountRate":10,"DiscountAmount":100,"Discounts":[{"Rate":10}],"VatRate":20,"VatIncluded":false,"VatAmount":225,"AmountExcludingTax":900,"AmountIncludingTax":1350,"VatBase":1125,"VatExemptionCode":"\u003cstring>","LineGroupName":"\u003cstring>","Description":"\u003cstring>","Description2":"\u003cstring>","DeliveryDate":"2026-10-15","AdditionalTaxes":[{"Code":"0071","Rate":25,"Amount":225,"Base":900}],"WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithheldVatAmount":123}],"DocumentNumber":"2026-15","Description":"\u003cstring>","RepresentativeName":"\u003cstring>","DueDays":30,"DeliveryDate":"2026-10-15","SharingCode":"\u003cstring>","DiscountTotal":100,"SubTotal":900,"VatTotal":225,"AdditionalTaxTotal":225,"WithholdingTotal":0,"GrandTotal":1350,"AverageExchangeRate":1}}},"exampleType":"generated"},"application/*+json":{"schema":{"required":["QuoteType","QuoteNumber","Date","CustomerCode","Lines"],"type":"object","properties":{"QuoteType":{"type":"integer","description":"Required. 1: Purchase quote (received), 2: Sales quote (issued). Cannot be changed after the quote is created.","format":"int32","example":2,"isRequired":true,"uniqueKey":"QuoteType","typeLabel":"integer\u003cint32>"},"QuoteNumber":{"oneOf":[{"type":"null","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","isRequired":true,"uniqueKey":"QuoteNumber.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"QuoteNumber","typeLabel":"null | string"},"Date":{"oneOf":[{"type":"null","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","isRequired":true,"uniqueKey":"Date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"Date","typeLabel":"null | string\u003cdate-time>"},"CustomerCode":{"oneOf":[{"type":"null","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","isRequired":true,"uniqueKey":"CustomerCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"CustomerCode","typeLabel":"null | string"},"Lines":{"type":"array","items":{"required":["UnitCode","CurrencyCode"],"type":"object","properties":{"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].UnitCode","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].CurrencyCode","typeLabel":"null | string"},"ProductCode":{"oneOf":[{"type":"null","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Lines.items.[INDEX].ProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ProductCode","typeLabel":"null | string"},"ECommerceProductCode":{"oneOf":[{"type":"null","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].ECommerceProductCode","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Quantity. Must be greater than 0.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitPrice":{"type":"number","description":"Unit price excluding VAT, in the line currency. Cannot be negative.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].UnitPrice","typeLabel":"number\u003cdouble>"},"GrossAmount":{"oneOf":[{"type":"null","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Lines.items.[INDEX].GrossAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Lines.items.[INDEX].GrossAmount","typeLabel":"null | number\u003cdouble>"},"ExchangeRate":{"type":"number","description":"Exchange rate of the line currency to the company's default currency. Must be 1 when CurrencyCode is the default currency; otherwise required and greater than 0.","format":"double","example":1,"uniqueKey":"Lines.items.[INDEX].ExchangeRate","typeLabel":"number\u003cdouble>"},"DiscountRate":{"type":"number","description":"Cumulative line discount rate (%) of the Discounts list, between 0 and 100. Sent by the integrator, not calculated by the API; when Discounts is sent it must match the cumulative result of the list (10, 10 and 10 give 27.1) within 0.01.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].DiscountRate","typeLabel":"number\u003cdouble>"},"DiscountAmount":{"type":"number","description":"Line discount amount: GrossAmount × DiscountRate / 100. Sent by the integrator, not calculated by the API.","format":"double","example":100,"uniqueKey":"Lines.items.[INDEX].DiscountAmount","typeLabel":"number\u003cdouble>"},"Discounts":{"type":"array","items":{"type":"object","properties":{"Rate":{"type":"number","description":"Discount rate (%), between 0 and 100. Discounts of a line are applied one after another in list order: 10, 10 and 10 give a 27.1% line discount.","format":"double","example":10,"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].Discounts.items.[INDEX]","typeLabel":"object"},"description":"Discounts applied to the line one after another. Leave empty when the line has no discount.","uniqueKey":"Lines.items.[INDEX].Discounts","typeLabel":"object[]"},"VatRate":{"type":"integer","description":"VAT rate (%), between 0 and 100.","format":"int32","example":20,"uniqueKey":"Lines.items.[INDEX].VatRate","typeLabel":"integer\u003cint32>"},"VatIncluded":{"type":"boolean","description":"Not used; accepted only so that existing requests keep working. UnitPrice must exclude VAT.","example":false,"uniqueKey":"Lines.items.[INDEX].VatIncluded","typeLabel":"boolean"},"VatAmount":{"type":"number","description":"VAT amount of the line: VatBase × VatRate / 100 (0 when VatRate is 0). Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].VatAmount","typeLabel":"number\u003cdouble>"},"AmountExcludingTax":{"type":"number","description":"Net line amount: GrossAmount − DiscountAmount, excluding taxes. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AmountExcludingTax","typeLabel":"number\u003cdouble>"},"AmountIncludingTax":{"type":"number","description":"Line total: AmountExcludingTax + VatAmount + the additional tax amounts (withholding is not deducted). Sent by the integrator, not calculated by the API.","format":"double","example":1350,"uniqueKey":"Lines.items.[INDEX].AmountIncludingTax","typeLabel":"number\u003cdouble>"},"VatBase":{"type":"number","description":"VAT base of the line: AmountExcludingTax plus the additional taxes that are added to the VAT base. Sent by the integrator, not calculated by the API.","format":"double","example":1125,"uniqueKey":"Lines.items.[INDEX].VatBase","typeLabel":"number\u003cdouble>"},"VatExemptionCode":{"oneOf":[{"type":"null","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].VatExemptionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].VatExemptionCode","typeLabel":"null | string"},"LineGroupName":{"oneOf":[{"type":"null","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Lines.items.[INDEX].LineGroupName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].LineGroupName","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description","typeLabel":"null | string"},"Description2":{"oneOf":[{"type":"null","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Second line description. At most 255 characters.","uniqueKey":"Lines.items.[INDEX].Description2.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].Description2","typeLabel":"null | string"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Lines.items.[INDEX].DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Lines.items.[INDEX].DeliveryDate","typeLabel":"null | string\u003cdate>"},"AdditionalTaxes":{"type":"array","items":{"required":["Code"],"type":"object","properties":{"Code":{"oneOf":[{"type":"null","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code","typeLabel":"null | string"},"Rate":{"type":"number","description":"Additional tax rate (%).","format":"double","example":25,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"},"Amount":{"type":"number","description":"Additional tax amount. Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Amount","typeLabel":"number\u003cdouble>"},"Base":{"type":"number","description":"Base of the additional tax. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Base","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX].AdditionalTaxes.items.[INDEX]","typeLabel":"object"},"description":"Additional taxes of the line (e.g. ÖTV), at most 3 entries; stored in list order as the line's additional tax 1, 2 and 3. Leave empty when the line has none.","uniqueKey":"Lines.items.[INDEX].AdditionalTaxes","typeLabel":"object[]"},"WithholdingCode":{"oneOf":[{"type":"null","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Lines.items.[INDEX].WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Lines.items.[INDEX].WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"Numerator of the withholding share (e.g. 9 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"Denominator of the withholding share (e.g. 10 in 9/10).","format":"int32","uniqueKey":"Lines.items.[INDEX].WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithheldVatAmount":{"type":"number","description":"Withheld VAT amount: VatAmount × WithholdingNumerator / WithholdingDenominator, 0 without WithholdingCode. Sent by the integrator, not calculated by the API.","format":"double","uniqueKey":"Lines.items.[INDEX].WithheldVatAmount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Lines.items.[INDEX]","typeLabel":"object"},"description":"Required, at least one line. On update the lines are replaced: the quote's existing lines are removed and these are saved instead.","isRequired":true,"uniqueKey":"Lines","typeLabel":"object[]"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"DocumentNumber","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Description","typeLabel":"null | string"},"RepresentativeName":{"oneOf":[{"type":"null","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"RepresentativeName.oneOf.1","typeLabel":"string"}],"uniqueKey":"RepresentativeName","typeLabel":"null | string"},"DueDays":{"type":"integer","description":"Payment term in days. Cannot be less than 0.","format":"int32","example":30,"uniqueKey":"DueDays","typeLabel":"integer\u003cint32>"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"DeliveryDate","typeLabel":"null | string\u003cdate>"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"SharingCode","typeLabel":"null | string"},"DiscountTotal":{"type":"number","description":"Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":100,"uniqueKey":"DiscountTotal","typeLabel":"number\u003cdouble>"},"SubTotal":{"type":"number","description":"Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.","format":"double","example":900,"uniqueKey":"SubTotal","typeLabel":"number\u003cdouble>"},"VatTotal":{"type":"number","description":"Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"VatTotal","typeLabel":"number\u003cdouble>"},"AdditionalTaxTotal":{"type":"number","description":"Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"AdditionalTaxTotal","typeLabel":"number\u003cdouble>"},"WithholdingTotal":{"type":"number","description":"Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":0,"uniqueKey":"WithholdingTotal","typeLabel":"number\u003cdouble>"},"GrandTotal":{"type":"number","description":"Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1350,"uniqueKey":"GrandTotal","typeLabel":"number\u003cdouble>"},"AverageExchangeRate":{"type":"number","description":"Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1,"uniqueKey":"AverageExchangeRate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"QuoteType":2,"QuoteNumber":"TKL0000125","Date":"2026-09-21T10:30:00","CustomerCode":"C-0001","Lines":[{"UnitCode":"C62","CurrencyCode":"TRY","ProductCode":"URN-0001","ECommerceProductCode":null,"Quantity":10,"UnitPrice":100,"GrossAmount":1000,"ExchangeRate":1,"DiscountRate":10,"DiscountAmount":100,"Discounts":[{"Rate":10}],"VatRate":20,"VatIncluded":false,"VatAmount":225,"AmountExcludingTax":900,"AmountIncludingTax":1350,"VatBase":1125,"VatExemptionCode":"\u003cstring>","LineGroupName":"\u003cstring>","Description":"\u003cstring>","Description2":"\u003cstring>","DeliveryDate":"2026-10-15","AdditionalTaxes":[{"Code":"0071","Rate":25,"Amount":225,"Base":900}],"WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithheldVatAmount":123}],"DocumentNumber":"2026-15","Description":"\u003cstring>","RepresentativeName":"\u003cstring>","DueDays":30,"DeliveryDate":"2026-10-15","SharingCode":"\u003cstring>","DiscountTotal":100,"SubTotal":900,"VatTotal":225,"AdditionalTaxTotal":225,"WithholdingTotal":0,"GrandTotal":1350,"AverageExchangeRate":1}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"f872d253-3912-460e-9a02-15a5de1bdd1f":{"description":"OK","content":{"application/json":{"schema":{"required":["Success","ResultCode","Data"],"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":true,"isRequired":true,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","example":"0000","isRequired":true,"uniqueKey":"ResultCode","typeLabel":"string"},"Data":{"type":"object","properties":{"Id":{"type":"string","description":"Quote ID.","format":"uuid","uniqueKey":"Data.Id","typeLabel":"string\u003cuuid>"},"CustomerId":{"oneOf":[{"type":"null","description":"Customer ID.","format":"uuid","uniqueKey":"Data.CustomerId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer ID.","format":"uuid","uniqueKey":"Data.CustomerId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.CustomerId","typeLabel":"null | string\u003cuuid>"},"RepresentativeId":{"oneOf":[{"type":"null","description":"Representative ID.","format":"uuid","uniqueKey":"Data.RepresentativeId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Representative ID.","format":"uuid","uniqueKey":"Data.RepresentativeId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.RepresentativeId","typeLabel":"null | string\u003cuuid>"},"CurrencyId":{"oneOf":[{"type":"null","description":"Currency ID.","format":"uuid","uniqueKey":"Data.CurrencyId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency ID.","format":"uuid","uniqueKey":"Data.CurrencyId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.CurrencyId","typeLabel":"null | string\u003cuuid>"},"Status":{"type":"integer","description":"Quote status: 0 Pending, 1 Accepted, 2 Revised, 3 Rejected. Quotes are created as 0 and the API never changes the status.","format":"int32","example":0,"uniqueKey":"Data.Status","typeLabel":"integer\u003cint32>"},"CustomerName":{"oneOf":[{"type":"null","description":"Customer name.","uniqueKey":"Data.CustomerName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Customer name.","uniqueKey":"Data.CustomerName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerName","typeLabel":"null | string"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Quote currency, derived from the lines: when every line uses the same currency, that is the quote currency; otherwise it is the company's default currency. Not accepted in the request.","example":"TRY","uniqueKey":"Data.CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Quote currency, derived from the lines: when every line uses the same currency, that is the quote currency; otherwise it is the company's default currency. Not accepted in the request.","example":"TRY","uniqueKey":"Data.CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CurrencyCode","typeLabel":"null | string"},"QuoteType":{"type":"integer","description":"Required. 1: Purchase quote (received), 2: Sales quote (issued). Cannot be changed after the quote is created.","format":"int32","example":2,"uniqueKey":"Data.QuoteType","typeLabel":"integer\u003cint32>"},"QuoteNumber":{"oneOf":[{"type":"null","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","uniqueKey":"Data.QuoteNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote number, unique within the company for the same QuoteType. Send \"Next\" on create to generate it from the company's quote number series for the type. At most 10 characters.","example":"TKL0000125","uniqueKey":"Data.QuoteNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.QuoteNumber","typeLabel":"null | string"},"DocumentNumber":{"oneOf":[{"type":"null","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"Data.DocumentNumber.oneOf.0","typeLabel":"null"},{"type":"string","description":"Document number (free text). At most 20 characters.","example":"2026-15","uniqueKey":"Data.DocumentNumber.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.DocumentNumber","typeLabel":"null | string"},"Date":{"oneOf":[{"type":"null","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","uniqueKey":"Data.Date.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Quote date. The date part is stored as the quote date; if a time is sent it is stored as the quote time, otherwise the current time is used.","format":"date-time","example":"2026-09-21T10:30:00","uniqueKey":"Data.Date.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.Date","typeLabel":"null | string\u003cdate-time>"},"Description":{"oneOf":[{"type":"null","description":"Description. At most 1000 characters.","uniqueKey":"Data.Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Description. At most 1000 characters.","uniqueKey":"Data.Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Description","typeLabel":"null | string"},"CustomerCode":{"oneOf":[{"type":"null","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","uniqueKey":"Data.CustomerCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Customer code (the customer's CustomerCode from GET /api/v1/customers).","example":"C-0001","uniqueKey":"Data.CustomerCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.CustomerCode","typeLabel":"null | string"},"RepresentativeName":{"oneOf":[{"type":"null","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"Data.RepresentativeName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Full name of a representative of the customer (RepresentativeName from GET /api/v1/customers/{customerId}/representatives). It must belong to the customer.","uniqueKey":"Data.RepresentativeName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.RepresentativeName","typeLabel":"null | string"},"DueDays":{"type":"integer","description":"Payment term in days. Cannot be less than 0.","format":"int32","example":30,"uniqueKey":"Data.DueDays","typeLabel":"integer\u003cint32>"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Data.DeliveryDate","typeLabel":"null | string\u003cdate>"},"SharingCode":{"oneOf":[{"type":"null","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"Data.SharingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Sharing code that limits who can see the quote. Empty means visible to everyone; otherwise it must be one of the user's sharing codes.","uniqueKey":"Data.SharingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.SharingCode","typeLabel":"null | string"},"DiscountTotal":{"type":"number","description":"Total discount: the sum of the lines' DiscountAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":100,"uniqueKey":"Data.DiscountTotal","typeLabel":"number\u003cdouble>"},"SubTotal":{"type":"number","description":"Subtotal: the sum of the lines' AmountExcludingTax. Filled from the lines; a value sent in the request is ignored.","format":"double","example":900,"uniqueKey":"Data.SubTotal","typeLabel":"number\u003cdouble>"},"VatTotal":{"type":"number","description":"Total VAT after withholding: the sum of the lines' VatAmount minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"Data.VatTotal","typeLabel":"number\u003cdouble>"},"AdditionalTaxTotal":{"type":"number","description":"Total additional tax: the sum of the lines' additional tax amounts. Filled from the lines; a value sent in the request is ignored.","format":"double","example":225,"uniqueKey":"Data.AdditionalTaxTotal","typeLabel":"number\u003cdouble>"},"WithholdingTotal":{"type":"number","description":"Total withheld VAT: the sum of the lines' WithheldVatAmount. Filled from the lines; a value sent in the request is ignored.","format":"double","example":0,"uniqueKey":"Data.WithholdingTotal","typeLabel":"number\u003cdouble>"},"GrandTotal":{"type":"number","description":"Grand total: the sum of the lines' AmountIncludingTax minus WithholdingTotal. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1350,"uniqueKey":"Data.GrandTotal","typeLabel":"number\u003cdouble>"},"AverageExchangeRate":{"type":"number","description":"Weighted average exchange rate: when every line has the same currency, Σ(AmountExcludingTax × ExchangeRate) / Σ AmountExcludingTax; when the lines have different currencies, 1, and the totals are converted to the default currency with each line's ExchangeRate. Filled from the lines; a value sent in the request is ignored.","format":"double","example":1,"uniqueKey":"Data.AverageExchangeRate","typeLabel":"number\u003cdouble>"},"CreateDate":{"oneOf":[{"type":"null","description":"Creation date.","format":"date-time","uniqueKey":"Data.CreateDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Creation date.","format":"date-time","uniqueKey":"Data.CreateDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.CreateDate","typeLabel":"null | string\u003cdate-time>"},"ModifyDate":{"oneOf":[{"type":"null","description":"Last modification date.","format":"date-time","uniqueKey":"Data.ModifyDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Last modification date.","format":"date-time","uniqueKey":"Data.ModifyDate.oneOf.1","typeLabel":"string\u003cdate-time>"}],"uniqueKey":"Data.ModifyDate","typeLabel":"null | string\u003cdate-time>"},"Lines":{"type":"array","items":{"type":"object","properties":{"ProductId":{"oneOf":[{"type":"null","description":"Product ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].ProductId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].ProductId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductId","typeLabel":"null | string\u003cuuid>"},"UnitId":{"oneOf":[{"type":"null","description":"Unit ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].UnitId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unit ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].UnitId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitId","typeLabel":"null | string\u003cuuid>"},"CurrencyId":{"oneOf":[{"type":"null","description":"Currency ID of the line.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].CurrencyId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Currency ID of the line.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].CurrencyId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].CurrencyId","typeLabel":"null | string\u003cuuid>"},"LineGroupId":{"oneOf":[{"type":"null","description":"Line group ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].LineGroupId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line group ID.","format":"uuid","uniqueKey":"Data.Lines.items.[INDEX].LineGroupId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"Data.Lines.items.[INDEX].LineGroupId","typeLabel":"null | string\u003cuuid>"},"ProductName":{"oneOf":[{"type":"null","description":"Product name.","uniqueKey":"Data.Lines.items.[INDEX].ProductName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product name.","uniqueKey":"Data.Lines.items.[INDEX].ProductName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductName","typeLabel":"null | string"},"UnitName":{"oneOf":[{"type":"null","description":"Unit name.","example":"ADET","uniqueKey":"Data.Lines.items.[INDEX].UnitName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unit name.","example":"ADET","uniqueKey":"Data.Lines.items.[INDEX].UnitName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitName","typeLabel":"null | string"},"ProductCode":{"oneOf":[{"type":"null","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Data.Lines.items.[INDEX].ProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product code (the product's Code from GET /api/v1/products). Send ProductCode or ECommerceProductCode; one of them is required. If both are sent, ProductCode is used.","example":"URN-0001","uniqueKey":"Data.Lines.items.[INDEX].ProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ProductCode","typeLabel":"null | string"},"ECommerceProductCode":{"oneOf":[{"type":"null","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Product's e-commerce integration code (the product's ECommerceProductCode from GET /api/v1/products), as an alternative to ProductCode. Used only when ProductCode is empty.","example":null,"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].ECommerceProductCode","typeLabel":"null | string"},"UnitCode":{"oneOf":[{"type":"null","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","uniqueKey":"Data.Lines.items.[INDEX].UnitCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Unit code: the unit's universal code (for example C62 for ADET) or, when the unit has no universal code, its name (for example KOLİ). It must be one of the product's own units (its main unit or its second/third unit).","example":"C62","uniqueKey":"Data.Lines.items.[INDEX].UnitCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].UnitCode","typeLabel":"null | string"},"Quantity":{"type":"number","description":"Quantity. Must be greater than 0.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].Quantity","typeLabel":"number\u003cdouble>"},"UnitPrice":{"type":"number","description":"Unit price excluding VAT, in the line currency. Cannot be negative.","format":"double","example":100,"uniqueKey":"Data.Lines.items.[INDEX].UnitPrice","typeLabel":"number\u003cdouble>"},"GrossAmount":{"oneOf":[{"type":"null","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount.oneOf.0","typeLabel":"null"},{"type":"number","description":"Line amount before discounts (Quantity × UnitPrice). Optional; when not sent, Quantity × UnitPrice rounded to 2 decimals is stored.","format":"double","example":1000,"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount.oneOf.1","typeLabel":"number\u003cdouble>"}],"uniqueKey":"Data.Lines.items.[INDEX].GrossAmount","typeLabel":"null | number\u003cdouble>"},"CurrencyCode":{"oneOf":[{"type":"null","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Currency code of the line, from GET /api/v1/definitions/currencies. The quote's own currency is derived from the lines, not accepted at the quote level (see AverageExchangeRate on the quote).","example":"TRY","uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].CurrencyCode","typeLabel":"null | string"},"ExchangeRate":{"type":"number","description":"Exchange rate of the line currency to the company's default currency. Must be 1 when CurrencyCode is the default currency; otherwise required and greater than 0.","format":"double","example":1,"uniqueKey":"Data.Lines.items.[INDEX].ExchangeRate","typeLabel":"number\u003cdouble>"},"DiscountRate":{"type":"number","description":"Cumulative line discount rate (%) of the Discounts list, between 0 and 100. Sent by the integrator, not calculated by the API; when Discounts is sent it must match the cumulative result of the list (10, 10 and 10 give 27.1) within 0.01.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].DiscountRate","typeLabel":"number\u003cdouble>"},"DiscountAmount":{"type":"number","description":"Line discount amount: GrossAmount × DiscountRate / 100. Sent by the integrator, not calculated by the API.","format":"double","example":100,"uniqueKey":"Data.Lines.items.[INDEX].DiscountAmount","typeLabel":"number\u003cdouble>"},"Discounts":{"type":"array","items":{"type":"object","properties":{"Rate":{"type":"number","description":"Discount rate (%), between 0 and 100. Discounts of a line are applied one after another in list order: 10, 10 and 10 give a 27.1% line discount.","format":"double","example":10,"uniqueKey":"Data.Lines.items.[INDEX].Discounts.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX].Discounts.items.[INDEX]","typeLabel":"object"},"description":"Discounts applied to the line one after another. Leave empty when the line has no discount.","uniqueKey":"Data.Lines.items.[INDEX].Discounts","typeLabel":"object[]"},"VatRate":{"type":"integer","description":"VAT rate (%), between 0 and 100.","format":"int32","example":20,"uniqueKey":"Data.Lines.items.[INDEX].VatRate","typeLabel":"integer\u003cint32>"},"VatIncluded":{"type":"boolean","description":"Not used; accepted only so that existing requests keep working. UnitPrice must exclude VAT.","example":false,"uniqueKey":"Data.Lines.items.[INDEX].VatIncluded","typeLabel":"boolean"},"VatAmount":{"type":"number","description":"VAT amount of the line: VatBase × VatRate / 100 (0 when VatRate is 0). Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Data.Lines.items.[INDEX].VatAmount","typeLabel":"number\u003cdouble>"},"AmountExcludingTax":{"type":"number","description":"Net line amount: GrossAmount − DiscountAmount, excluding taxes. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Data.Lines.items.[INDEX].AmountExcludingTax","typeLabel":"number\u003cdouble>"},"AmountIncludingTax":{"type":"number","description":"Line total: AmountExcludingTax + VatAmount + the additional tax amounts (withholding is not deducted). Sent by the integrator, not calculated by the API.","format":"double","example":1350,"uniqueKey":"Data.Lines.items.[INDEX].AmountIncludingTax","typeLabel":"number\u003cdouble>"},"VatBase":{"type":"number","description":"VAT base of the line: AmountExcludingTax plus the additional taxes that are added to the VAT base. Sent by the integrator, not calculated by the API.","format":"double","example":1125,"uniqueKey":"Data.Lines.items.[INDEX].VatBase","typeLabel":"number\u003cdouble>"},"VatExemptionCode":{"oneOf":[{"type":"null","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"VAT exemption code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].VatExemptionCode","typeLabel":"null | string"},"LineGroupName":{"oneOf":[{"type":"null","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Data.Lines.items.[INDEX].LineGroupName.oneOf.0","typeLabel":"null"},{"type":"string","description":"Name of a line group from GET /api/v1/definitions/line-groups.","uniqueKey":"Data.Lines.items.[INDEX].LineGroupName.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].LineGroupName","typeLabel":"null | string"},"Description":{"oneOf":[{"type":"null","description":"Line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description.oneOf.0","typeLabel":"null"},{"type":"string","description":"Line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Description","typeLabel":"null | string"},"Description2":{"oneOf":[{"type":"null","description":"Second line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description2.oneOf.0","typeLabel":"null"},{"type":"string","description":"Second line description. At most 255 characters.","uniqueKey":"Data.Lines.items.[INDEX].Description2.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].Description2","typeLabel":"null | string"},"DeliveryDate":{"oneOf":[{"type":"null","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.Lines.items.[INDEX].DeliveryDate.oneOf.0","typeLabel":"null"},{"type":"string","description":"Delivery date of the line. Date only (yyyy-MM-dd), no time part.","format":"date","example":"2026-10-15","uniqueKey":"Data.Lines.items.[INDEX].DeliveryDate.oneOf.1","typeLabel":"string\u003cdate>"}],"uniqueKey":"Data.Lines.items.[INDEX].DeliveryDate","typeLabel":"null | string\u003cdate>"},"AdditionalTaxes":{"type":"array","items":{"required":["Code"],"type":"object","properties":{"Code":{"oneOf":[{"type":"null","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.0","typeLabel":"null"},{"type":"string","description":"Required. Additional tax code, one of the codes listed in the product overview (e.g. 0071 for ÖTV). A code can be used only once on a line.","example":"0071","isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Code","typeLabel":"null | string"},"Rate":{"type":"number","description":"Additional tax rate (%).","format":"double","example":25,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Rate","typeLabel":"number\u003cdouble>"},"Amount":{"type":"number","description":"Additional tax amount. Sent by the integrator, not calculated by the API.","format":"double","example":225,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Amount","typeLabel":"number\u003cdouble>"},"Base":{"type":"number","description":"Base of the additional tax. Sent by the integrator, not calculated by the API.","format":"double","example":900,"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX].Base","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes.items.[INDEX]","typeLabel":"object"},"description":"Additional taxes of the line (e.g. ÖTV), at most 3 entries; stored in list order as the line's additional tax 1, 2 and 3. Leave empty when the line has none.","uniqueKey":"Data.Lines.items.[INDEX].AdditionalTaxes","typeLabel":"object[]"},"WithholdingCode":{"oneOf":[{"type":"null","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"Withholding (tevkifat) code. At most 10 characters.","uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"Data.Lines.items.[INDEX].WithholdingCode","typeLabel":"null | string"},"WithholdingNumerator":{"type":"integer","description":"Numerator of the withholding share (e.g. 9 in 9/10).","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].WithholdingNumerator","typeLabel":"integer\u003cint32>"},"WithholdingDenominator":{"type":"integer","description":"Denominator of the withholding share (e.g. 10 in 9/10).","format":"int32","uniqueKey":"Data.Lines.items.[INDEX].WithholdingDenominator","typeLabel":"integer\u003cint32>"},"WithheldVatAmount":{"type":"number","description":"Withheld VAT amount: VatAmount × WithholdingNumerator / WithholdingDenominator, 0 without WithholdingCode. Sent by the integrator, not calculated by the API.","format":"double","uniqueKey":"Data.Lines.items.[INDEX].WithheldVatAmount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"Data.Lines.items.[INDEX]","typeLabel":"object"},"description":"Quote lines, in line order.","uniqueKey":"Data.Lines","typeLabel":"object[]"}},"description":"Response data. Null when Success is false.","isRequired":true,"uniqueKey":"Data","typeLabel":"object"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"Success":true,"ResultCode":"0000","Data":{"Id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CustomerId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","RepresentativeId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CurrencyId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","Status":0,"CustomerName":"\u003cstring>","CurrencyCode":"TRY","QuoteType":2,"QuoteNumber":"TKL0000125","DocumentNumber":"2026-15","Date":"2026-09-21T10:30:00","Description":"\u003cstring>","CustomerCode":"C-0001","RepresentativeName":"\u003cstring>","DueDays":30,"DeliveryDate":"2026-10-15","SharingCode":"\u003cstring>","DiscountTotal":100,"SubTotal":900,"VatTotal":225,"AdditionalTaxTotal":225,"WithholdingTotal":0,"GrandTotal":1350,"AverageExchangeRate":1,"CreateDate":"2023-11-07T05:31:56Z","ModifyDate":"2023-11-07T05:31:56Z","Lines":[{"ProductId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","UnitId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","CurrencyId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","LineGroupId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","ProductName":"\u003cstring>","UnitName":"ADET","ProductCode":"URN-0001","ECommerceProductCode":null,"UnitCode":"C62","Quantity":10,"UnitPrice":100,"GrossAmount":1000,"CurrencyCode":"TRY","ExchangeRate":1,"DiscountRate":10,"DiscountAmount":100,"Discounts":[{"Rate":10}],"VatRate":20,"VatIncluded":false,"VatAmount":225,"AmountExcludingTax":900,"AmountIncludingTax":1350,"VatBase":1125,"VatExemptionCode":"\u003cstring>","LineGroupName":"\u003cstring>","Description":"\u003cstring>","Description2":"\u003cstring>","DeliveryDate":"2026-10-15","AdditionalTaxes":[{"Code":"0071","Rate":25,"Amount":225,"Base":900}],"WithholdingCode":"\u003cstring>","WithholdingNumerator":123,"WithholdingDenominator":123,"WithheldVatAmount":123}]},"Message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"94ec4e5b-8135-42c4-83c9-153153b2c487":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"5015","Message":"QuoteType cannot be changed after the quote is created.","Errors":[{"Code":"5015","Message":"QuoteType cannot be changed after the quote is created."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"5015","Message":"QuoteType cannot be changed after the quote is created.","Errors":[{"Code":"5015","Message":"QuoteType cannot be changed after the quote is created."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"0384fc5e-543a-48e1-baab-536192fd1585":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0102","Message":"Token has expired. Obtain a new token using the refresh token.","Errors":[{"Code":"0102","Message":"Token has expired. Obtain a new token using the refresh token."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0102","Message":"Token has expired. Obtain a new token using the refresh token.","Errors":[{"Code":"0102","Message":"Token has expired. Obtain a new token using the refresh token."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"c23cbf62-b269-41ef-b62e-3d26c5d6edc0":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0110","Message":"You do not have permission for this operation.","Errors":[{"Code":"0110","Message":"You do not have permission for this operation."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0110","Message":"You do not have permission for this operation.","Errors":[{"Code":"0110","Message":"You do not have permission for this operation."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"5b60035c-b870-4c35-8bc5-c18cbcb7c4eb":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"5000","Message":"Quote not found.","Errors":[{"Code":"5000","Message":"Quote not found."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"5000","Message":"Quote not found.","Errors":[{"Code":"5000","Message":"Quote not found."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"1baa9fda-d9aa-4a31-8f35-a7164b1fec13":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"Success":{"type":"boolean","description":"Whether the operation succeeded.","example":false,"uniqueKey":"Success","typeLabel":"boolean"},"ResultCode":{"oneOf":[{"type":"null","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.0","typeLabel":"null"},{"type":"string","description":"\"0000\" on success. On failure, the code of the first error; all errors are listed in Errors.","uniqueKey":"ResultCode.oneOf.1","typeLabel":"string"}],"uniqueKey":"ResultCode","typeLabel":"null | string"},"Message":{"oneOf":[{"type":"null","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.0","typeLabel":"null"},{"type":"string","description":"Error message when Success is false. Messages of all errors are joined into a single text.","uniqueKey":"Message.oneOf.1","typeLabel":"string"}],"uniqueKey":"Message","typeLabel":"null | string"},"TraceId":{"oneOf":[{"type":"null","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Support reference of an unexpected server error (ResultCode 0001). Share it with Noyax support so the error can be found. Only present on 500 responses.","uniqueKey":"TraceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"TraceId","typeLabel":"null | string"},"Errors":{"oneOf":[{"type":"null","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list."},"Message":{"type":"string","description":"Error description."}}},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.0","typeLabel":"null"},{"type":"array","items":{"required":["Code","Message"],"type":"object","properties":{"Code":{"type":"string","description":"Error code. See the result codes page for the full list.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Code","typeLabel":"string"},"Message":{"type":"string","description":"Error description.","isRequired":true,"uniqueKey":"Errors.oneOf.1.items.[INDEX].Message","typeLabel":"string"}},"uniqueKey":"Errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"All errors with their codes. Only present when Success is false.","uniqueKey":"Errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"Errors","typeLabel":"null | object[]"},"ExistingId":{"oneOf":[{"type":"null","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.0","typeLabel":"null"},{"type":"string","description":"ID of the record that already exists, when the error is a duplicate (for example 1002: the customer that already uses the CustomerCode). Only present on such errors.","format":"uuid","uniqueKey":"ExistingId.oneOf.1","typeLabel":"string\u003cuuid>"}],"uniqueKey":"ExistingId","typeLabel":"null | string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"example":{"Success":false,"ResultCode":"0120","Message":"Daily request limit (10000) exceeded.","Errors":[{"Code":"0120","Message":"Daily request limit (10000) exceeded."}]},"examples":{"Example":{"title":"Example","value":{"Success":false,"ResultCode":"0120","Message":"Daily request limit (10000) exceeded.","Errors":[{"Code":"0120","Message":"Daily request limit (10000) exceeded."}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2360e6fe-3f5d-4cb2-a410-60ae58b2515b":{"Bearer":{"type":"http","description":"Access token obtained from the Noyax auth service with your API key.","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"}}},"servers":{"751ff55a-b28a-4823-93a0-54b137dafaf3":{"url":"https://api.noyax.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Access token obtained from the Noyax auth service with your API key.","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Access token obtained from the Noyax auth service with your API key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"noyax","siteName":"Noyax API","title":"Update quote - Noyax API","navMaps":{"firstHrefInVersion":{"v1":{"href":"/en/v1/quotes/update","matchLevel":0}},"firstHrefInLanguage":{"tr":{"href":"/tr/v1/quotes/update","matchLevel":1},"en":{"href":"/en/v1/quotes/update","matchLevel":0}}},"lastModified":"2026-11-13T13:08:10.180Z","originalFileLocation":"en/v1/quotes/update.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Replaces all fields and all lines of a quote.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Noyax API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update quote - Noyax API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces all fields and all lines of a quote.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Noyax API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.noyax.com/en/v1/quotes/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://noyax.mintlify.site/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Update+quote\u0026amp;description=Replaces+all+fields+and+all+lines+of+a+quote.\u0026amp;theme=ada594ee3d688db06027175d\u0026amp;signature=7c642ab78d595380e69d5351c5cc85308f2554873b0fc30eac078d7475342160\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update quote - Noyax API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces all fields and all lines of a quote.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://noyax.mintlify.site/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Update+quote\u0026amp;description=Replaces+all+fields+and+all+lines+of+a+quote.\u0026amp;theme=ada594ee3d688db06027175d\u0026amp;signature=7c642ab78d595380e69d5351c5cc85308f2554873b0fc30eac078d7475342160\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/noyax/9sQuPgprl2ESyHgF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Noyax API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B4AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.noyax.com/en/v1/quotes/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/v1/quotes/update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://apidocs.noyax.com/en/v1/quotes/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://apidocs.noyax.com/tr/v1/quotes/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://apidocs.noyax.com/tr/v1/quotes/update\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.noyax.com/#organization\",\"name\":\"Noyax API\",\"url\":\"https://apidocs.noyax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/noyax/K7LxoYHrQCdoQ4jy/logo/light.svg?fit=max\u0026auto=format\u0026n=K7LxoYHrQCdoQ4jy\u0026q=85\u0026s=78086fed969cddbbf46c4cd156eff780\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.noyax.com#website\",\"name\":\"Noyax API\",\"url\":\"https://apidocs.noyax.com\",\"publisher\":{\"@id\":\"https://apidocs.noyax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.noyax.com/en/v1/quotes/update#webpage\",\"url\":\"https://apidocs.noyax.com/en/v1/quotes/update\",\"name\":\"Update quote\",\"description\":\"Replaces all fields and all lines of a quote.\",\"dateModified\":\"2026-11-13T13:08:10.180Z\",\"isPartOf\":{\"@id\":\"https://apidocs.noyax.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.noyax.com/en/v1/quotes/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.noyax.com/en/v1/quotes/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Modules\",\"item\":\"https://apidocs.noyax.com/en/v1/definitions/countries/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quotes\",\"item\":\"https://apidocs.noyax.com/en/v1/quotes/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update quote\",\"item\":\"https://apidocs.noyax.com/en/v1/quotes/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.noyax.com/en/v1/quotes/update#apireference\",\"headline\":\"Update quote\",\"name\":\"Update quote\",\"description\":\"Replaces all fields and all lines of a quote.\",\"url\":\"https://apidocs.noyax.com/en/v1/quotes/update\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.noyax.com/en/v1/quotes/update#webpage\"},\"dateModified\":\"2026-11-13T13:08:10.180Z\",\"publisher\":{\"@id\":\"https://apidocs.noyax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.noyax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Noyax API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Noyax API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/v1/quotes/update.md","siteName":"Noyax API","nav":{"global":null,"languages":[{"language":"tr","default":true,"pages":[{"title":"tr","href":"/tr/v1/quotes/update"}]},{"language":"en","versions":[{"version":"v1","default":true,"groups":[{"group":"Getting started","pages":[{"title":"Noyax API","sidebarTitle":"Introduction","icon":"house","href":"/en/v1"},{"title":"Quickstart","icon":"rocket","href":"/en/v1/quickstart"},{"title":"Postman collection","icon":"download","href":"/en/v1/postman"}]},{"group":"Core concepts","pages":[{"title":"Authentication","icon":"key","href":"/en/v1/guides/authentication"},{"title":"Request headers","icon":"id-card","href":"/en/v1/guides/request-context"},{"title":"Permissions","icon":"shield-check","href":"/en/v1/guides/permissions"},{"title":"Rate limits","icon":"gauge","href":"/en/v1/guides/rate-limits"},{"title":"Partial update","icon":"pen-to-square","href":"/en/v1/guides/partial-update"},{"title":"Errors","icon":"triangle-exclamation","href":"/en/v1/guides/errors"},{"title":"Result codes","icon":"list-ol","href":"/en/v1/guides/result-codes"},{"title":"Pagination and search","icon":"list","href":"/en/v1/guides/pagination-search"},{"title":"Sharing codes","icon":"eye","href":"/en/v1/guides/sharing-codes"},{"title":"Versioning","icon":"code-branch","href":"/en/v1/guides/versioning"}]},{"group":"Modules","icon":"layer-group","pages":[{"group":"Definitions","icon":"book","root":{"title":"Definitions","icon":"book","href":"/en/v1/definitions/overview"},"expanded":false,"pages":[{"group":"Countries","icon":"earth-europe","pages":[{"title":"List countries","openapi":"api-reference/openapi.json GET /api/v1/definitions/countries","href":"/en/v1/definitions/countries/list"},{"title":"Get country","openapi":"api-reference/openapi.json GET /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/get"},{"title":"Create country","openapi":"api-reference/openapi.json POST /api/v1/definitions/countries","href":"/en/v1/definitions/countries/create"},{"title":"Update country","openapi":"api-reference/openapi.json PUT /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/update"},{"title":"Partially update country","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/patch"},{"title":"Delete country","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/countries/{countryId}","href":"/en/v1/definitions/countries/delete"}]},{"group":"Cities","icon":"city","pages":[{"title":"List cities","openapi":"api-reference/openapi.json GET /api/v1/definitions/cities","href":"/en/v1/definitions/cities/list"},{"title":"Get city","openapi":"api-reference/openapi.json GET /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/get"},{"title":"Create city","openapi":"api-reference/openapi.json POST /api/v1/definitions/cities","href":"/en/v1/definitions/cities/create"},{"title":"Update city","openapi":"api-reference/openapi.json PUT /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/update"},{"title":"Partially update city","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/patch"},{"title":"Delete city","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/cities/{cityId}","href":"/en/v1/definitions/cities/delete"}]},{"group":"Districts","icon":"map-pin","pages":[{"title":"List districts","openapi":"api-reference/openapi.json GET /api/v1/definitions/districts","href":"/en/v1/definitions/districts/list"},{"title":"Get district","openapi":"api-reference/openapi.json GET /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/get"},{"title":"Create district","openapi":"api-reference/openapi.json POST /api/v1/definitions/districts","href":"/en/v1/definitions/districts/create"},{"title":"Update district","openapi":"api-reference/openapi.json PUT /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/update"},{"title":"Partially update district","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/patch"},{"title":"Delete district","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/districts/{districtId}","href":"/en/v1/definitions/districts/delete"}]},{"group":"Currencies","icon":"coins","pages":[{"title":"List currencies","openapi":"api-reference/openapi.json GET /api/v1/definitions/currencies","href":"/en/v1/definitions/currencies/list"},{"title":"Get currency","openapi":"api-reference/openapi.json GET /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/get"},{"title":"Create currency","openapi":"api-reference/openapi.json POST /api/v1/definitions/currencies","href":"/en/v1/definitions/currencies/create"},{"title":"Update currency","openapi":"api-reference/openapi.json PUT /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/update"},{"title":"Partially update currency","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/patch"},{"title":"Delete currency","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/currencies/{currencyId}","href":"/en/v1/definitions/currencies/delete"}]},{"group":"Units","icon":"ruler","pages":[{"title":"List units","openapi":"api-reference/openapi.json GET /api/v1/definitions/units","href":"/en/v1/definitions/units/list"},{"title":"Get unit","openapi":"api-reference/openapi.json GET /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/get"},{"title":"Create unit","openapi":"api-reference/openapi.json POST /api/v1/definitions/units","href":"/en/v1/definitions/units/create"},{"title":"Update unit","openapi":"api-reference/openapi.json PUT /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/update"},{"title":"Partially update unit","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/patch"},{"title":"Delete unit","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/units/{unitId}","href":"/en/v1/definitions/units/delete"}]},{"group":"Line groups","icon":"layer-group","pages":[{"title":"List line groups","openapi":"api-reference/openapi.json GET /api/v1/definitions/line-groups","href":"/en/v1/definitions/line-groups/list"},{"title":"Get line group","openapi":"api-reference/openapi.json GET /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/get"},{"title":"Create line group","openapi":"api-reference/openapi.json POST /api/v1/definitions/line-groups","href":"/en/v1/definitions/line-groups/create"},{"title":"Update line group","openapi":"api-reference/openapi.json PUT /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/update"},{"title":"Partially update line group","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/patch"},{"title":"Delete line group","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/line-groups/{lineGroupId}","href":"/en/v1/definitions/line-groups/delete"}]},{"group":"VAT rates","icon":"percent","pages":[{"title":"List VAT rates","openapi":"api-reference/openapi.json GET /api/v1/definitions/vat-rates","href":"/en/v1/definitions/vat-rates/list"}]},{"group":"Shipment definitions","icon":"truck","pages":[{"title":"List shipment definitions","openapi":"api-reference/openapi.json GET /api/v1/definitions/shipment-definitions","href":"/en/v1/definitions/shipment-definitions/list"},{"title":"Get shipment definition","openapi":"api-reference/openapi.json GET /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/get"},{"title":"Create shipment definition","openapi":"api-reference/openapi.json POST /api/v1/definitions/shipment-definitions","href":"/en/v1/definitions/shipment-definitions/create"},{"title":"Update shipment definition","openapi":"api-reference/openapi.json PUT /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/update"},{"title":"Partially update shipment definition","openapi":"api-reference/openapi.json PATCH /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/patch"},{"title":"Delete shipment definition","openapi":"api-reference/openapi.json DELETE /api/v1/definitions/shipment-definitions/{shipmentDefinitionId}","href":"/en/v1/definitions/shipment-definitions/delete"}]}]},{"group":"Customers","icon":"users","root":{"title":"Customer record","icon":"user","href":"/en/v1/customers/overview"},"expanded":false,"pages":[{"title":"Customer code generation","icon":"hashtag","href":"/en/v1/customers/customer-code"},{"group":"Customer definitions","icon":"book-open","pages":[{"title":"List customer groups","openapi":"api-reference/openapi.json GET /api/v1/customers/groups","href":"/en/v1/customers/definitions/groups"},{"group":"Parameter definitions","pages":[{"title":"List customer parameter definitions","openapi":"api-reference/openapi.json GET /api/v1/customers/parameter-definitions","href":"/en/v1/customers/definitions/parameter-definitions/list"},{"title":"Get customer parameter definition","openapi":"api-reference/openapi.json GET /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/get"},{"title":"Create customer parameter definition","openapi":"api-reference/openapi.json POST /api/v1/customers/parameter-definitions","href":"/en/v1/customers/definitions/parameter-definitions/create"},{"title":"Update customer parameter definition","openapi":"api-reference/openapi.json PUT /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/update"},{"title":"Partially update customer parameter definition","openapi":"api-reference/openapi.json PATCH /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/patch"},{"title":"Delete customer parameter definition","openapi":"api-reference/openapi.json DELETE /api/v1/customers/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/customers/definitions/parameter-definitions/delete"}]}]},{"group":"Customer endpoints","icon":"user","pages":[{"title":"List customers","openapi":"api-reference/openapi.json GET /api/v1/customers","href":"/en/v1/customers/list"},{"title":"Get customer","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}","href":"/en/v1/customers/get"},{"title":"Create customer","openapi":"api-reference/openapi.json POST /api/v1/customers","href":"/en/v1/customers/create"},{"title":"Update customer","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}","href":"/en/v1/customers/update"},{"title":"Partially update customer","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}","href":"/en/v1/customers/patch"},{"title":"Delete customer","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}","href":"/en/v1/customers/delete"}]},{"group":"Addresses","icon":"location-dot","pages":[{"title":"List addresses","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/addresses","href":"/en/v1/customers/addresses/list"},{"title":"Get address","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/get"},{"title":"Create address","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/addresses","href":"/en/v1/customers/addresses/create"},{"title":"Update address","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/update"},{"title":"Partially update address","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/patch"},{"title":"Delete address","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/addresses/{addressId}","href":"/en/v1/customers/addresses/delete"}]},{"group":"Telephones","icon":"phone","pages":[{"title":"List telephones","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/telephones","href":"/en/v1/customers/telephones/list"},{"title":"Get telephone","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/get"},{"title":"Create telephone","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/telephones","href":"/en/v1/customers/telephones/create"},{"title":"Update telephone","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/update"},{"title":"Partially update telephone","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/patch"},{"title":"Delete telephone","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/telephones/{telephoneId}","href":"/en/v1/customers/telephones/delete"}]},{"group":"Links","icon":"link","pages":[{"title":"List links","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/links","href":"/en/v1/customers/links/list"},{"title":"Get link","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/get"},{"title":"Create link","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/links","href":"/en/v1/customers/links/create"},{"title":"Update link","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/update"},{"title":"Partially update link","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/patch"},{"title":"Delete link","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/links/{linkId}","href":"/en/v1/customers/links/delete"}]},{"group":"Representatives","icon":"user-tie","pages":[{"title":"List representatives","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/representatives","href":"/en/v1/customers/representatives/list"},{"title":"Get representative","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/get"},{"title":"Create representative","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/representatives","href":"/en/v1/customers/representatives/create"},{"title":"Update representative","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/update"},{"title":"Partially update representative","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/patch"},{"title":"Delete representative","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/representatives/{representativeId}","href":"/en/v1/customers/representatives/delete"}]},{"group":"Bank accounts","icon":"building-columns","pages":[{"title":"List bank accounts","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/bank-accounts","href":"/en/v1/customers/bank-accounts/list"},{"title":"Get bank account","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/get"},{"title":"Create bank account","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/bank-accounts","href":"/en/v1/customers/bank-accounts/create"},{"title":"Update bank account","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/update"},{"title":"Partially update bank account","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/patch"},{"title":"Delete bank account","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/bank-accounts/{bankAccountId}","href":"/en/v1/customers/bank-accounts/delete"}]},{"group":"Group memberships","icon":"users-rectangle","pages":[{"title":"List group memberships","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/group-members","href":"/en/v1/customers/group-members/list"},{"title":"Get group membership","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/get"},{"title":"Create group membership","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/group-members","href":"/en/v1/customers/group-members/create"},{"title":"Update group membership","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/update"},{"title":"Partially update group membership","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/patch"},{"title":"Delete group membership","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/group-members/{groupMemberId}","href":"/en/v1/customers/group-members/delete"}]},{"group":"Parameters","icon":"sliders","pages":[{"title":"List parameters","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/parameters","href":"/en/v1/customers/parameters/list"},{"title":"Get parameter","openapi":"api-reference/openapi.json GET /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/get"},{"title":"Create parameter","openapi":"api-reference/openapi.json POST /api/v1/customers/{customerId}/parameters","href":"/en/v1/customers/parameters/create"},{"title":"Update parameter","openapi":"api-reference/openapi.json PUT /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/update"},{"title":"Partially update parameter value","openapi":"api-reference/openapi.json PATCH /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/patch"},{"title":"Delete parameter","openapi":"api-reference/openapi.json DELETE /api/v1/customers/{customerId}/parameters/{parameterId}","href":"/en/v1/customers/parameters/delete"}]}]},{"group":"Products","icon":"box","root":{"title":"Product card","icon":"box","href":"/en/v1/products/overview"},"expanded":false,"pages":[{"title":"List products","openapi":"api-reference/openapi.json GET /api/v1/products","href":"/en/v1/products/list"},{"title":"List changed products","openapi":"api-reference/openapi.json GET /api/v1/products/changes","href":"/en/v1/products/changes"},{"title":"Get product","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}","href":"/en/v1/products/get"},{"title":"Create product","openapi":"api-reference/openapi.json POST /api/v1/products","href":"/en/v1/products/create"},{"title":"Update product","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}","href":"/en/v1/products/update"},{"title":"Partially update product","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}","href":"/en/v1/products/patch"},{"title":"Delete product","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}","href":"/en/v1/products/delete"},{"group":"Product definitions","icon":"book-open","pages":[{"group":"Parameter definitions","pages":[{"title":"List product parameter definitions","openapi":"api-reference/openapi.json GET /api/v1/products/parameter-definitions","href":"/en/v1/products/definitions/parameter-definitions/list"},{"title":"Get product parameter definition","openapi":"api-reference/openapi.json GET /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/get"},{"title":"Create product parameter definition","openapi":"api-reference/openapi.json POST /api/v1/products/parameter-definitions","href":"/en/v1/products/definitions/parameter-definitions/create"},{"title":"Update product parameter definition","openapi":"api-reference/openapi.json PUT /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/update"},{"title":"Partially update product parameter definition","openapi":"api-reference/openapi.json PATCH /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/patch"},{"title":"Delete product parameter definition","openapi":"api-reference/openapi.json DELETE /api/v1/products/parameter-definitions/{parameterDefinitionId}","href":"/en/v1/products/definitions/parameter-definitions/delete"}]}]},{"group":"Groups","icon":"sitemap","pages":[{"title":"List product group details","openapi":"api-reference/openapi.json GET /api/v1/products/groups","href":"/en/v1/products/groups/list"},{"title":"Get product group detail","openapi":"api-reference/openapi.json GET /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/get"},{"title":"Create product group detail","openapi":"api-reference/openapi.json POST /api/v1/products/groups","href":"/en/v1/products/groups/create"},{"title":"Update product group detail","openapi":"api-reference/openapi.json PUT /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/update"},{"title":"Partially update product group detail","openapi":"api-reference/openapi.json PATCH /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/patch"},{"title":"Delete product group detail","openapi":"api-reference/openapi.json DELETE /api/v1/products/groups/{groupDetailId}","href":"/en/v1/products/groups/delete"}]},{"group":"Parameters","icon":"sliders","pages":[{"title":"List product parameter values","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/parameters","href":"/en/v1/products/parameters/list"},{"title":"Get product parameter value","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/get"},{"title":"Create product parameter value","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/parameters","href":"/en/v1/products/parameters/create"},{"title":"Update product parameter value","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/update"},{"title":"Partially update product parameter value","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/patch"},{"title":"Delete product parameter value","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/parameters/{parameterId}","href":"/en/v1/products/parameters/delete"}]},{"group":"Prices","icon":"tag","pages":[{"title":"List product prices","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/prices","href":"/en/v1/products/prices/list"},{"title":"Get product price","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/get"},{"title":"Create product price","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/prices","href":"/en/v1/products/prices/create"},{"title":"Update product price","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/update"},{"title":"Partially update product price","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/patch"},{"title":"Delete product price","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/prices/{priceId}","href":"/en/v1/products/prices/delete"}]},{"group":"Critical stock","icon":"triangle-exclamation","pages":[{"title":"List critical stock definitions","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/critical-stock","href":"/en/v1/products/critical-stock/list"},{"title":"Get critical stock definition","openapi":"api-reference/openapi.json GET /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/get"},{"title":"Create critical stock definition","openapi":"api-reference/openapi.json POST /api/v1/products/{productId}/critical-stock","href":"/en/v1/products/critical-stock/create"},{"title":"Update critical stock definition","openapi":"api-reference/openapi.json PUT /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/update"},{"title":"Partially update critical stock definition","openapi":"api-reference/openapi.json PATCH /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/patch"},{"title":"Delete critical stock definition","openapi":"api-reference/openapi.json DELETE /api/v1/products/{productId}/critical-stock/{criticalStockId}","href":"/en/v1/products/critical-stock/delete"}]}]},{"group":"Stock","icon":"boxes-stacked","expanded":false,"pages":[{"group":"Warehouses","icon":"warehouse","pages":[{"title":"List warehouses","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses","href":"/en/v1/stock/warehouses/list"},{"title":"Get warehouse","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/get"},{"title":"Create warehouse","openapi":"api-reference/openapi.json POST /api/v1/stock/warehouses","href":"/en/v1/stock/warehouses/create"},{"title":"Update warehouse","openapi":"api-reference/openapi.json PUT /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/update"},{"title":"Partially update warehouse","openapi":"api-reference/openapi.json PATCH /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/patch"},{"title":"Delete warehouse","openapi":"api-reference/openapi.json DELETE /api/v1/stock/warehouses/{warehouseId}","href":"/en/v1/stock/warehouses/delete"},{"group":"Sections","icon":"map-pin","pages":[{"title":"List sections","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}/sections","href":"/en/v1/stock/warehouses/sections/list"},{"title":"Get section","openapi":"api-reference/openapi.json GET /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/get"},{"title":"Create section","openapi":"api-reference/openapi.json POST /api/v1/stock/warehouses/{warehouseId}/sections","href":"/en/v1/stock/warehouses/sections/create"},{"title":"Update section","openapi":"api-reference/openapi.json PUT /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/update"},{"title":"Partially update section","openapi":"api-reference/openapi.json PATCH /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/patch"},{"title":"Delete section","openapi":"api-reference/openapi.json DELETE /api/v1/stock/warehouses/{warehouseId}/sections/{sectionId}","href":"/en/v1/stock/warehouses/sections/delete"}]}]},{"group":"Product Stock Status","icon":"boxes-packing","pages":[{"title":"Product stock status","openapi":"api-reference/openapi.json GET /api/v1/stock/products/{productId}/status","href":"/en/v1/stock/products/status"},{"title":"Product stock status by code","openapi":"api-reference/openapi.json GET /api/v1/stock/products/status","href":"/en/v1/stock/products/status-by-code"}]}]},{"group":"Quotes","icon":"file-signature","root":{"title":"Quotes","icon":"file-signature","href":"/en/v1/quotes/overview"},"expanded":false,"pages":[{"title":"Calculating quote amounts","href":"/en/v1/quotes/calculations"},{"title":"List quotes","openapi":"api-reference/openapi.json GET /api/v1/quotes","href":"/en/v1/quotes/list"},{"title":"Get quote","openapi":"api-reference/openapi.json GET /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/get"},{"title":"Create quote","description":"Creates a quote and its lines in one transaction.","openapi":"api-reference/openapi.json POST /api/v1/quotes","href":"/en/v1/quotes/create"},{"title":"Update quote","openapi":"api-reference/openapi.json PUT /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/update"},{"title":"Partially update quote","description":"Changes only the sent fields of a quote.","openapi":"api-reference/openapi.json PATCH /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/patch"},{"title":"Delete quote","openapi":"api-reference/openapi.json DELETE /api/v1/quotes/{quoteId}","href":"/en/v1/quotes/delete"}]},{"group":"Orders","icon":"cart-shopping","root":{"title":"Orders","icon":"cart-shopping","href":"/en/v1/orders/overview"},"expanded":false,"pages":[{"title":"List orders","openapi":"api-reference/openapi.json GET /api/v1/orders","href":"/en/v1/orders/list"},{"title":"Get order","openapi":"api-reference/openapi.json GET /api/v1/orders/{orderId}","href":"/en/v1/orders/get"},{"title":"Create order","openapi":"api-reference/openapi.json POST /api/v1/orders","href":"/en/v1/orders/create"},{"title":"Update order","openapi":"api-reference/openapi.json PUT /api/v1/orders/{orderId}","href":"/en/v1/orders/update"},{"title":"Partially update order","openapi":"api-reference/openapi.json PATCH /api/v1/orders/{orderId}","href":"/en/v1/orders/patch"},{"title":"Delete order","openapi":"api-reference/openapi.json DELETE /api/v1/orders/{orderId}","href":"/en/v1/orders/delete"}]},{"group":"Despatches","icon":"truck","root":{"title":"Despatches","icon":"truck","href":"/en/v1/despatches/overview"},"expanded":false,"pages":[{"title":"List despatches","openapi":"api-reference/openapi.json GET /api/v1/despatches","href":"/en/v1/despatches/list"},{"title":"Get despatch","openapi":"api-reference/openapi.json GET /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/get"},{"title":"Create despatch","openapi":"api-reference/openapi.json POST /api/v1/despatches","href":"/en/v1/despatches/create"},{"title":"Update despatch","openapi":"api-reference/openapi.json PUT /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/update"},{"title":"Partially update despatch","openapi":"api-reference/openapi.json PATCH /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/patch"},{"title":"Delete despatch","openapi":"api-reference/openapi.json DELETE /api/v1/despatches/{despatchId}","href":"/en/v1/despatches/delete"}]},{"group":"Invoices","icon":"file-invoice","expanded":false,"pages":[{"group":"Purchase Invoices","root":{"title":"Purchase Invoices","icon":"file-invoice","href":"/en/v1/purchase-invoices/overview"},"pages":[{"title":"List purchase invoices","openapi":"api-reference/openapi.json GET /api/v1/purchase-invoices","href":"/en/v1/purchase-invoices/list"},{"title":"Get purchase invoice","openapi":"api-reference/openapi.json GET /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/get"},{"title":"Create purchase invoice","openapi":"api-reference/openapi.json POST /api/v1/purchase-invoices","href":"/en/v1/purchase-invoices/create"},{"title":"Update purchase invoice","openapi":"api-reference/openapi.json PUT /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/update"},{"title":"Partially update purchase invoice","openapi":"api-reference/openapi.json PATCH /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/patch"},{"title":"Delete purchase invoice","openapi":"api-reference/openapi.json DELETE /api/v1/purchase-invoices/{invoiceId}","href":"/en/v1/purchase-invoices/delete"}]},{"group":"Sales Invoices","root":{"title":"Sales Invoices","icon":"file-invoice","href":"/en/v1/sales-invoices/overview"},"pages":[{"title":"List sales invoices","openapi":"api-reference/openapi.json GET /api/v1/sales-invoices","href":"/en/v1/sales-invoices/list"},{"title":"Get sales invoice","openapi":"api-reference/openapi.json GET /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/get"},{"title":"Create sales invoice","openapi":"api-reference/openapi.json POST /api/v1/sales-invoices","href":"/en/v1/sales-invoices/create"},{"title":"Update sales invoice","openapi":"api-reference/openapi.json PUT /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/update"},{"title":"Partially update sales invoice","openapi":"api-reference/openapi.json PATCH /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/patch"},{"title":"Delete sales invoice","openapi":"api-reference/openapi.json DELETE /api/v1/sales-invoices/{invoiceId}","href":"/en/v1/sales-invoices/delete"}]},{"group":"Purchase Return Invoices","root":{"title":"Purchase Return Invoices","icon":"file-invoice","href":"/en/v1/purchase-return-invoices/overview"},"pages":[{"title":"List purchase return invoices","openapi":"api-reference/openapi.json GET /api/v1/purchase-return-invoices","href":"/en/v1/purchase-return-invoices/list"},{"title":"Get purchase return invoice","openapi":"api-reference/openapi.json GET /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/get"},{"title":"Create purchase return invoice","openapi":"api-reference/openapi.json POST /api/v1/purchase-return-invoices","href":"/en/v1/purchase-return-invoices/create"},{"title":"Update purchase return invoice","openapi":"api-reference/openapi.json PUT /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/update"},{"title":"Partially update purchase return invoice","openapi":"api-reference/openapi.json PATCH /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/patch"},{"title":"Delete purchase return invoice","openapi":"api-reference/openapi.json DELETE /api/v1/purchase-return-invoices/{invoiceId}","href":"/en/v1/purchase-return-invoices/delete"}]},{"group":"Sales Return Invoices","root":{"title":"Sales Return Invoices","icon":"file-invoice","href":"/en/v1/sales-return-invoices/overview"},"pages":[{"title":"List sales return invoices","openapi":"api-reference/openapi.json GET /api/v1/sales-return-invoices","href":"/en/v1/sales-return-invoices/list"},{"title":"Get sales return invoice","openapi":"api-reference/openapi.json GET /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/get"},{"title":"Create sales return invoice","openapi":"api-reference/openapi.json POST /api/v1/sales-return-invoices","href":"/en/v1/sales-return-invoices/create"},{"title":"Update sales return invoice","openapi":"api-reference/openapi.json PUT /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/update"},{"title":"Partially update sales return invoice","openapi":"api-reference/openapi.json PATCH /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/patch"},{"title":"Delete sales return invoice","openapi":"api-reference/openapi.json DELETE /api/v1/sales-return-invoices/{invoiceId}","href":"/en/v1/sales-return-invoices/delete"}]}]},{"group":"Finance","icon":"building-columns","root":{"title":"Finance","icon":"building-columns","href":"/en/v1/finance/overview"},"expanded":false,"pages":[{"group":"Customers","icon":"address-card","pages":[{"title":"Customer balances","openapi":"api-reference/openapi.json GET /api/v1/finance/customers/balances","href":"/en/v1/finance/customers/balances"},{"title":"Customer transactions","openapi":"api-reference/openapi.json GET /api/v1/finance/customers/{customerId}/transactions","href":"/en/v1/finance/customers/transactions"}]},{"group":"Bank","icon":"landmark","pages":[{"group":"Bank transfers","icon":"money-bill-transfer","root":{"title":"Bank Transfer Vouchers","icon":"money-bill-transfer","href":"/en/v1/finance/bank-transfers/overview"},"pages":[{"title":"List bank transfers","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-transfers","href":"/en/v1/finance/bank-transfers/list"},{"title":"Get bank transfer","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/get"},{"title":"Create bank transfer","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-transfers","href":"/en/v1/finance/bank-transfers/create"},{"title":"Update bank transfer","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/update"},{"title":"Partially update bank transfer","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/patch"},{"title":"Delete bank transfer","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-transfers/{bankTransferId}","href":"/en/v1/finance/bank-transfers/delete"}]},{"group":"Bank openings","icon":"door-open","root":{"title":"Bank Opening Vouchers","icon":"door-open","href":"/en/v1/finance/bank-openings/overview"},"pages":[{"title":"List bank openings","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-openings","href":"/en/v1/finance/bank-openings/list"},{"title":"Get bank opening","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/get"},{"title":"Create bank opening","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-openings","href":"/en/v1/finance/bank-openings/create"},{"title":"Update bank opening","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/update"},{"title":"Partially update bank opening","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/patch"},{"title":"Delete bank opening","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-openings/{bankOpeningId}","href":"/en/v1/finance/bank-openings/delete"}]},{"group":"Bank internal transfers","icon":"right-left","root":{"title":"Bank Internal Transfer Vouchers","icon":"right-left","href":"/en/v1/finance/bank-internal-transfers/overview"},"pages":[{"title":"List bank internal transfers","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-internal-transfers","href":"/en/v1/finance/bank-internal-transfers/list"},{"title":"Get bank internal transfer","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/get"},{"title":"Create bank internal transfer","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-internal-transfers","href":"/en/v1/finance/bank-internal-transfers/create"},{"title":"Update bank internal transfer","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/update"},{"title":"Partially update bank internal transfer","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/patch"},{"title":"Delete bank internal transfer","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-internal-transfers/{bankInternalTransferId}","href":"/en/v1/finance/bank-internal-transfers/delete"}]},{"group":"Credit card collections","icon":"credit-card","root":{"title":"Credit Card Collection Vouchers","icon":"credit-card","href":"/en/v1/finance/credit-card-collections/overview"},"pages":[{"title":"List credit card collections","openapi":"api-reference/openapi.json GET /api/v1/finance/credit-card-collections","href":"/en/v1/finance/credit-card-collections/list"},{"title":"Get credit card collection","openapi":"api-reference/openapi.json GET /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/get"},{"title":"Create credit card collection","openapi":"api-reference/openapi.json POST /api/v1/finance/credit-card-collections","href":"/en/v1/finance/credit-card-collections/create"},{"title":"Update credit card collection","openapi":"api-reference/openapi.json PUT /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/update"},{"title":"Partially update credit card collection","openapi":"api-reference/openapi.json PATCH /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/patch"},{"title":"Delete credit card collection","openapi":"api-reference/openapi.json DELETE /api/v1/finance/credit-card-collections/{creditCardCollectionId}","href":"/en/v1/finance/credit-card-collections/delete"}]},{"group":"Bank definitions","icon":"building-columns","pages":[{"title":"List banks","openapi":"api-reference/openapi.json GET /api/v1/finance/banks","href":"/en/v1/finance/banks/list"},{"title":"Get bank","openapi":"api-reference/openapi.json GET /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/get"},{"title":"Create bank","openapi":"api-reference/openapi.json POST /api/v1/finance/banks","href":"/en/v1/finance/banks/create"},{"title":"Update bank","openapi":"api-reference/openapi.json PUT /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/update"},{"title":"Partially update bank","openapi":"api-reference/openapi.json PATCH /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/patch"},{"title":"Delete bank","openapi":"api-reference/openapi.json DELETE /api/v1/finance/banks/{bankId}","href":"/en/v1/finance/banks/delete"}]},{"group":"Bank accounts","icon":"credit-card","pages":[{"title":"List bank accounts","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts","href":"/en/v1/finance/bank-accounts/list"},{"title":"Get bank account","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/get"},{"title":"Create bank account","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-accounts","href":"/en/v1/finance/bank-accounts/create"},{"title":"Update bank account","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/update"},{"title":"Partially update bank account","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/patch"},{"title":"Delete bank account","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-accounts/{bankAccountId}","href":"/en/v1/finance/bank-accounts/delete"},{"group":"Repayment plans","icon":"calendar-days","pages":[{"title":"List repayment plans","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans","href":"/en/v1/finance/bank-accounts/repayment-plans/list"},{"title":"Get repayment plan","openapi":"api-reference/openapi.json GET /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/get"},{"title":"Create repayment plan","openapi":"api-reference/openapi.json POST /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans","href":"/en/v1/finance/bank-accounts/repayment-plans/create"},{"title":"Update repayment plan","openapi":"api-reference/openapi.json PUT /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/update"},{"title":"Partially update repayment plan","openapi":"api-reference/openapi.json PATCH /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/patch"},{"title":"Delete repayment plan","openapi":"api-reference/openapi.json DELETE /api/v1/finance/bank-accounts/{bankAccountId}/repayment-plans/{repaymentPlanId}","href":"/en/v1/finance/bank-accounts/repayment-plans/delete"}]}]}]}]}]},{"group":"Release notes","pages":[{"title":"Release notes","icon":"clock-rotate-left","href":"/en/v1/changelog"}]}]}]}]},"basePath":"","title":"Update quote - Noyax API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}