Skip to main content
PATCH
Update the sales report figure settings

Authorizations

Authorization
string
header
required

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

Body

application/json

List only the figure settings to change. A label set to null resets it to the default. At least one field is required.

List only the figure settings to change. A label set to null resets it to the default. At least one field is required.

mtd_label
string | null
Required string length: 1 - 64
ytd_label
string | null
Required string length: 1 - 64
l12m_label
string | null
Required string length: 1 - 64
mtd_partner_visible
boolean
ytd_partner_visible
boolean
l12m_partner_visible
boolean

Response

200 - application/json

The company's settings for sales report lines: the line types in display order, and the figure settings.

The company's settings for sales report lines: the line types in display order, and the figure settings.

line_types
object[]
required
figures
object
required

How the MTD, YTD and last-12-months figures are labelled and whether partners see each. A null label is the default label.