Skip to main content
POST /api/v2/storefront/join-links Mints a join link for a storefront your organization owns. Advertisers who sign up through the link become sponsored buyers scoped to that storefront. The approvalPolicy you choose here decides whether those signups are admitted automatically or held for your review.

Request

Parameters

Response

201 Created with the new JoinLink:
The buyer visits joinPath (/join/{slug}); your UI or agent prepends its own origin to form the full URL.

Errors

  • 400 VALIDATION_ERROR — missing storefrontId, or an invalid slug, approvalPolicy, expiresAt, or maxUses.
  • 401 UNAUTHORIZED — missing or invalid API key.
  • 403 CUSTOMER_ROLE_DENIED — the API key is not a seller account; only sellers manage join links.
  • 403 ACCESS_DENIED — the storefrontId belongs to another organization.
  • 404 NOT_FOUND — no storefront with this id exists.
  • 409 CONFLICT — an active link with that slug already exists. Choose a different slug or disable the existing one.
See Errors for the full error contract.

Join-link tasks

All operations

List join links

Every active link

Sponsored buyers

Manage the buyers who joined

Errors

Shared error contract