Create test user/users/testThis endpoint handles http requests to create a test user.
POST
Products that use it:
Request's parameters
descriptionstring
Localization: bodyDescription of the test user being created.REQUIRED
site_idstring
Localization: bodyID of the site where the test user will be created.REQUIRED
MPE: Mercado Libre Perú
MLU: Mercado Libre Uruguay
MLA: Mercado Libre Argentina
MLC: Mercado Libre Chile
MCO: Mercado Libre Colombia
MLB: Mercado Libre Brasil
MLM: Mercado Libre México
Response parameters
id
Localization: bodyUnique ID that identifies the test user.integer
nickname
Localization: bodyNickname that identifies the test user.string
password
Localization: bodyTest user password.string
site_status
Localization: bodyStatus of the site where the test user was created.string
Request
curl
curl -X POST \
'https://api.mercadopago.com/users/test' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"site_id": "MLA",
"description": "a description"
}'
Answer
json
{
"id": 123,
"nickname": "TEST45I5GYIH",
"password": "qatest6730",
"site_status": "active",
"site_id": "MLA",
"description": "a description",
"email": "test_user_123@testuser.com",
"date_created": "2022-02-01T12:00:00.000-04:00",
"date_last_updated": "2022-02-01T12:00:00.000-04:00"
}
Errors
400bad_request
400
401bad_request
401invalid-token
403bad_request
403authorization-the-caller-id-must-be-a-productive-user
404bad_request
404Resource-Not-Found
500bad_request
500Internal-Server-Error