Przejdź do głównej zawartości

Pobierz pozycję zamówienia po ID

GET
/api/v3/Orders/{orderId}/LineItems/{lineItemId}
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/1/LineItems/1 \
--header 'Authorization: Bearer <token>'
orderId
wymagane
integer format: int64
lineItemId
wymagane
integer format: int64

Success

Typ treściapplication/json
object
id
integer format: int64
platformId
string
nullable
product
object
id
integer format: int64
nullable
platformId
string
nullable
name
string
nullable
code
string
nullable
ean
string
nullable
bundleId
string
nullable
warehouseId
string
nullable
storage
string
nullable
variantId
string
nullable
parentName
string
nullable
miniatures
object
originalImageUrl
string
nullable
selector
string
nullable
entityId
string
nullable
largeImageUrl
string
nullable
smallImageUrl
string
nullable
originalCompressedImageUrl
string
nullable
additionalEans
Array<object>
nullable
object
ean
string
nullable
quantity
number format: double
description
string
nullable
quantity
number format: double
quantityPicked
number format: double
nullable
quantityPacked
number format: double
nullable
tax
object
symbol
string
nullable
rate
number format: double
price
object
currency
string
nullable
unitPrice

Cena brutto

number format: double
originalUnitPrice
number format: double
createdAt
string format: date-time
elasticFields
Array<object>
nullable
object
objectId
integer format: int64
ownerType
string
nullable
definitionId
integer format: int64
nullable
fieldType
string
nullable
fieldName
string
nullable
fieldDisplayName
string
nullable
fieldValue
string
nullable
Examplegenerated
{
"id": 1,
"platformId": "example",
"product": {
"id": 1,
"platformId": "example",
"name": "example",
"code": "example",
"ean": "example",
"bundleId": "example",
"warehouseId": "example",
"storage": "example",
"variantId": "example",
"parentName": "example",
"miniatures": {
"originalImageUrl": "example",
"selector": "example",
"entityId": "example",
"largeImageUrl": "example",
"smallImageUrl": "example",
"originalCompressedImageUrl": "example"
},
"additionalEans": [
{
"ean": "example",
"quantity": 1,
"description": "example"
}
]
},
"quantity": 1,
"quantityPicked": 1,
"quantityPacked": 1,
"tax": {
"symbol": "example",
"rate": 1
},
"price": {
"currency": "example",
"unitPrice": 1,
"originalUnitPrice": 1
},
"createdAt": "2026-04-15T12:00:00Z",
"elasticFields": [
{
"objectId": 1,
"ownerType": "example",
"definitionId": 1,
"fieldType": "example",
"fieldName": "example",
"fieldDisplayName": "example",
"fieldValue": "example"
}
]
}