GET
/
return
curl --request GET \
  --url https://api.shipbob.com/2.0/return \
  --header 'Authorization: <api-key>'
[
  {
    "channel": {
      "id": 0,
      "name": "ShipBobs-Shopify-Store"
    },
    "completed_date": "2019-08-24T14:15:22Z",
    "customer_name": "string",
    "fulfillment_center": {
      "id": 0,
      "name": "Cicero (IL)"
    },
    "id": 0,
    "insert_date": "2019-08-24T14:15:22Z",
    "inventory": [
      {
        "action_requested": {
          "action": "Default",
          "action_type": "InventoryDefault",
          "instructions": "string"
        },
        "action_taken": [
          {
            "action": "Default",
            "action_reason": "string",
            "lot_information": [
              {
                "expiration_date": "2019-08-24T14:15:22Z",
                "lot_number": "string",
                "quantity_processed": 0
              }
            ],
            "quantity_processed": 1
          }
        ],
        "id": 0,
        "name": "string",
        "quantity": 0
      }
    ],
    "invoice_amount": 0.1,
    "original_shipment_id": 0,
    "reference_id": "string",
    "return_type": "Regular",
    "status": "AwaitingArrival",
    "store_order_id": "string",
    "tracking_number": "860C8CDC8F0B4FC7AB69AC86C20539EC",
    "transactions": [
      {
        "amount": 2.5,
        "transaction_type": "ReturnLabelInvoice"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Provide your personal access token in the format 'Bearer {your_personal_access_token}'

Headers

shipbob_channel_id
string

Query Parameters

Page
string

Page of return orders to get

Limit
string

Amount of return orders per page to request

SortOrder
string

Order to sort results by

StartDate
string

Start date to filter orders inserted later than

EndDate
string

End date to filter orders inserted earlier than

IDs
string

Comma separated list of return orders ids to filter by

ReferenceIds
string

Comma separated list of reference ids to filter by

Status
string

Comma separated list of statuses to filter by

FulfillmentCenterIds
string

Comma separated list of destination fulfillment center IDs to filter by

TrackingNumbers
string

Comma separated list of tracking numbers to filter by

OriginalShipmentIds
string

Comma separated list of original shipment IDs to filter by

InventoryIds
string

Comma separated list of inventory IDs contained in return to filter by

Response

200
application/json
Success
channel
object

Created by channel metadata

completed_date
string | null

Completed date for a return order.

customer_name
string | null

Customer name from the related shipment.

fulfillment_center
object

Information about a fulfillment center

id
integer

Unique id of the Return Order

insert_date
string

Date this return order was created

inventory
object[] | null

List of inventory included in the return order

invoice_amount
number | null

Invoiced amount of return order (sum of transaction amounts)

original_shipment_id
integer | null

Id of the corresponding shipment that is the souce of the return

reference_id
string | null

Client-defined external unique id of the return order

return_type
enum<string>
Available options:
Regular,
ReturnToSender
status
enum<string>
Available options:
AwaitingArrival,
Arrived,
Processing,
Completed,
Cancelled
store_order_id
string | null

Store order for the related shipment.

tracking_number
string | null

Tracking number of the return shipment

Example:

"860C8CDC8F0B4FC7AB69AC86C20539EC"

transactions
object[] | null

Array of transactions affiliated with the return order

Was this page helpful?