• 0
JavierGarcia

Error al modificar tipo de envio "Custom" a "Me 2 Gratis"

Question

Hola, tengo artículos publicados bajo el modo "custom" de envío, así:

"shipping": {"mode": "custom",
             "methods": [],
             "costs": [
               {
                 "description": "ENVIO PAGO POR EL VENDEDOR",
                 "cost": "0"
               }
              ]
            }

y quiero modificarlo a M@ con envío gratis actualizando así:

 

"shipping": {
            "mode": "me2",
            "free_methods": [
               {
                "id": 501745,
                "rule": {
                        "free_mode": "country",
                        "value": None
                        }
                }
            ],
            "tags": [],
            "dimensions": None,
            "local_pick_up": False,
            "free_shipping": True,
            "logistic_type": "drop_off",
            "store_pick_up": False
        }

pero al hacer el PUT obtengo como respuesta que no puedo modificar estos campos. La respuesta obtenida es:

{
  "message": "Cannot update item MCO541618923 [status:active, has_bids:false]",
  "error": "validation_error",
  "status": 400,
  "cause": [
    {
      "department": "items",
      "cause_id": 241,
      "type": "error",
      "code": "item.shipping.store_pick_up.not_modifiable",
      "references": [
        "shipping.store_pick_up"
      ],
      "message": "shipping.store_pick_up is not modifiable."
    },
    {
      "department": "items",
      "cause_id": 240,
      "type": "error",
      "code": "field_not_updatable",
      "references": [
        "shipping.tags"
      ],
      "message": "shipping.tags is not modifiable."
    },
    {
      "department": "items",
      "cause_id": 240,
      "type": "error",
      "code": "field_not_updatable",
      "references": [
        "shipping.dimensions"
      ],
      "message": "shipping.dimensions is not modifiable."
    }
  ]
}

Alguien me podría ayudar ? Es posible hacer este cambio? SI es asi, que estoy haciendo mal? Gracias.

Javier

Edited by JavierGarcia
ortografia

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now