Skip to content

List available effect formulas

GET
/v1/pricing/adjustments/formulas

Return the registry IDs of every named formula that can be used as a formula effect (effect.kind: "formula") when authoring a price adjustment. Use one of these IDs as effect.formula; the formula’s own input schema validates effect.params at evaluate time.

List of registered formula IDs

object
status
string
Example
ok
data
object
formulas

Registry IDs usable as effect.formula.

Array<string>
Example
[
"bottle-package-v1"
]

Unauthorized — a valid bearer token is required

object
status
string
Example
error
message
string
Example
An error occurred
error
string

Internal server error

object
status
string
Example
error
message
string
Example
An error occurred
error
string