Delete order - Instore Orders v2 - Mercado Pago Developers
Delete order

DELETE

/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.
Request's parameters
user_id

REQUIRED

string
Localization: pathUser Id
external_pos_id

REQUIRED

string
Localization: pathExternal POS Id
Response parameters
This request has no response.
Request
curl
curl -X DELETE \
      'https://api.mercadopago.com/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders' \
       -H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
      
Answer
json
{}
Errors
400bad_request
invalid_collectorIduser_id must be a number.
invalid_externalPosIdexternalPosId must be present.
invalid_access_tokenAccess denied.
500bad_request
in_store_order_creation_errorFailed to delete order.