Modify Return Order

View as Markdown

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

idintegerRequired
Id of the return order

Headers

shipbob_channel_idintegerRequired
Channel Id for Operation

Request

Model defining the return
fulfillment_centerobjectRequired
Information about a fulfillment center
inventorylist of objectsRequired
Array of inventory items being returned
reference_idstringRequired<=50 characters

Client-defined external unique identifier for the return order

original_shipment_idintegerOptional
Shipment from which the items in the return originated
tracking_numberstringOptional<=500 characters
Tracking number for the return shipment

Response

Success
channelobject
Created by channel metadata
completed_datedatetime
Completed date for a return order.
customer_namestring
Customer name from the related shipment.
fulfillment_centerobject
Information about a fulfillment center
idinteger
Unique id of the Return Order
insert_datedatetime
Date this return order was created
inventorylist of objects
List of inventory included in the return order
invoice_amountdouble

Invoiced amount of return order (sum of transaction amounts)

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

Client-defined external unique id of the return order

return_typeenum
statusenum
store_order_idstring
Store order for the related shipment.
tracking_numberstring
Tracking number of the return shipment
transactionslist of objects
Array of transactions affiliated with the return order

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error