Order Return
Return order
Returns order
POST
/
order
/
returns
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
tenant-key
string
requiredx-site-context
string
requiredThe x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
application/json
ReturnOrder Model
orderId
string
requiredreturnTimeStamp
string
requiredemployeeId
string
requiredsource
string
requireditems
object[]
requiredattributes
object
exchange
boolean
Response
201 - application/json
ReturnOrderResponse Model
refundStatus
enum<string>
Available options:
REFUND_INITIATED
, REFUND_SUCCESS
, REFUND_FAILURE
, REFUND_PENDING
totalRefund
number
items
object[]
Was this page helpful?