Skip to main content
POST
Create a new budget envelope

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Body

application/json
amount
required
currency
string
required
periodId
string
required
Minimum string length: 1
scope
enum<string>
required
Available options:
TOTAL,
BRAND,
DEPARTMENT,
COLLECTION
scopeValue
string | null
required
Required string length: 1 - 255

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true