Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Delete order - Instore Orders v2 - Mercado Pago Developers

Intelligent search powered by OpenAI 

Delete order

DELETE

https://api.mercadopago.com/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders
Delete an order whenever you need to with the ID of the user and the external ID. If the request is successful, the response will be: code 204 - The server successfully processed the request, but is not returning any content.
Request's parameters
PATH
user_id
string

REQUIRED

User Id
external_pos_id
string

REQUIRED

External POS Id
Response parameters
Esta solicitação não tem resposta
Errors

400Error

invalid_collectorId

user_id must be a number.

invalid_externalPosId

externalPosId must be present.

invalid_access_token

Access denied.

500Error

in_store_order_creation_error

Failed to delete order.

Request
curl -X DELETE \
    'https://api.mercadopago.com/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
    
Sample answer
// This request has not been responded to.