Skip to main content
POST
Create rebalance plan

Authorizations

Authorization
string
header
required

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

Body

application/json
fromShopId
string
required

Identifier of the shop sending stock (outgoing)

Minimum string length: 1
toShopId
string
required

Identifier of the shop receiving stock (ingoing)

Minimum string length: 1
name
string

Optional display name for the plan

Response

Successful response

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