Przejdź do głównej zawartości

Pobierz listę zamówień (nagłówki)

GET
/api/v5/Orders
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v5/Orders \
--header 'Authorization: Bearer <token>'

Zwraca stronicowaną listę nagłówków zamówień według filtrów (status, źródło, daty itp.). Odpowiednik getOrders w BaseLinker.

Id
integer format: int64

Id of the order in SellRocket

OrderId
string

Id or ids of the order in SellRocket or in Source platform.
One can provide a single order id or multiple order ids separated by comma.

Examples:
- 204295
- 204295,101333
- 204295,1d719a60-ecee-11ee-926c-6ff59449f5d9

OrderStatusIdPriorityFilter
integer format: int64
OrderStatus
string
SourcePlatformOrderId
string
ShipmentConnectionDefinitionId
string

Id of a connection definition used for shipments, if set to “ANY” it will return orders with all orders with connection definition set if set to “NONE” it will return orders with no shipments

CreatedFrom
string format: date-time
CreatedTo
string format: date-time
StatusUpdatedFrom
string format: date-time
StatusUpdatedTo
string format: date-time
SourceConnectionId
integer format: int64
SourceConnectionIds
string
AsteriskMarked
boolean
AsteriskKindId
integer format: int64
RecipientName
string
RecipientCompanyName
string
RecipientFirstLastCompanyName
string
RecipientPhone
string
RecipientCity
string
RecipientPostCode
string
RecipientCountry
string
RecipientApartmentNo
string
RecipientHouseNo
string
RecipientStreet
string
RecipientState
string
BuyerUsername
string
BuyerEmail
string
BuyerComments
string
Dozwolone wartości: Set Empty
SellerComments
string
DeliveryMethod
string
IsCod
boolean
PaymentStatus
string
Dozwolone wartości: Unpaid Paid Incorrect
PaymentName
string
PaymentPlatformId
string
Offset
integer format: int32
Limit
integer format: int32
ProductId
string
ProductName
string
ProductCode
string
ProductEan
string
PayerName
string
PayerCompanyName
string
PayerRawCompanyTaxId
string
ShipmentsTrackingNumber
string
ElasticFieldValue
string
PlatformDateAddedFrom
string format: date-time
PlatformDateAddedTo
string format: date-time
PlatformDateConfirmedFrom
string format: date-time
PlatformDateConfirmedTo
string format: date-time
PickupPointCode
string
PickupPointName
string
PickupPointApartmentNo
string
PickupPointHouseNo
string
PickupPointStreet
string
PickupPointCity
string
PickupPointPostCode
string
PickupPointState
string
PickupPointCountryCode
string
SearchOperator
string
Dozwolone wartości: AND OR
IncludeLineItemsElasticFields
boolean
AdditionalField1
string
AdditionalField2
string
Currency
string

Success

Typ treściapplication/json
object
list
Array<object>
nullable
object
id
integer format: int64
source
object
connectionId
integer format: int64
nullable
connectionType
string
nullable
platformAccountId
string
nullable
platformOrderId
string
nullable
externalSourceId
string
nullable
externalSourceType
string
nullable
connectionId
string
nullable
connectionType
string
nullable
sourceOrderId
string
nullable
sellerComments
string
nullable
buyerComments
string
nullable
asteriskMarked
boolean
asteriskKindId
integer format: int64
asteriskKindColor
string
nullable
asteriskKindIcon
string
nullable
paymentName
string
nullable
packState
integer format: int32
pickState
integer format: int32
additionalField1
string
nullable
additionalField2
string
nullable
platformDateAddedUtc
string format: date-time
platformDateConfirmedUtc
string format: date-time
nullable
seller
object
email
string
nullable
username
string
nullable
fullName
string
nullable
companyName
string
nullable
rawCompanyTaxId
string
nullable
phone
string
nullable
buyer
object
email
string
nullable
username
string
nullable
fullName
string
nullable
companyName
string
nullable
rawCompanyTaxId
string
nullable
phone
string
nullable
address
object
street
string
nullable
city
string
nullable
postCode
string
nullable
state
string
nullable
countryCode
string
nullable
fullNumber
string
nullable
isEu
boolean
nullable
status
object
id
integer format: int64
from
string format: date-time
delivery
object
recipient
object
email
string
nullable
fullName
string
nullable
companyName
string
nullable
phone
string
nullable
address
object
street
string
nullable
city
string
nullable
postCode
string
nullable
state
string
nullable
countryCode
string
nullable
fullNumber
string
nullable
isEu
boolean
nullable
pickupPoint
object
code
string
nullable
name
string
nullable
description
string
nullable
address
object
street
string
nullable
city
string
nullable
postCode
string
nullable
state
string
nullable
countryCode
string
nullable
fullNumber
string
nullable
isEu
boolean
nullable
cost
object
currency
string
nullable
amount
number format: double
method
object
platformId
string
nullable
platformName
string
nullable
isCod
boolean
isPacked
boolean
isPicked
boolean
isBeingPacked
boolean
isBeingPicked
boolean
packedByUserId
integer format: int64
nullable
invoice
object
required
boolean
payer
object
email
string
nullable
username
string
nullable
fullName
string
nullable
companyName
string
nullable
rawCompanyTaxId
string
nullable
phone
string
nullable
address
object
street
string
nullable
city
string
nullable
postCode
string
nullable
state
string
nullable
countryCode
string
nullable
fullNumber
string
nullable
isEu
boolean
nullable
lineItems
Array<object>
nullable
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
parentName
string
nullable
additionalEans
Array<object>
nullable
object
ean
string
nullable
quantity
number format: double
description
string
nullable
quantity
number format: double
tax
object
symbol
string
nullable
rate
number format: double
price
object
currency
string
nullable
unitPrice

