Read a sales order line by ID
Read a specific line from a sales order by the line's ID.
Path parameters
-
The unique identifier for the sales order, to which all the sales order lines pertain.
-
The unique identifier of the sales order line.
GET
/salesorders/{id}/lines/{lineId}
curl \
-X GET https://rest.api.24sevenoffice.com/v1/salesorders/{id}/lines/{lineId} \
-H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"id": 123456789,
"type": "product",
"product": {
"id": 101
},
"description": "Leather handbag with adjustable strap.",
"quantity": 2,
"price": 49.99,
"discountRate": 10,
"tax": {
"id": 1,
"number": 1,
"rate": 25
},
"account": {
"id": 200001,
"number": 1500,
"name": "Accounts Receivable"
}
}