Add a contact to an account
POST
/accounts/{storeId}/contactsRequires scope: write:contacts
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
storeIdrequired | path | string |
Request body
| Field | Type | Allowed values | Description |
|---|---|---|---|
first_name | string | any string | |
last_name | string | any string | |
name | string | any string | |
role | string | any string | |
email | string | any string |
Responses
| Status | Description |
|---|---|
201 | Created |
400 | Invalid body |
401 | Missing or invalid API key |
403 | Key lacks the required scope |
404 | Account not found |
429 | Rate limit exceeded (see Retry-After) |
Is this page helpful?