Get Return Merchandise Authorisations (RMAs):/return-merchandise-authorisations
Purpose
This endpoint retrieves a list of all return merchandise authorisation (RMA) records. It provides details on each RMA request, including return status, related invoices, return quantities, and associated item information. This is essential for tracking customer returns and ensuring the proper handling of returned goods.
Path Parameters
No path parameters required for this endpoint.
Query Parameters
No query parameters required for this endpoint.
Request Body
No request body required for this endpoint.
Response
The response includes a paginated list of RMAs, with each entry detailing the return request, such as the customer return status, return date, linked invoice ID, and the list of items being returned. Each item return record includes both requested and received quantities along with item metadata. Pagination details help navigate through large RMA datasets.
{
"return_merchandise_authorisations": [
{
"id": "RMA_ID",
"customer_return_status": "RETURN_STATUS",
"customer_return_date": "RETURN_DATE_ISO8601",
"invoice_id": "INVOICE_ID",
"note": "RETURN_NOTE",
"received_count": "RECEIVED_COUNT",
"returns": [
{
"item_id": "ITEM_ID",
"item_name": "ITEM_NAME",
"item_uuid": "ITEM_UUID",
"rma_returned": "RETURNED_QUANTITY",
"rma_requested": "REQUESTED_QUANTITY",
"uuid": "RETURN_UUID"
}
],
"created_by": "CREATED_BY",
"created_on": "CREATED_ON_ISO8601",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_ON_ISO8601",
"uuid": "RMA_UUID",
"version": "VERSION_NUMBER"
}
],
"pagination": {
"records": TOTAL_RECORDS,
"limit": PAGE_LIMIT,
"offset": PAGE_OFFSET,
"previous_page": "PREVIOUS_PAGE_URL",
"next_page": "NEXT_PAGE_URL"
}
}
| Field | Type | Description |
|---|---|---|
| return_merchandise_authorisations | array | List of return merchandise authorisations. |
| id | string | Unique RMA identifier. |
| customer_return_status | string | Status of the return (e.g., PENDING, CLOSED). |
| customer_return_date | string | The date when the customer return was initiated. |
| invoice_id | string | Related invoice identifier for the return. |
| note | string | Additional notes regarding the return. |
| received_count | string | Number of items physically received. |
| returns | array | Items being returned with quantity details. |
| returns[].item_id | string | ID of the item being returned. |
| returns[].item_name | string | Name of the item. |
| returns[].item_uuid | string | UUID of the returned item. |
| returns[].rma_returned | string | Quantity returned by the customer. |
| returns[].rma_requested | string | Quantity originally requested for return. |
| returns[].uuid | string | UUID of the specific return record. |
| created_by | string | The user who created the RMA. |
| created_on | string | Timestamp of when the RMA was created (ISO8601). |
| last_updated_by | string | The user who last updated the RMA. |
| last_updated_on | string | Timestamp of the last update (ISO8601). |
| uuid | string | Unique UUID of the RMA record. |
| version | string | Version number of the RMA record. |
| pagination | object | Metadata for pagination of records. |
| pagination.records | integer | Total number of records available. |
| pagination.limit | integer | Limit of records returned per page. |
| pagination.offset | integer | Offset for the current page. |
| pagination.previous_page | string | URL of the previous page (if any). |
| pagination.next_page | string | URL of the next page (if any). |
Get Return Merchandise Authorisation by ID: /return-merchandise-authorisations/{rma_id}
Purpose
Fetches details of a specific Return Merchandise Authorisation (RMA) record using its unique identifier.
Use Case
Used by staff or system modules to retrieve RMA details such as return quantities, invoice linkage, item information, and audit metadata.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| rma_id | string | Unique identifier of the RMA record. |
Query Parameters
No query parameters required for this endpoint.
Request Body
No request body required for this endpoint.
Response
Returns the full RMA record, including item returns, status, timestamps, and metadata.
{
"return_merchandise_authorisation": {
"id": "RMA_ID",
"customer_return_status": "RETURN_STATUS",
"customer_return_date": "RETURN_DATE_ISO",
"invoice_id": "INVOICE_ID",
"note": "NOTE_TEXT",
"received_count": "RECEIVED_ITEM_COUNT",
"returns": [
{
"item_id": "ITEM_ID",
"item_name": "ITEM_NAME",
"item_uuid": "ITEM_UUID",
"rma_returned": "QUANTITY_RETURNED",
"rma_requested": "QUANTITY_REQUESTED",
"uuid": "RETURN_UUID"
}
],
"created_by": "CREATOR_NAME",
"created_on": "CREATED_TIMESTAMP_ISO",
"last_updated_by": "LAST_UPDATED_BY",
"last_updated_on": "LAST_UPDATED_TIMESTAMP_ISO",
"uuid": "RMA_UUID",
"version": "VERSION_NUMBER"
}
}
| Field | Type | Description |
|---|---|---|
| return_merchandise_authorisation | object | Container for the RMA details. |
| id | string | RMA identifier. |
| customer_return_status | string | Status of the return (e.g., PENDING, CLOSED). |
| customer_return_date | string | Return request date in ISO format. |
| invoice_id | string | Associated invoice ID. |
| note | string | Notes or comments about the RMA. |
| received_count | string | Number of items received as part of the RMA. |
| returns | array | List of returned item details. |
| returns[].item_id | string | Identifier for the item. |
| returns[].item_name | string | Name of the returned item. |
| returns[].item_uuid | string | UUID of the returned item. |
| returns[].rma_returned | string | Quantity actually returned. |
| returns[].rma_requested | string | Quantity originally requested for return. |
| returns[].uuid | string | UUID of the return line item. |
| created_by | string | Name of the user who created the RMA. |
| created_on | string | Timestamp of when the RMA was created (ISO 8601). |
| last_updated_by | string | User who last updated the RMA. |
| last_updated_on | string | Last update timestamp in ISO format. |
| uuid | string | Unique identifier of the RMA object. |
| version | string | Version number of the RMA record for concurrency checks. |
Get Return Merchandise Authorisations by Invoice ID:/invoices/{id}/return-merchandise-authorisations
Purpose
Retrieves all return merchandise authorisation (RMA) records associated with a specific invoice.
Use Case
Useful for tracking product returns, viewing return status, and reviewing customer return requests related to a particular invoice.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | Unique invoice identifier |
Query Parameters
No query parameters required for this endpoint.
Request Body
No request body required for this endpoint.
Response
Returns a list of RMAs linked to the specified invoice, including details of returned items and pagination metadata.
{
"invoice": {
"return_merchandise_authorisations": [
{
"id": "RMA_ID",
"customer_return_status": "RETURN_STATUS",
"customer_return_date": "RETURN_DATE_ISO",
"invoice_id": "INVOICE_ID",
"note": "RMA_NOTE",
"received_count": "RECEIVED_ITEM_COUNT",
"returns": [
{
"item_id": "ITEM_ID",
"item_name": "ITEM_NAME",
"item_uuid": "ITEM_UUID",
"rma_returned": "QUANTITY_RETURNED",
"rma_requested": "QUANTITY_REQUESTED",
"uuid": "RETURN_UUID"
}
],
"created_by": "CREATED_BY_USER",
"created_on": "CREATED_TIMESTAMP_ISO",
"last_updated_by": "UPDATED_BY_USER",
"last_updated_on": "UPDATED_TIMESTAMP_ISO",
"uuid": "RMA_UUID",
"version": "VERSION_NUMBER"
}
],
"pagination": {
"records": TOTAL_RECORDS,
"limit": PAGE_LIMIT,
"offset": OFFSET_VALUE,
"previous_page": "PREVIOUS_PAGE_TOKEN",
"next_page": "NEXT_PAGE_TOKEN"
}
}
}
| Field | Type | Description |
|---|---|---|
| invoice | object | Root object containing RMA data and pagination info. |
| return_merchandise_authorisations | array | List of RMAs linked to the invoice. |
| return_merchandise_authorisations[].id | string | RMA identifier. |
| return_merchandise_authorisations[].customer_return_status | string | Return status (e.g., PENDING, CLOSED). |
| return_merchandise_authorisations[].customer_return_date | string | Date of customer return request (ISO 8601). |
| return_merchandise_authorisations[].invoice_id | string | Associated invoice ID. |
| return_merchandise_authorisations[].note | string | Note or comment associated with the RMA. |
| return_merchandise_authorisations[].received_count | string | Number of items received from the return. |
| return_merchandise_authorisations[].returns | array | Returned item details. |
| returns[].item_id | string | Item code. |
| returns[].item_name | string | Name of the returned item. |
| returns[].item_uuid | string | Unique item identifier. |
| returns[].rma_returned | string | Quantity returned by the customer. |
| returns[].rma_requested | string | Quantity initially requested for return. |
| returns[].uuid | string | UUID of the return line item. |
| created_by | string | Name of the user who created the RMA. |
| created_on | string | Timestamp of when the RMA was created (ISO 8601). |
| last_updated_by | string | Name of the user who last updated the RMA. |
| last_updated_on | string | Last update timestamp in ISO format. |
| uuid | string | UUID of the RMA record. |
| version | string | Version number of the RMA for concurrency checks. |
| pagination | object | Metadata for pagination support. |
| pagination.records | integer | Total number of RMA records found. |
| pagination.limit | integer | Number of records per page. |
| pagination.offset | integer | Record offset (start index). |
| pagination.previous_page | string | Token or reference for the previous page. |
| pagination.next_page | string | Token or reference for the next page. |
Get Specific Return Merchandise Authorisation by Invoice ID:/invoices/{id}/return-merchandise-authorisations/{id}
Purpose
Retrieves the details of a specific Return Merchandise Authorisation (RMA) associated with a given invoice
Use Case
Useful when viewing the complete return details of a specific RMA to monitor return status, items involved, and audit metadata.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| id (invoice) | string | Unique identifier of the invoice. |
| id (rma_id) | string | Unique identifier of the return merchandise authorisation. |
Query Parameters
No query parameters required for this endpoint.
Request Body
No request body required for this endpoint.
Response
Returns detailed information about a single RMA, including item return details, return status, creation audit, and linked invoice.
{
"invoice": {
"return_merchandise_authorisation": {
"id": "RMA_ID",
"customer_return_status": "RETURN_STATUS",
"customer_return_date": "RETURN_DATE_ISO",
"invoice_id": "INVOICE_ID",
"note": "RMA_NOTE",
"received_count": "RECEIVED_ITEM_COUNT",
"returns": [
{
"item_id": "ITEM_ID",
"item_name": "ITEM_NAME",
"item_uuid": "ITEM_UUID",
"rma_returned": "QUANTITY_RETURNED",
"rma_requested": "QUANTITY_REQUESTED",
"uuid": "RETURN_UUID"
}
],
"created_by": "CREATED_BY_USER",
"created_on": "CREATED_TIMESTAMP_ISO",
"last_updated_by": "UPDATED_BY_USER",
"last_updated_on": "UPDATED_TIMESTAMP_ISO",
"uuid": "RMA_UUID",
"version": "VERSION_NUMBER"
}
}
}
| Field | Type | Description |
|---|---|---|
| invoice | object | Container for invoice-linked data. |
| return_merchandise_authorisation | object | Detailed data for a specific RMA. |
| id | string | Unique RMA identifier. |
| customer_return_status | string | Return status (PENDING, CLOSED, etc.). |
| customer_return_date | string | ISO timestamp when the return was initiated. |
| invoice_id | string | Invoice associated with the return. |
| note | string | Optional note about the return. |
| received_count | string | Number of items physically returned. |
| returns | array | Line items being returned. |
| returns[].item_id | string | Returned item code. |
| returns[].item_name | string | Name of the item returned. |
| returns[].item_uuid | string | UUID for the item. |
| returns[].rma_returned | string | Actual quantity returned. |
| returns[].rma_requested | string | Quantity requested for return. |
| returns[].uuid | string | UUID of the individual return line. |
| created_by | string | Name of the user who created the RMA. |
| created_on | string | ISO timestamp of RMA creation. |
| last_updated_by | string | Last user to update the RMA. |
| last_updated_on | string | ISO timestamp of last update. |
| uuid | string | Unique identifier of the RMA entity. |
| version | string | Version number used for concurrency control. |
Retrieve RMA Receive Records for an Invoice: /invoices/{invoice_id}/return-merchandise-authorisations/{rma_id}/receive
Purpose
This endpoint retrieves all receive records associated with a specific Return Merchandise Authorisation (RMA) under a given invoice. It provides item-level details for each received return entry, allowing users to track quantities, products, and audit information related to the RMA receiving process.
Use Case
Use this endpoint when you need to:
- Review all received goods against a specific RMA.
- Track items returned by customers and confirm received quantities.
- Display RMA receiving history in portals or operational dashboards.
- Support auditing processes related to merchandise returns.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| invoice_id | string | Unique identifier of the invoice. |
| rma_id | string | Unique identifier of the return merchandise authorisation. |
Query Parameters
No query parameter is required.
Request Body
This endpoint does not require a request body.
Response
The response returns a paginated list of all receive records linked to the specified RMA under the given invoice. Each record contains the receive entry identifier, item-level return details such as quantity, item ID, item name, and item UUID, along with metadata including who created the record and when it was created. Pagination metadata is also included to support continuous retrieval of large datasets.
Response Body
{
"receive_return_merchandise_authorisations": [
{
"id": "RECEIVE_ID",
"receive_returns": [
{
"rma_receive_quantity": "QUANTITY_VALUE",
"item_id": "ITEM_ID_VALUE",
"item_name": "ITEM_NAME_VALUE",
"item_uuid": "ITEM_UUID_VALUE",
"uuid": "RECEIVE_RETURN_UUID"
}
],
"created_by": "CREATED_BY_USER",
"created_on": "CREATED_ON_TIMESTAMP",
"uuid": "RECORD_UUID"
}
],
"pagination": {
"records": 1,
"limit": 20,
"offset": 0,
"previous_page": "",
"next_page": "NULL"
}
}
| Attribute | Type | Description |
|---|---|---|
| receive_return_merchandise_authorisations | array | List of RMA receive records. |
| receive_return_merchandise_authorisations.id | string | Identifier of the receive entry. |
| receive_return_merchandise_authorisations.receive_returns | array | List of item-level received return details. |
| receive_return_merchandise_authorisations.receive_returns.rma_receive_quantity | string | Quantity of the item received for the RMA. |
| receive_return_merchandise_authorisations.receive_returns.item_id | string | Item identifier. |
| receive_return_merchandise_authorisations.receive_returns.item_name | string | Name of the item. |
| receive_return_merchandise_authorisations.receive_returns.item_uuid | string | Unique item UUID. |
| receive_return_merchandise_authorisations.receive_returns.uuid | string | Unique identifier for the receive return record. |
| receive_return_merchandise_authorisations.created_by | string | Name of the user who created the record. |
| receive_return_merchandise_authorisations.created_on | string | Timestamp of record creation. |
| receive_return_merchandise_authorisations.uuid | string | Unique UUID of the receive record entry. |
| pagination | object | Pagination metadata. |
| pagination.records | integer | Total number of records found. |
| pagination.limit | integer | Maximum records per page. |
| pagination.offset | integer | Starting index of the current page. |
| pagination.previous_page | string | Link or token for previous page. |
| pagination.next_page | string | Link or token for next page. |
Retrieve RMA Receive Record Details: /invoices/{invoice_id}/return-merchandise-authorisations/{rma_id}/receive/{receive_id}
Purpose
This endpoint retrieves detailed information about a single RMA receive entry associated with an invoice. It returns item-level data, quantity received, and auditing information for that specific receive record. This is essential for validating and reviewing an individual receive entry.
Use Case
Use this endpoint to:
- View details for a specific receive record.
- Validate a particular RMA receiving action.
- Display detailed return receiving information in customer or internal portals.
- Support return and inventory reconciliation processes.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| invoice_id | string | Unique identifier of the invoice. |
| rma_id | string | Unique identifier of the return merchandise authorisation. |
| receive_id | string | Unique identifier of the receive entry. |
Query Parameters
No query parameter is required.
Request Body
This endpoint does not accept a request body.
Response
The response provides full details of a single RMA receive record. It includes the receive entry ID, a list of returned items received under that entry, the quantity recorded, item identifiers, and auditing metadata such as who created the record and the timestamp. This allows precise verification of the specific returned merchandise received.
Response Body
{
"receive_return_merchandise_authorisation": {
"id": "RECEIVE_ID",
"receive_returns": [
{
"rma_receive_quantity": "QUANTITY_VALUE",
"item_id": "ITEM_ID_VALUE",
"item_name": "ITEM_NAME_VALUE",
"item_uuid": "ITEM_UUID_VALUE",
"uuid": "RECEIVE_RETURN_UUID"
}
],
"created_by": "CREATED_BY_USER",
"created_on": "CREATED_ON_TIMESTAMP",
"uuid": "RECORD_UUID"
}
}
| Attribute | Type | Description |
|---|---|---|
| receive_return_merchandise_authorisation | object | Wrapper containing the receive record details. |
| receive_return_merchandise_authorisation.id | string | Identifier of the receive entry. |
| receive_return_merchandise_authorisation.receive_returns | array | List of returned items received under this entry. |
| receive_return_merchandise_authorisation.receive_returns.rma_receive_quantity | string | Quantity of the item received. |
| receive_return_merchandise_authorisation.receive_returns.item_id | string | Identifier of the returned item. |
| receive_return_merchandise_authorisation.receive_returns.item_name | string | Name of the returned item. |
| receive_return_merchandise_authorisation.receive_returns.item_uuid | string | UUID of the returned item. |
| receive_return_merchandise_authorisation.receive_returns.uuid | string | Unique receive return entry identifier. |
| receive_return_merchandise_authorisation.created_by | string | Name of the user who created the record. |
| receive_return_merchandise_authorisation.created_on | string | Timestamp indicating when the record was created. |
| receive_return_merchandise_authorisation.uuid | string | UUID for the receive entry. |