Skip to main content
POST
/
2025-07
/
return
Create a return.
curl --request POST \
  --url https://sandbox-api.shipbob.com/2025-07/return \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'shipbob_channel_id: <shipbob_channel_id>' \
  --data '{
  "fulfillment_center": {
    "id": 0,
    "name": "string"
  },
  "inventory": [
    {
      "id": 0,
      "lot_date": "2019-08-24T14:15:22Z",
      "lot_number": "string",
      "quantity": 0,
      "requested_action": 0
    }
  ],
  "original_shipment_id": 0,
  "reference_id": "string",
  "tracking_number": "string"
}'
{
  "channel": {
    "id": 0,
    "name": "string"
  },
  "completed_date": "2019-08-24T14:15:22Z",
  "customer_name": "string",
  "fulfillment_center": {
    "id": 0,
    "name": "string"
  },
  "id": 0,
  "insert_date": "2019-08-24T14:15:22Z",
  "inventory": [
    {
      "action_requested": {
        "action": "string",
        "action_type": "string",
        "instructions": "string"
      },
      "action_taken": [
        {
          "action": "string",
          "action_reason": "string",
          "image_url": "http://example.com",
          "quantity_processed": 0
        }
      ],
      "id": 0,
      "name": "string",
      "quantity": 0
    }
  ],
  "invoice_amount": 0.1,
  "original_shipment_id": 0,
  "reference_id": "string",
  "return_type": "string",
  "status": "string",
  "store_order_id": "string",
  "tracking_number": "string",
  "transactions": [
    {
      "amount": 0.1,
      "transaction_type": "string"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication using Personal Access Token (PAT) token

Headers

shipbob_channel_id
string<int32>
required

Channel Id for operation

creationSourceId
number

Body

application/json

The return order creation request containing return details, items, and configuration.

fulfillment_center
object
inventory
object[] | null
original_shipment_id
integer | null
reference_id
string | null
tracking_number
string | null

Response

Success

channel
object
completed_date
string<date-time> | null
customer_name
string | null
fulfillment_center
object
id
integer
insert_date
string<date-time>
inventory
object[] | null
invoice_amount
number | null
original_shipment_id
integer | null
reference_id
string | null
return_type
string | null
status
string | null
store_order_id
string | null
tracking_number
string | null
transactions
object[] | null