Skip to main content
GET
/
api
/
rebalance-plans
List rebalance plans
curl --request GET \
  --url https://app.solya.app/api/rebalance-plans \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "collectionId": "coll-uuid-fw25",
      "collectionName": "Fall-Winter 2025",
      "deadline": "2025-02-28",
      "executionDate": "2025-02-20",
      "id": "rbp-uuid-001",
      "ingoingShopId": "shop-uuid-paris-opera",
      "ingoingShopName": "Paris Opéra",
      "itemsQty": 18,
      "name": "Rebalance Lyon → Paris Q1 2025",
      "notes": "Priority items: slow-movers from Lyon winter stock",
      "orderValue": 2340,
      "outgoingShopId": "shop-uuid-lyon-bellecour",
      "outgoingShopName": "Lyon Bellecour",
      "status": "VALIDATED",
      "workflowRunId": null
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 1
}

Authorizations

Authorization
string
header
required

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

Query Parameters

status
enum<string>

Filter by plan status, e.g. DRAFT or VALIDATED

Available options:
DRAFT,
VALIDATED,
CLOSED
shopId
string

Filter by outgoing shop ID

page
number
default:1

Page number, starting from 1

pageSize
number
default:20

Number of plans per page

Response

Successful response

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