Skip to main content
PATCH
Partially Update Revenue Contract Line

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

Base serializer that injects the request user's customer on create and restricts related-object querysets to the same customer.

contract
integer
ordinal
integer
Required range: 0 <= x <= 2147483647
product
integer | null
product_bundle
integer | null
product_name
string
Maximum string length: 255
product_sku
string
Maximum string length: 255
description
string
currency
string
Maximum string length: 3
quantity
number<double>
Required range: -100000000000 < x < 100000000000
unit_price
number<double>
Required range: -1000000000 < x < 1000000000
discount
number<double>
Required range: -10000000000000 < x < 10000000000000
transaction_price
number<double>
Required range: -10000000000000 < x < 10000000000000
service_start
string<date> | null
service_end
string<date> | null
exclude_from_allocation
boolean
is_mrr
boolean
billing_cadence
enum<string>
  • MONTHLY - Monthly
  • QUARTERLY - Quarterly
  • SEMI_ANNUAL - Semi-annual
  • ANNUAL - Annual
  • CUSTOM - Custom
Available options:
MONTHLY,
QUARTERLY,
SEMI_ANNUAL,
ANNUAL,
CUSTOM
billing_timing
enum<string>
  • ADVANCE - In advance (start of period)
  • ARREARS - In arrears (end of period)
Available options:
ADVANCE,
ARREARS
net_terms
integer | null
Required range: 0 <= x <= 2147483647

Response

200 - application/json

Base serializer that injects the request user's customer on create and restricts related-object querysets to the same customer.

id
integer
required
read-only
contract
integer
required
contract_name
string
required
read-only
product_name
string
required
Maximum string length: 255
created_at
string<date-time>
required
read-only
last_modified_at
string<date-time>
required
read-only
ordinal
integer
Required range: 0 <= x <= 2147483647
product
integer | null
product_bundle
integer | null
product_sku
string
Maximum string length: 255
description
string
currency
string
Maximum string length: 3
quantity
number<double>
Required range: -100000000000 < x < 100000000000
unit_price
number<double>
Required range: -1000000000 < x < 1000000000
discount
number<double>
Required range: -10000000000000 < x < 10000000000000
transaction_price
number<double>
Required range: -10000000000000 < x < 10000000000000
service_start
string<date> | null
service_end
string<date> | null
exclude_from_allocation
boolean
is_mrr
boolean
billing_cadence
enum<string>
  • MONTHLY - Monthly
  • QUARTERLY - Quarterly
  • SEMI_ANNUAL - Semi-annual
  • ANNUAL - Annual
  • CUSTOM - Custom
Available options:
MONTHLY,
QUARTERLY,
SEMI_ANNUAL,
ANNUAL,
CUSTOM
billing_timing
enum<string>
  • ADVANCE - In advance (start of period)
  • ARREARS - In arrears (end of period)
Available options:
ADVANCE,
ARREARS
net_terms
integer | null
Required range: 0 <= x <= 2147483647