Cena brutto

number format: double
originalUnitPrice
number format: double
elasticFields
Array<object>
nullable
object
fieldName
string
nullable
fieldValue
string
nullable
allegroOfferUrl
string
nullable
summary
object
totalToPay
object
currency
string
nullable
amount
number format: double
toPayWithoutShipment
object
currency
string
nullable
amount
number format: double
cancellation
object
cancelledAtUtc
string format: date-time
nullable
reason
string
nullable
returnIds
Array<integer>
nullable
fulfillmentByMarketplace
boolean
nullable
orderIdFromWhichThisWasCreatedBySplit
integer format: int64
nullable
orderIdsWhichWereCreatedBySplitFromThis
Array<integer>
nullable
hasInvoiceAttached
boolean
hasProformaAttached
boolean
invoiceAttachedInfo
string
nullable
return
object
returnedAtUtc
string format: date-time
nullable
reason
string
nullable
hasReceiptAttached
boolean
hasOtherTypeAttached
boolean
mergedOrders
Array<object>
nullable
object
id
integer format: int64
connectionPlatformOrderId
string
nullable
connectionId
integer format: int64
nullable
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{
"list": [
{
"id": 1,
"source": {
"connectionId": 1,
"connectionType": "example",
"platformAccountId": "example",
"platformOrderId": "example"
},
"externalSourceId": "example",
"externalSourceType": "example",
"connectionId": "example",
"connectionType": "example",
"sourceOrderId": "example",
"sellerComments": "example",
"buyerComments": "example",
"asteriskMarked": true,
"asteriskKindId": 1,
"asteriskKindColor": "example",
"asteriskKindIcon": "example",
"paymentName": "example",
"packState": 1,
"pickState": 1,
"additionalField1": "example",
"additionalField2": "example",
"platformDateAddedUtc": "2026-04-15T12:00:00Z",
"platformDateConfirmedUtc": "2026-04-15T12:00:00Z",
"seller": {
"email": "example",
"username": "example",
"fullName": "example",
"companyName": "example",
"rawCompanyTaxId": "example",
"phone": "example"
},
"buyer": {
"email": "example",
"username": "example",
"fullName": "example",
"companyName": "example",
"rawCompanyTaxId": "example",
"phone": "example",
"address": {
"city": "example",
"postCode": "example",
"state": "example",
"countryCode": "example"
}
},
"status": {
"id": 1,
"from": "2026-04-15T12:00:00Z"
},
"delivery": {
"recipient": {
"email": "example",
"fullName": "example",
"companyName": "example",
"phone": "example",
"address": {
"city": "example",
"postCode": "example",
"state": "example",
"countryCode": "example"
}
},
"pickupPoint": {
"code": "example",
"name": "example",
"description": "example",
"address": {
"city": "example",
"postCode": "example",
"state": "example",
"countryCode": "example"
}
},
"cost": {
"currency": "example",
"amount": 1
},
"method": {
"platformId": "example",
"platformName": "example"
},
"isCod": true,
"isPacked": true,
"isPicked": true,
"isBeingPacked": true,
"isBeingPicked": true,
"packedByUserId": 1
},
"invoice": {
"required": true,
"payer": {
"email": "example",
"username": "example",
"fullName": "example",
"companyName": "example",
"rawCompanyTaxId": "example",
"phone": "example",
"address": {
"city": "example",
"postCode": "example",
"state": "example",
"countryCode": "example"
}
}
},
"lineItems": [
{
"id": 1,
"platformId": "example",
"product": {
"id": 1,
"platformId": "example",
"name": "example",
"code": "example",
"ean": "example",
"bundleId": "example",
"warehouseId": "example",
"parentName": "example",
"additionalEans": [
{
"ean": "example",
"quantity": 1,
"description": "example"
}
]
},
"quantity": 1,
"tax": {
"symbol": "example",
"rate": 1
},
"price": {
"currency": "example",
"unitPrice": 1,
"originalUnitPrice": 1
},
"elasticFields": [
{
"fieldName": "example",
"fieldValue": "example"
}
],
"allegroOfferUrl": "example"
}
],
"summary": {
"totalToPay": {
"currency": "example",
"amount": 1
},
"toPayWithoutShipment": {
"currency": "example",
"amount": 1
}
},
"cancellation": {
"cancelledAtUtc": "2026-04-15T12:00:00Z",
"reason": "example"
},
"returnIds": [
1
],
"fulfillmentByMarketplace": true,
"orderIdFromWhichThisWasCreatedBySplit": 1,
"orderIdsWhichWereCreatedBySplitFromThis": [
1
],
"hasInvoiceAttached": true,
"hasProformaAttached": true,
"invoiceAttachedInfo": "example",
"return": {
"returnedAtUtc": "2026-04-15T12:00:00Z",
"reason": "example"
},
"hasReceiptAttached": true,
"hasOtherTypeAttached": true,
"mergedOrders": [
{
"id": 1,
"connectionPlatformOrderId": "example",
"connectionId": 1
}
]
}
],
"pageNumber": 1,
"total": 1
}

Bad Request

Typ treściapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Server Error