POST
/
{alias}
/
checkout
/
sellers
Criar vendedor
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/checkout/sellers \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "affiliation_id": 123,
  "bank_account_id": 123,
  "has_split": true,
  "transfer_enabled": true,
  "active": true,
  "name": "<string>",
  "email": "jsmith@example.com",
  "document": "<string>",
  "document_type": "cpf",
  "transfer_interval": "daily",
  "transfer_day": 0,
  "antecipatable_volume_percentage": 0,
  "automatic_antecipation_enabled": true,
  "ref_code": "<string>",
  "external_gateway_id": 123,
  "percentage_products": 5,
  "percentage_shipping": 5,
  "charge_processing_fee": true,
  "liable": true
}'
{
  "id": 123,
  "affiliation_id": 123,
  "bank_account_id": 123,
  "store_alias": "<string>",
  "has_split": true,
  "transfer_enabled": true,
  "active": true,
  "name": "teste",
  "email": "teste@email.com",
  "document": "12345678912",
  "document_type": "cpf",
  "transfer_interval": "daily",
  "transfer_day": 0,
  "anticipatable_volume_percentage": 0,
  "automatic_anticipation_enabled": true,
  "ref_code": "1",
  "external_gateway_id": null,
  "percentage_products": 5,
  "percentage_shipping": 5,
  "charge_processing_fee": true,
  "liable": true
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Representa os dados necessários para criar ou atualizar um vendedor

transfer_enabled
boolean
required
name
string
required
email
string<email>
required
document
string
required
document_type
enum<string>
required
Available options:
cpf,
cnpj
transfer_interval
enum<string>
required
Available options:
daily,
weekly,
monthly
transfer_day
integer
required
Example:

0

ref_code
string
required
percentage_products
integer
required
Example:

5

percentage_shipping
integer
required
Example:

5

liable
boolean
required
affiliation_id
integer | null
bank_account_id
integer | null
has_split
boolean | null
active
boolean | null
antecipatable_volume_percentage
integer | null
Example:

0

automatic_antecipation_enabled
boolean | null
external_gateway_id
integer | null
charge_processing_fee
boolean | null

Response

Vendedor criado com sucesso

transfer_enabled
boolean
required
name
string
required
Example:

"teste"

email
string
required
Example:

"teste@email.com"

document
string
required
Example:

"12345678912"

document_type
string
required
Example:

"cpf"

transfer_interval
string
required
Example:

"daily"

transfer_day
string
required
Example:

0

ref_code
string
required
Example:

"1"

percentage_products
integer
required
Example:

5

percentage_shipping
integer
required
Example:

5

liable
boolean
required
id
integer
affiliation_id
integer
bank_account_id
integer
store_alias
string
has_split
boolean
active
boolean
anticipatable_volume_percentage
integer
Example:

0

automatic_anticipation_enabled
boolean
external_gateway_id
string
Example:

null

charge_processing_fee
boolean