Team
Invite a member by email with a role whose rights stay within the editor role (not admin)
POST
bearerheader
AuthorizationBearer <secret_api_key>Use Authorization: Bearer <secret_api_key>.
application/json- body
email*stringMatch
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailrole_id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidInvalid request
application/json- response
status*numberValue in
100101102103200201202203204205206207208210300301302303304307308400401402403404405406407408409410411412413414415416417418421422423424428429456500501502503504505507508code*stringMachine-readable error id (i18n dictionary key), e.g. shopify.ERROR_ID_TOKEN_INVALID; http_error.<STATUS> when there is no specific one.
error*array<string>retryAfterSeconds?integerRange
0 <= value <= 9007199254740991manageUrl?stringWhere this account pays instead: the Vizbl app billing page in the Shopify admin (subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP).
Format
urimanage_url?stringDeprecatedDeprecated: the same as manageUrl, kept for the clients that still read it.
Format
uristack?stringcurl -X POST 'https://api.vizbl.com/developer-api/invites' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"}'Example Response
{ "status": 100, "code": "string", "error": [ "string" ], "retryAfterSeconds": 0, "manageUrl": "http://example.com", "manage_url": "http://example.com", "stack": "string"}