• 0
Ropitas

Orders with the to_be_agreed as shipping are never marked as delivered in the api

Question

If the order delivery is not through "MercadoEnvíos", the order are never set to "delivered" at the API after they are marked as manually delivered at the MercadoLibre web console.

For example, you may si the status of this sale:

https://myaccount.mercadolibre.com.ar/sales/1550792886/detail?type=archived&q=carlos

but at the api, the status is "not_delivered:

https://api.mercadolibre.com/orders/search?seller={{SELLER_ID}}&access_token={{ACCESS_TOKEN}}&sort=date_desc&order.status=paid&order.date_last_updated.from=2017-11-27T07:24:35-00:00

...
"results": [
        {
            "id": 1550792886,
            "comments": null,
            "status": "paid",
            "status_detail": {
                "description": null,
                "code": "seller_restriction"
            },
            "date_created": "2017-11-28T07:50:32.000-04:00",
            "date_closed": "2017-11-28T07:50:34.000-04:00",
            "expiration_date": "2017-12-19T07:50:35.000-04:00",
            "date_last_updated": "2017-11-28T11:40:42.897Z",
            "hidden_for_seller": false,
            "currency_id": "ARS",
            "order_items": [
                {
                    "currency_id": "ARS",
                    "differential_pricing_id": null,
                    "item": {
                        "id": "MLA678186784",
                        "title": "Short 6 A 24 Meses Bebé Gamisé Liso Nene Nena Pantalon Corto",
                        "condition": "new",
                        "seller_custom_field": null,
                        "variation_attributes": [
                            {
                                "id": "30000",
                                "name": "Talle",
                                "value_name": "18-24 M",
                                "value_id": "8f56508"
                            },
                            {
                                "id": "83000",
                                "name": "Color Primario",
                                "value_name": "Fucsia",
                                "value_id": "92021"
                            }
                        ],
                        "category_id": "MLA74009",
                        "warranty": null,
                        "variation_id": 17038993335
                    },
                    "listing_type_id": "gold_special",
                    "sale_fee": 7.7,
                    "quantity": 1,
                    "base_currency_id": null,
                    "unit_price": 70,
                    "base_exchange_rate": null,
                    "full_unit_price": 70
                }
            ],
            "total_amount": 70,
            "mediations": [],
            "payments": [
                {
                    "id": 3191421549,
                    "order_id": 1550792886,
                    "payer_id": 61685780,
                    "collector": {
                        "id": 64701201
                    },
                    "currency_id": "ARS",
                    "status": "approved",
                    "status_code": null,
                    "status_detail": "accredited",
                    "transaction_amount": 70,
                    "shipping_cost": 0,
                    "overpaid_amount": 0,
                    "total_paid_amount": 70,
                    "marketplace_fee": 7.7,
                    "coupon_amount": 0,
                    "date_created": "2017-11-28T07:50:36.000-04:00",
                    "date_last_modified": "2017-11-28T07:50:35.000-04:00",
                    "card_id": 210256572,
                    "reason": "Short 6 A 24 Meses Bebé Gamisé Liso Nene Nena Pantalon Corto",
                    "activation_uri": null,
                    "payment_method_id": "visa",
                    "installments": 1,
                    "issuer_id": "326",
                    "atm_transfer_reference": {
                        "company_id": null,
                        "transaction_id": null
                    },
                    "coupon_id": null,
                    "operation_type": "regular_payment",
                    "payment_type": "credit_card",
                    "available_actions": [
                        "refund"
                    ],
                    "installment_amount": 70,
                    "deferred_period": null,
                    "date_approved": "2017-11-28T07:50:38.000-04:00",
                    "authorization_code": "006552",
                    "transaction_order_id": null
                }
            ],
            "shipping": {
                "substatus": null,
                "status": "to_be_agreed",
                "id": null,
                "service_id": null,
                "currency_id": null,
                "shipping_mode": null,
                "shipment_type": null,
                "sender_id": null,
                "picking_type": null,
                "date_created": null,
                "cost": null,
                "date_first_printed": null
            },
            "order_request": {
                "change": null,
                "return": null
            },
            "pickup_id": null,
            "buyer": {
                "id": 61685780,
                "nickname": "....",
                "email": "...............@mail.mercadolibre.com",
                "phone": {
                    "area_code": "011",
                    "extension": "",
                    "number": "*****",
                    "verified": false
                },
                "alternative_phone": {
                    "area_code": "",
                    "extension": "",
                    "number": ""
                },
                "first_name": "C***",
                "last_name": "Vel*****",
                "billing_info": {
                    "doc_type": null,
                    "doc_number": null
                }
            },
            "seller": {
                "id": 64701201,
                "nickname": "ROPITAS.COM.AR",
                "email": ".................@mail.mercadolibre.com",
                "phone": {
                    "area_code": "011",
                    "extension": "",
                    "number": "******",
                    "verified": false
                },
                "alternative_phone": {
                    "area_code": "",
                    "extension": "",
                    "number": ""
                },
                "first_name": "v***",
                "last_name": "kos*****"
            },
            "feedback": {
                "sale": {
                    "id": 9040753703501,
                    "date_created": "2017-11-28T11:30:16.000-04:00",
                    "fulfilled": true,
                    "rating": "positive",
                    "status": "active"
                },
                "purchase": {
                    "id": 9040753706186,
                    "date_created": "2017-11-28T11:40:42.000-04:00",
                    "fulfilled": true,
                    "rating": "positive",
                    "status": "active"
                }
            },
            "tags": [
                "not_delivered",
                "paid"
            ]
        },
...

 

Can you fix this?

Best,

Edited by Ropitas

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...