Create a new order return.
POST
/orderreturns
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessOrderAdminShopper
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
OrderID | Required | string | --- | --- | --- | |
RefundAmount | number | float | --- | --- | ||
Comments | string | --- | 2000 characters | --- | ||
ItemsToReturn | array | --- | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
OrderID | string | --- | --- | --- | ||
PaymentIDs | Read Only | array | --- | --- | --- | |
Status | Read Only | string | --- | --- | Unsubmitted, AwaitingApproval, Declined, Open, Completed, Canceled | |
DateCreated | Read Only | string | date-time | --- | --- | |
DateSubmitted | Read Only | string | date-time | --- | --- | |
DateApproved | Read Only | string | date-time | --- | --- | |
DateDeclined | Read Only | string | date-time | --- | --- | |
DateCanceled | Read Only | string | date-time | --- | --- | |
DateCompleted | Read Only | string | date-time | --- | --- | |
LastUpdated | Read Only | string | date-time | --- | --- | |
RefundAmount | number | float | --- | --- | ||
Comments | string | --- | 2000 characters | --- | ||
ItemsToReturn | array | --- | --- | --- | ||
xp | object | --- | --- | --- |