Download OpenAPI specification:Download
This section provides APIs for selling partners to work with Amazon External Fulfillment returns management services.
Get a list of return items dropped for the seller in the specified node, and in the specified status. Returns can be further filtered based on their creation date/time
returnLocationId | string The SmartConnect location identifier for which return items are to be retrieved |
rmaId | string The RMA id of the return items to be listed |
status | string Enum: "CREATED" "CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER" "CARRIER_OUT_FOR_PICK_UP_FROM_CUSTOMER" "CUSTOMER_CANCELLED_PICK_UP" "CUSTOMER_RESCHEDULED_PICK_UP" "PICKED_FROM_CUSTOMER" "IN_TRANSIT" "OUT_FOR_DELIVERY" "DELIVERED" "REPLANNED" "CUSTOMER_DROPPED_OFF" "PARTIALLY_PROCESSED" "PROCESSED" "REJECTED" "CANCELLED" Retrieves only those return items which are in the specified status. The most common use-case would be to fetch all new return items which would be in the CREATED status. Valid values are CREATED, CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER, CARRIER_OUT_FOR_PICK_UP_FROM_CUSTOMER, CUSTOMER_CANCELLED_PICK_UP, CUSTOMER_RESCHEDULED_PICK_UP, PICKED_FROM_CUSTOMER, IN_TRANSIT, OUT_FOR_DELIVERY, DELIVERED |
reverseTrackingId | string The reverseTrackingId of the return items to be listed |
createdSince | string <date-time> Return items whose creation is after the specified date/time are included in the response. This field should be in the ISO8601 date/time format. |
createdUntil | string <date-time> Return items whose creation is before the specified date/time are included in the response. This field should be in the ISO8601 date/time format. |
lastUpdatedSince | string <date-time> Return items whose last update is after the specified date/time are included in the response. This field should be in the ISO8601 date/time format. Only to be used along with returnLocationId and status params. |
lastUpdatedUntil | string <date-time> Return items whose last update is before the specified date/time are included in the response. This field should be in the ISO8601 date/time format. Only to be used along with returnLocationId and status params. |
lastUpdatedAfter | string <date-time> DEPRECATED. Use createdFrom param instead for same results. Return items whose creation is after the specified date/time are included in the response. This field should be in the ISO8601 date/time format. |
lastUpdatedBefore | string <date-time> DEPRECATED. Use createdTo param instead for same results. Return items whose creation is before the specified date/time are included in the response. This field should be in the ISO8601 date/time format. |
maxResults | integer <int64> <= 100 Specify the number of return items to be included in the response. It will default to 10 in case not provided. Maximum limit is 100. |
nextToken | string A cursor representing information about the next page of returns. Use the value returned in previous calls to page through the complete list of returns. |
{- "nextToken": "eyJsYXN0VXBkYXRlZFRpbWVzdGFtcCI6eyJzIjpu",
- "returns": [
- {
- "marketplaceChannelDetails": {
- "channelSku": "SerialYT1",
- "customerOrderId": "107-7727827-8514700",
- "returnLocationId": "EDD5",
- "shipmentId": "D39CwZpdj",
- "marketplaceChannel": {
- "marketplaceName": "AMAZON_IN",
- "channelName": "FBA"
}
}, - "otpDetails": {
- "otp": "703669",
- "validTill": 1612933142
}, - "packageDeliveryMode": "WITH_OTP",
- "creationDateTime": "2021-03-18T15:23:58Z",
- "fulfillmentLocationId": "450a6661-1a97-4abd-99e4-45714bcf4439",
- "id": "ee39cdd9-9caa-47b6-a5b1-7b6a1c6d43d1",
- "lastUpdatedDateTime": "2021-03-18T20:13:08Z",
- "merchantSku": "SerialYT1",
- "numberOfUnits": 1,
- "returnMetadata": {
- "invoiceInformation": {
- "id": "EDD5-101"
}, - "returnReason": "Missed",
- "rmaId": "Test",
- "fulfillmentOrderId": "10d1db2e-a546-4d64-a5da-577d5bf9420d"
}, - "returnShippingInfo": {
- "forwardTrackingInfo": {
- "carrierName": "ATS",
- "trackingId": "156121269663"
}
}, - "returnType": "CUSTOMER",
- "status": "CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER"
}, - {
- "marketplaceChannelDetails": {
- "channelSku": "FBA_PERF_BOOK",
- "customerOrderId": "107-7727827-8514701",
- "returnLocationId": "EDD5",
- "shipmentId": "DXPQ1wCCZ",
- "marketplaceChannel": {
- "marketplaceName": "AMAZON_IN$",
- "channelName": "FBA"
}
}, - "otpDetails": {
- "otp": "703669",
- "validTill": 1612933142
}, - "packageDeliveryMode": "WITH_OTP",
- "creationDateTime": "2021-04-02T10:13:50Z",
- "fulfillmentLocationId": "450a6661-1a97-4abd-99e4-45714bcf4439",
- "id": "add6bfb3-8d15-4c79-8bcf-810fe12b163c",
- "lastUpdatedDateTime": "2021-04-02T15:23:58Z",
- "merchantSku": "FBA_PERF_BOOK",
- "numberOfUnits": 1,
- "returnMetadata": {
- "invoiceInformation": {
- "id": "EDD5-92"
}, - "returnReason": "Missed",
- "rmaId": "Test"
}, - "returnShippingInfo": {
- "forwardTrackingInfo": {
- "carrierName": "ATS",
- "trackingId": "151987126617"
}, - "reverseTrackingInfo": {
- "carrierName": "ATS",
- "trackingId": "19124773658"
}
}, - "returnType": "CUSTOMER",
- "status": "CREATED"
}
]
}
Get a single return item with the specified id.
returnId required | string The id of the return item to be retrieved. |
{- "marketplaceChannelDetails": {
- "channelSku": "SerialYT1",
- "customerOrderId": "107-7727827-8514700",
- "returnLocationId": "EDD5",
- "shipmentId": "D39CwZpdj",
- "marketplaceChannel": {
- "marketplaceName": "AMAZON_IN$",
- "channelName": "FBA"
}
}, - "otpDetails": {
- "otp": "703669",
- "validTill": 1612933142
}, - "packageDeliveryMode": "WITH_OTP",
- "creationDateTime": "2021-05-08T01:23:33Z",
- "fulfillmentLocationId": "450a6661-1a97-4abd-99e4-45714bcf4439",
- "id": "ee39cdd9-9caa-47b6-a5b1-7b6a1c6d43d1",
- "lastUpdatedDateTime": "2021-05-08T10:23:38Z",
- "merchantSku": "SerialYT1",
- "numberOfUnits": 1,
- "returnMetadata": {
- "invoiceInformation": {
- "id": "EDD5-101"
}, - "returnReason": "Missed",
- "rmaId": "Test"
}, - "returnShippingInfo": {
- "forwardTrackingInfo": {
- "carrierName": "ATS",
- "trackingId": "156121269663"
}, - "reverseTrackingInfo": {
- "carrierName": "ATS",
- "trackingId": "19124773658"
}
}, - "returnType": "CUSTOMER",
- "status": "CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER"
}
Process a return by grading. Determine the item condition and update the quantities for each item condition.
returnId required | string The id of the return item to be retrieved. |
x-amzn-idempotency-token required | string A unique token/requestId provided with each call to ensure idempotency. |
The body of the request.
op required | string Value: "increment" The operation to be performed. Only 'increment' is supported in this API |
path required | string A JSON pointer. Use '/processedReturns' |
required | object (ItemConditions) Incremental quantities for each item condition in key/value pair format. Available item conditions are Sellable, Defective, CustomerDamaged, CarrierDamaged, Fraud, WrongItem. At least one item condition is required |
{- "op": "increment",
- "path": "string",
- "value": {
- "Sellable": 0,
- "Defective": 0,
- "CustomerDamaged": 0,
- "CarrierDamaged": 0,
- "Fraud": 0,
- "WrongItem": 0
}
}
{ }