POST
/
v1
/
partners
/
{partner_alias}
/
invitations

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

partner_alias
string
required

Body

application/json
publisher_code
string
required
email
string | null
role
enum<string> | null
default: admin
Available options:
admin,
editor
merchant_id
string | null
expires
string | null

Response

201 - application/json

For the api users we want to return a status for the Invitation

id
string
required
created_at
string
required
updated_at
string
required
email
string | null
required
code
string
required
Maximum length: 64
role
string
required
Maximum length: 64
merchant_id
string | null
required
expires
string
required
redeemed_at
string | null
required
redeemed_merchant_id
string | null
required
redeem_action
required
Available options:
get_merchant,
new_merchant_and_member,
new_member,
no_op
partner_id
string | null
required
publisher_code
string | null
required
invitation_code_url
string | null
required
Minimum length: 1
type
enum<string>
required
Available options:
user,
merchant
status
string
required