Storefront
Read with a publishable key so the join page renders without a session. It names no affiliate and counts nothing; a visitor learns the terms, not the roster. Applying is a different surface, because the record it creates names a person and a key names nobody.
publishableKeyX-Sorai-Key<token>A store's publishable key, spk_….
id*stringuuidThe offer.
application/jsonWhat a store offers someone who wants to promote it.
store_id*stringuuidstore_name*stringstore_slug*stringcurrency*stringThe store's own currency. Commission is paid in whatever currency each sale was taken in, which is not always this one.
rate_bps*integerBasis points; 1000 is 10%.
open*booleanWhether there is an offer to apply for. False when the rate is zero.
curl -X GET 'https://api.sorai.ai/v1/public/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/affiliate-program'{ "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0", "store_name": "string", "store_slug": "string", "currency": "string", "rate_bps": 0, "open": true}