Links between Split Order Payment Module and Other Modules
This document showcases the module links defined between the Split Order Payment Module and other Commerce Modules.Summary
The Split Order Payment Module has the following links to other modules:| First Data Model | Second Data Model | Type | Description |
|---|---|---|---|
| Order | SplitOrderPayment | Stored - one-to-one | Associates an order with its split payment record tracking the seller’s payment portion |
Order Module
Mercur defines a link between the Order Module’sOrder data model and the Split Order Payment Module’s SplitOrderPayment data model. This allows tracking payment amounts (authorized, captured, refunded) specific to each seller’s portion of an order in a multi-vendor marketplace.
Retrieve with Query
To retrieve the split order payment of an order with Query, passsplit_order_payment.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the split order payment of an order, use Link:- link.create
- createRemoteLinkStep