Commerce and purchases
Team commerce block
Changed onTeam tickets / merch / sponsors / promoted block. Public. ?teamId= or ?team=slug. Promoted item owner is {kind:'platform', partner?} or {kind:'team', teamId, teamSlug, partner?} (teamSlug is additive; team items still include teamId). An authenticated viewer's creative feed preferences (#722) are omitted from promoted after that owner is resolved (both less and never, because this list has no score). Organic preferences do not change this payload, and preference rows are not written to AdImpression.
get/api/commerce
Request
- Base URLhttps://app.d-sports.org
- Authnone required
Query parameters
teamIdstring
Team id.
teamstring
Team slug.
placementstring
Thin selector over the same sponsor inventory (e.g. below-headline, link-top).
Response
{ success, data }
Changes
- info
added the new optional
queryrequest parameterplacement
- info
- info
endpoint added
- info