Intelligent search powered by OpenAI
DELETE
REQUIRED
REQUIRED
400Error
INVALID_USER_ID
user_id must be a number - Verify that the user_id provided is numeric and try again.
INVALID_STORE_ID
store_id must be a number - Ensure that the store_id entered is numeric and correct any errors.
401Error
unauthorized_scopes
`Mismatch between user id '1762651252' and store id '61125074.` This error is displayed when attempting to delete a store belonging to another user. If you encounter this error, verify the `store_id` and ensure it belongs to your user.
403Error
Forbidden
`You don't have permission to access the URL on this server`. If you receive this error, check if the store_id used is correct and make a new request.
404Error
not_found
`store 6112507 not found.` This error occurs when attempting to delete a store, but the store_id is incorrect. Please review the store_id parameter and ensure that the number entered corresponds to a valid store.
curl -X DELETE \
'https://api.mercadopago.com/users/{user_id}/stores/{id}'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
{
"store": 1234567,
"user": 129653108
}