AffiliatesEnroll an affiliate by email (scope: affiliates:write)POST/affiliatesTry in PlaygroundAuthorizationCopy Anchor LinkbearerAuthheaderAuthorizationBearer <token>API key as Bearer tokenResponse BodyCopy Anchor Link200401OKcURLJavaScriptGoPythonJavaC#RustCopy Textcurl -X POST "https://example.com/affiliates"200401EmptyRecord a referral click from an external storefront (scope: affiliates:write) POSTPrevious PageCreate a referral code for an affiliate (scope: affiliates:write) POSTNext Page