Skip to main content
GET
Query Return Packages

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://auth.jtl-cloud.com/oauth2/auth
Token URL
https://auth.jtl-cloud.com/oauth2/token

Headers

x-companyid
string

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

returnId
integer<int32>
required

The id of the return that the packages belong to.

Response

The requested packages.

Id
integer<int32>
required

Unique ID to identify a return package.

ReturnId
integer<int32>
required

Unique ID to identify a return.

TrackingID
string
required

The tracking Id of the package.

ShippingMethodId
integer<int32>

The shipping method.

ShippingMethodCustom
string

The custom shipping method name used for the return. This value may only be set if ShippingMethodId is not provided.