Create Credentials
Use this request to create a Dashboard user for an existing seller.
This user allows the seller to access the dashboard to do things like resetting an access token.
To create credentials for a seller, use a POST method and the following URL:
https://{service_uri}/marketplace/v1/sellers/{seller_code}/credentials/{email}
where:
{service_uri}
is the service's URI.{seller_code}
is the unique code that was assigned to the seller when they were created.{email}
is the email address that the the user will use to access the dashboard.
For example:
curl --request POST \
--url https://sellers-api.marketplace.taxamo.com/marketplace/v1/sellers/ABC1234/credentials/Sharon%3EMurphy%40example.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
Details
API Component Type | API Component |
---|---|
Endpoint | /v1/sellers/{seller_code}/credentials/{email} |
Method | POST |
API Reference Document | Create Credentials |
Query Parameters
Parameter | Description |
---|---|
{seller_code} | The unique code that was assigned to the seller when they were created. |
{email} | The email address that the the user will use to access the dashboard. |
Body Parameters
Parameter | Description |
---|---|
role_names | You can specify themarketplace_seller_owner role. |
Example Request
The following request and attached JSON assigns both roles to the ABC123 seller code and specified email address:
curl --request POST \
--url https://sellers-api.marketplace.taxamo.com/marketplace/v1/sellers/ABC1234/credentials/Sharon%3EMurphy%40example.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"role_names": [
"marketplace_seller_owner"
]
}
'
Updated 4 months ago