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 TypeAPI Component
Endpoint/v1/sellers/{seller_code}/credentials/{email}
MethodPOST
API Reference DocumentCreate Credentials

Query Parameters

ParameterDescription
{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

ParameterDescription
role_namesYou can specify the
marketplace_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"
     ]
}
'