Delete store/users/{user_id}/stores/{id}Delete a physical shop whenever you need it with the ID of the store.
DELETE
Products that use it:
Request's parameters
user_idstring
Localization: pathUser IdREQUIRED
idstring
Localization: pathStore's IdREQUIRED
Response parameters
store
Localization: bodynumber
user
Localization: bodynumber
Request
curl
curl -X DELETE \
'https://api.mercadopago.com/users/{user_id}/stores/{id}' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Answer
json
{
"store": 30148503,
"user": 329653108
}
Errors
400bad_request
INVALID_USER_ID
INVALID_STORE_IDSTORE_ID must be number.
UNKNOWN_FIELDUnknow field.