Skip to main content
GET
/
api
/
order-lines
/
{orderLineId}
Get order line by ID
curl --request GET \
  --url https://app.solya.app/api/order-lines/{orderLineId} \
  --header 'Authorization: Bearer <token>'
{
  "brandId": "brand-uuid-nike",
  "brandName": "Nike",
  "code": "ORD-2026-SS-L1",
  "createdAt": "2025-11-10T10:00:00.000Z",
  "orderCode": "ORD-2026-SS-NIKE",
  "orderLineId": "ord-line-uuid-1",
  "orderName": "Nike SS26 Pre-Season Order",
  "orderStatus": "CONFIRMED",
  "productId": "product-uuid-1",
  "productName": "Air Max 90",
  "purchasePrice": 66,
  "purchasePriceExcludingCharges": 60,
  "quantity": "24",
  "recommendedSellingPrice": 150,
  "recommendedSellingPriceExcludingTax": 125,
  "sessionId": "session-uuid-ss26",
  "supplierId": "supplier-uuid-nike",
  "updatedAt": "2025-11-10T10:00:00.000Z",
  "variantCode": "NK-AM90-WHT",
  "variantId": "variant-uuid-a",
  "variantName": "White",
  "vatRate": 0.2
}

Authorizations

Authorization
string
header
required

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

Path Parameters

orderLineId
string
required

Unique identifier of the order line (UUID)

Response

Successful response

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