Get Return Orders

View as Markdown

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Headers

shipbob_channel_idstringOptionalformat: "int32"
Channel Id for operation

Query parameters

IdsstringOptional

The IDs of the returns to fetch. Accepts a comma-separated list of return IDs (e.g., “123,456,789”).

ReferenceIdsstringOptional

Comma-separated list of return reference IDs (RMA numbers) to filter by.

StatusstringOptional

Comma-separated list of return statuses to filter by (e.g., ‘AwaitingArrival’, ‘Arrived’, ‘Processing’, ‘Completed’, ‘Cancelled’).

FulfillmentCenterIdsstringOptional

Comma-separated list of fulfillment center IDs to filter by.

TrackingNumbersstringOptional

Comma-separated list of tracking numbers to filter by.

OriginalShipmentIdsstringOptional

Comma-separated list of original shipment IDs to filter by.

InventoryIdsstringOptional

Comma-separated list of inventory IDs to filter by.

StartDatedatetimeOptional

Filter returns created on or after this date (ISO 8601 format).

EndDatedatetimeOptional

Filter returns created on or before this date (ISO 8601 format).

ReturnTypesstringOptional

Comma-separated list of return types to filter by (e.g., ‘Regular’, ‘ReturnToSender’).

ReturnActionsstringOptional

Comma-separated list of return actions to filter by (e.g., ‘Restock’, ‘Quarantine’, ‘Dispose’).

StoreOrderIdsstringOptional

Comma-separated list of store order IDs to filter by.

SortbystringOptional
Field to sort results by.
CompletedStartDatedatetimeOptional

Filter returns completed on or after this date (ISO 8601 format).

CompletedEndDatedatetimeOptional

Filter returns completed on or before this date (ISO 8601 format).

CursorintegerOptional1-2147483647
LimitstringOptionalformat: "int32"
SortOrderstringOptionalformat: "int32"

Response headers

Page-Numberstring or null
Current page number
Total-Pagesstring or null
Total pages
Total-Countstring or null
Total records
Page-Sizestring or null
Page size

Response

Success
firststring or nullformat: "uri"
itemslist of objects or null
laststring or nullformat: "uri"
nextstring or nullformat: "uri"
prevstring or nullformat: "uri"

Errors