Links between Order Return Request Module and Other Modules
This document showcases the module links defined between the Order Return Request Module and other Commerce Modules.Summary
The Order Return Request Module has the following links to other modules:| First Data Model | Second Data Model | Type | Description |
|---|---|---|---|
| OrderReturnRequest | Order | Stored - many-to-one | Associates return requests with the original order |
| Seller | OrderReturnRequest | Stored - one-to-many | Associates a seller with their return requests |
Order Module
Mercur defines a link between the Order Return Request Module’sOrderReturnRequest data model and the Order Module’s Order data model. This allows return requests to be associated with the original order being returned.
Retrieve with Query
To retrieve the order of a return request with Query, passorder.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the order association of a return request, use Link:- link.create
- createRemoteLinkStep
Seller Module
Mercur defines a link between the Seller Module’sSeller data model and the Order Return Request Module’s OrderReturnRequest data model. This allows tracking which return requests belong to each seller for vendor review and processing.
Retrieve with Query
To retrieve the return requests of a seller with Query, passorder_return_request.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the return requests of a seller, use Link:- link.create
- createRemoteLinkStep