Skip to main content
PATCH
Update a sales line type

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Path Parameters

uuid
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json

List only the line type fields to change. At least one field is required.

List only the line type fields to change. At least one field is required.

label
string
Required string length: 1 - 255
partner_visible
boolean
list_mode
enum<string>
Available options:
latest,
all
position
integer
Required range: 0 <= x <= 10000

Response

200 - application/json

A type of sales line and how it is shown.

A type of sales line and how it is shown.

uuid
string
required
key
string
required

The line type as the importer writes it (compared without letter case). Set by importers; it cannot be changed here.

label
string
required

The name shown for the line type.

partner_visible
boolean
required

Whether partners see lines of this type.

list_mode
enum<string>
required

latest: only the lines of each report config's most recent import that carried this line type are listed. all: every line is kept and listed.

Available options:
latest,
all
position
number
required

Display order, lowest first.