product_seller allowlist from your own server code.
A store can only create an offer against a master
product if it’s on that product’s allowlist. Mercur exposes
linkSellersToProductWorkflow to add and remove stores in a single call.
Add and remove stores
src/api/custom/allowlist/route.ts
add and remove are both optional. Pass either or both. Adding a store
that’s already allowlisted is idempotent. Removing a store revokes its right
to sell the product going forward.Allowlist a category
Categories use the same shape throughlinkSellersToProductCategoryWorkflow,
scoping which stores a category is associated with: