Links between Seller Module and Other Modules
This document showcases the module links defined between the Seller Module and other Commerce Modules.Summary
The Seller Module has the following links to other modules:| First Data Model | Second Data Model | Type | Description |
|---|---|---|---|
| Seller | Product | Stored - one-to-many | Associates a seller with their products |
| Seller | Order | Stored - one-to-many | Associates a seller with their orders |
| Seller | Return | Stored - one-to-many | Associates a seller with order returns |
| Seller | PayoutAccount | Stored - one-to-one | Associates a seller with their payout account |
| Seller | StockLocation | Stored - one-to-many | Associates a seller with their stock locations |
| Seller | FulfillmentSet | Stored - one-to-many | Associates a seller with their fulfillment sets |
| Seller | ServiceZone | Stored - one-to-many | Associates a seller with their service zones |
| Seller | ShippingOption | Stored - one-to-many | Associates a seller with their shipping options |
| Seller | ShippingProfile | Stored - one-to-many | Associates a seller with their shipping profiles |
| Seller | InventoryItem | Stored - one-to-many | Associates a seller with their inventory items |
| Seller | CustomerGroup | Stored - one-to-many | Associates a seller with their customer groups |
| Seller | PriceList | Stored - one-to-many | Associates a seller with their price lists |
| Seller | Promotion | Stored - one-to-many | Associates a seller with their promotions |
| Seller | Campaign | Stored - one-to-many | Associates a seller with their campaigns |
Product Module
Mercur defines a link between the Seller Module’sSeller data model and the Product Module’s Product data model. This allows each seller to have their own products in the marketplace.
Retrieve with Query
To retrieve the products of a seller with Query, passproduct.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the products of a seller, use Link:- link.create
- createRemoteLinkStep
Order Module
Mercur defines a link between the Seller Module’sSeller data model and the Order Module’s Order data model. This allows tracking which orders belong to each seller in the marketplace.
Retrieve with Query
To retrieve the orders of a seller with Query, passorder.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the orders of a seller, use Link:- link.create
- createRemoteLinkStep
Order Module - Returns
Mercur defines a link between the Seller Module’sSeller data model and the Order Module’s Return data model. This allows tracking which returns belong to each seller.
Retrieve with Query
To retrieve the returns of a seller with Query, passreturn.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the returns of a seller, use Link:- link.create
- createRemoteLinkStep
Payout Module
Mercur defines a link between the Seller Module’sSeller data model and the Payout Module’s PayoutAccount data model. This allows each seller to have a payout account for receiving payments from the marketplace.
Retrieve with Query
To retrieve the payout account of a seller with Query, passpayout_account.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the payout account of a seller, use Link:- link.create
- createRemoteLinkStep
Stock Location Module
Mercur defines a link between the Seller Module’sSeller data model and the Stock Location Module’s StockLocation data model. This allows each seller to have their own stock locations (warehouses).
Retrieve with Query
To retrieve the stock locations of a seller with Query, passstock_location.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the stock locations of a seller, use Link:- link.create
- createRemoteLinkStep
Fulfillment Module
Mercur defines multiple links between the Seller Module and the Fulfillment Module to enable sellers to manage their own fulfillment configurations.FulfillmentSet
A link betweenSeller and FulfillmentSet allows sellers to have their own fulfillment sets.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep
ServiceZone
A link betweenSeller and ServiceZone allows sellers to define their own service zones.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep
ShippingOption
A link betweenSeller and ShippingOption allows sellers to configure their own shipping options.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep
ShippingProfile
A link betweenSeller and ShippingProfile allows sellers to manage their own shipping profiles.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep
Inventory Module
Mercur defines a link between the Seller Module’sSeller data model and the Inventory Module’s InventoryItem data model. This allows each seller to manage their own inventory items.
Retrieve with Query
To retrieve the inventory items of a seller with Query, passinventory_item.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the inventory items of a seller, use Link:- link.create
- createRemoteLinkStep
Customer Module
Mercur defines a link between the Seller Module’sSeller data model and the Customer Module’s CustomerGroup data model. This allows sellers to create and manage their own customer groups for targeted marketing.
Retrieve with Query
To retrieve the customer groups of a seller with Query, passcustomer_group.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the customer groups of a seller, use Link:- link.create
- createRemoteLinkStep
Pricing Module
Mercur defines a link between the Seller Module’sSeller data model and the Pricing Module’s PriceList data model. This allows sellers to create and manage their own price lists.
Retrieve with Query
To retrieve the price lists of a seller with Query, passprice_list.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the price lists of a seller, use Link:- link.create
- createRemoteLinkStep
Promotion Module
Mercur defines links between the Seller Module and the Promotion Module to enable sellers to manage their own promotions and campaigns.Promotion
A link betweenSeller and Promotion allows sellers to create their own promotions.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep
Campaign
A link betweenSeller and Campaign allows sellers to organize promotions into campaigns.
Retrieve with Query
- query.graph
- useQueryGraphStep
Manage with Link
- link.create
- createRemoteLinkStep