Pobierz listę przesyłek
GET
/api/v3/Shipments
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Shipments';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Shipments \ --header 'Authorization: Bearer <token>'Stronicowana lista przesyłek z filtrami (status, kurier, pobranie, daty, numer nadania).
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”Id
integer format: int64
ShipmentId
string
ShipmentStatus
string
OrderId
integer format: int64
ConnectionIds
Array<string>
IsCod
boolean
UpdatedAtFrom
string format: date-time
UpdatedAtTo
string format: date-time
CreatedAtFrom
string format: date-time
CreatedAtTo
string format: date-time
TrackingNumber
string
CourierService
string
Offset
integer format: int32
Limit
integer format: int32
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
object
list
Array<object>
object
id
integer format: int64
orderId
integer format: int64
shipmentId
string
dateAddedUtc
string format: date-time
trackingNumber
string
courierTransport
Array<string>
deliveryMethodPlatformId
string
status
string
connectionId
string
courierService
string
courierPickupRequested
boolean
externalCarrierTrackingNumbers
Array<string>
pageNumber
integer format: int32
total
integer format: int32
Examplegenerated
{ "list": [ { "id": 1, "orderId": 1, "shipmentId": "example", "dateAddedUtc": "2026-04-15T12:00:00Z", "trackingNumber": "example", "courierTransport": [ "example" ], "deliveryMethodPlatformId": "example", "status": "example", "connectionId": "example", "courierService": "example", "courierPickupRequested": true, "externalCarrierTrackingNumbers": [ "example" ] } ], "pageNumber": 1, "total": 1}
