Documentação do Mercado Shops
Confira todas as informações necessárias sobre as APIs Mercado Shops.Documentação do
Sales management
Search orders
With the mshops tag you can identify Mercado Shops orders.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' -H x-format-new: true https://api.mercadolibre.com/orders/$ORDER_ID
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' -H x-format-new: true https://api.mercadolibre.com/orders/2063200914
Response:
{
"id": 2063200914,
"date_created": "2019-06-24T15:53:04.000-04:00",
"date_closed": "2019-06-24T15:53:06.000-04:00",
"last_updated": "2019-06-24T15:53:06.000-04:00",
"manufacturing_ending_date": null,
"feedback": {...},
"mediations": [],
"comments": null,
"pack_id": null,
"pickup_id": null,
"order_request": {...},
"fulfilled": null,
"total_amount": 25,
"paid_amount": 31.9,
"coupon": {...},
"expiration_date": "2019-07-22T15:53:06.000-04:00",
"order_items": [...],
"currency_id": "BRL",
"payments": [...],
"shipping": {...},
"status": "paid",
"status_detail": null,
"tags": [
"mshops",
"not_delivered",
"paid"
],
"buyer": {...},
"seller": {...},
"taxes": {...}
}
View order details
Make request with mshops tag.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/orders/search?seller=$SELLER_ID&tags=mshops
Order status
confirmed: order in initial status, but not yet paid.
payment_required: order that needs the payment to be
confirmed to display the user's information.
payment_in_process: order with an associated payment, but it
has not yet been accredited.
partially_paid: order with an associated payment accredited,
but it is still not enough.
paid: order with an associated and accredited payment.
cancelled: incomplete order.
Check reasons for cancellation.
Next: Promotion management.