Skip to main content
GET
/
api
/
movement-lines
/
{movementLineId}
Get movement line by ID
curl --request GET \
  --url https://app.solya.app/api/movement-lines/{movementLineId} \
  --header 'Authorization: Bearer <token>'
{
  "brandId": "brand-uuid-nike",
  "brandName": "Nike",
  "code": "MVT-2026-0042-L1",
  "createdAt": "2026-05-12T09:00:00.000Z",
  "inventoryItemId": "inv-item-uuid-1",
  "inventoryItemSku": "NK-AM90-WHT-42",
  "movementCode": "MVT-2026-0042",
  "movementCost": 660,
  "movementDate": "2026-05-12T08:30:00.000Z",
  "movementDescription": "Supplier delivery — Nike Spring 2026",
  "movementId": "mvt-uuid-1",
  "movementLineId": "mvt-line-uuid-1",
  "productId": "product-uuid-1",
  "productName": "Air Max 90",
  "quantity": 12,
  "shopId": "shop-uuid-1",
  "shopName": "Paris Opéra",
  "unitCost": 55,
  "updatedAt": "2026-05-12T09:00:00.000Z",
  "variantCode": "NK-AM90-WHT",
  "variantId": "variant-uuid-a",
  "variantName": "White"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

movementLineId
string
required

Unique identifier of the movement line (UUID)

Response

Successful response

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