Paths
/rmas
Create RMA
Creates a new RMA and all of the item level details required for a return. The RMA API does have a flag within to depict if a label is needed or not.
Enter Client Secret
Enter Client ID
{"requestIdentifier" : "234234234234234","rmaNumber" : null, "customer" : {"firstName" : "Kamesh","lastName" : "Kumar","addressLine1" : "452 Edinburgh Rd","addressLine2" : "","city" : "Dublin","stateCode" : "OH","zipCode" : "43017","countryCode" : "US","phoneNumber" : "2624227887","emailAddress" : "k.kameshwaran@gmail.com" }, "trackingNumber" : null,"shippingService" : null,"shippingCost" : 0, "labelRequired" : null,"emailNotification" : null,"returnEmployeeId" : null,"returnEmployeeName" : null,"shipToAddressId" : null,"shippingCostResponsibility" : null,"externalASNId" : null,"casAccountNumber" : 0, "billToFirstName" : null,"billToLastName" : null,"billToAddress1" : null,"billToAddress2" : null,"billToCity" : null,"billToStateCode" : null,"billToZipCode" : null, "specialtyFlag" : null, "orders" : [{"orderNumber" : "RMS-1451-O2","orderDate" : "2017-02-15","items" : [{"sku" : "testsku23","quantity" : 3,"returnItemInfo" : {"returnReason" : "Wrong Size","returnEligibilityOverride" : "true","finalSale" : false}}]}]}
{
"schema": {
"type": "object"
}
}
Enter AccessToken, it is mandatory in case of basic authentication.
text/plain
200 OK
GET RMA
Retrieves rma or list of rmas based on the query parameters provided in the request.
Enter Client Secret
Enter Client ID
Enter AccessToken, it is mandatory in case of basic authentication.
2408-2103
Canceled or Approved
ge|2017-03-01T14:30:59-05:00
ge|2017-03-01T14:30:59-05:00
Details
5
1481059745000
1481059745000
200 OK
/rmas/{rmaId}/credit
Credit RMA
This API flags an existing RMA as having been issued credit by providing the RMA ID, the order numbers and items/quantities to be marked credited. This can only be called when the RMA is not in Canceled status.
Enter Client Secret
Enter Client ID
Enter AccessToken, it is mandatory in case of basic authentication.
8057-1232
200 OK
/rmas/{rmaId}/receive
Receive RMA
This API flags an existing RMA as having been received by providing the RMA ID, the items/quantities to be marked as Received. This can only be called when the RMA is not in Canceled status.
Enter Client Secret
Enter Client ID
{"items" : [{"sku" : "sku1","quantity" : 1}, {"sku" : "sku2","quantity" : 2}]}
{
"schema": {
"type": "object"
}
}
Enter AccessToken, it is mandatory in case of basic authentication.
8057-1232
text/plain
200 OK
/rmas/{rmaId}/cancel
Cancel RMA
This API cancels an existing RMA by providing the RMA ID. The RMA can be canceled only when the RMA has not been received at FXO or the return center.
Enter Client Secret
Enter Client ID
8057-1232
Enter AccessToken, it is mandatory in case of basic authentication.
200 OK