Skip to main content
POST
Create standalone selling price

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ledger_id
string
required

Identifier of the ledger the record belongs to.

Minimum string length: 1
Example:

"led_8Hq2nZ0kLm4x1P"

product_id
string
required

Identifier of the product.

Minimum string length: 1
Example:

"itm_4Ha7Gk2Lm9xQ1z"

currency
enum<string>
required

Currency of the price.

Available options:
EUR,
AED,
AFN,
XCD,
ALL,
AMD,
AOA,
ARS,
USD,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
XOF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
NOK,
BWP,
BYR,
BZD,
CAD,
CDF,
XAF,
CHF,
NZD,
CLP,
CNY,
COP,
CRC,
CUP,
CVE,
ANG,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
MAD,
ERN,
ETB,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRO,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
XPF,
NGN,
NIO,
NPR,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLL,
SOS,
SRD,
SSP,
STD,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
UYU,
UZS,
VEF,
VND,
VUV,
WST,
YER,
ZAR,
ZMW,
ZWL
Example:

"EUR"

amount
number
required

Standalone selling price, per the basis. Expressed in currency's smallest unit.

Required range: x >= 0
Example:

1200000

basis
enum<string>
required

What the amount is for: one interval whatever the quantity (per_period), one unit over one interval (per_unit_per_period), one consumed unit (per_unit), or the whole contract term (total).

Available options:
per_period,
per_unit_per_period
interval_period
enum<string>
required

Interval unit of the per-period basis (per_period, per_unit_per_period); the other bases take no interval.

Available options:
days,
weeks,
quarters,
months,
years,
once,
all
interval_count
integer
required

Number of interval units of the per-period basis, at least 1; the other bases take no interval.

evidence_method
enum<string>
required

How the price was established: observable price, adjusted market assessment, expected cost plus margin, or residual approach.

Available options:
observable_price,
adjusted_market_assessment,
expected_cost_plus_margin,
residual
effective_from
string<date-time>
required

From when the price applies. A new price closes the open price of the same product and currency on this date.

Example:

"2026-01-01T00:00:00Z"

evidence_note
string | null

Free-text justification of the price, or null.

Response

id
string
required

Unique identifier of the standalone selling price.

Example:

"ssp_5Tk9Qa2Lm7x0Rb"

ledger_id
string
required

Identifier of the ledger the record belongs to.

Example:

"led_8Hq2nZ0kLm4x1P"

product_id
string
required

Identifier of the product.

Example:

"itm_4Ha7Gk2Lm9xQ1z"

currency
enum<string>
required

Currency of the price.

Available options:
EUR,
AED,
AFN,
XCD,
ALL,
AMD,
AOA,
ARS,
USD,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
XOF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
NOK,
BWP,
BYR,
BZD,
CAD,
CDF,
XAF,
CHF,
NZD,
CLP,
CNY,
COP,
CRC,
CUP,
CVE,
ANG,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
MAD,
ERN,
ETB,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRO,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
XPF,
NGN,
NIO,
NPR,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLL,
SOS,
SRD,
SSP,
STD,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
UYU,
UZS,
VEF,
VND,
VUV,
WST,
YER,
ZAR,
ZMW,
ZWL
Example:

"EUR"

amount
number
required

Standalone selling price, per the basis. Expressed in currency's smallest unit.

Example:

1200000

basis
enum<string>
required

What the amount is for: one interval whatever the quantity (per_period), one unit over one interval (per_unit_per_period), one consumed unit (per_unit), or the whole contract term (total).

Available options:
per_period,
per_unit_per_period
interval_period
enum<string>
required

Interval unit of the per-period basis (per_period, per_unit_per_period); the other bases take no interval.

Available options:
days,
weeks,
quarters,
months,
years,
once,
all
interval_count
integer
required

Number of interval units of the per-period basis, at least 1; the other bases take no interval.

evidence_method
enum<string>
required

How the price was established: observable price, adjusted market assessment, expected cost plus margin, or residual approach.

Available options:
observable_price,
adjusted_market_assessment,
expected_cost_plus_margin,
residual
evidence_note
string | null
required

Free-text justification of the price, or null.

effective_from
string<date-time>
required

From when the price applies. A new price closes the open price of the same product and currency on this date.

Example:

"2026-01-01T00:00:00Z"

effective_to
string<date-time> | null
required

When a later price replaced this one, or null while it is the current price.

Example:

"2024-12-20T16:04:11Z"

created_by_user_id
string | null
required

User who created the record, or null when it was created with an API key.

created_at
string<date-time>
required

When the record was created.

Example:

"2024-12-20T16:04:11Z"