Skip to main content
GET

Get My Marketplace

This is the sub-merchant-facing counterpart to the operator-facing marketplace endpoints. Call this with a sub-merchant’s own API key to find out which marketplace operator they’re linked to — not restricted to marketplace operators like most other /marketplace/* endpoints.

Response

marketplace only includes id and educator_email — no business/display name is returned by this endpoint today. commission_rate is this caller’s own effective rate (read from their Educatorportfolio.marketplace_commission_rate), not the operator’s default — it already reflects any per-merchant override set via Update Commission.
commission_rate is returned as the raw Postgres DECIMAL(5,4) value — a string like "0.0500", or null if never set — not a JS number. Parse it with Number(...) before doing arithmetic.
If you’re not currently linked to any marketplace, data.marketplace is absent entirely — see the 404 below.

Error Codes