• 0
KaisarCode

Modify Item with variations that HAS bids

Question

Hi devs!

 

I have the following issue:

I know that, when an item has bids, you can't modify some data from it. But I'm trying now to modify items with variations that have bids, and, you can't change the variation attributes (and its quantity), resulting in this validation error:

 

"You cannot change attribute combinations if the variation has bids"

 

Well, I could understand that, but the thing is that you can actually change this data through the MercadoLibre Control Panel! :blink: WTF?

 

So, I was thinking but I can't arrive to a conclussion... Some of you have noticed this or have a solution?

 

Thanks!

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Hi Rodrigo.

Actually, It was a stupid error (those ones so stupid that one can't see U_U)

 

I was sending the data for an attribute that isn't editable in that condition.

When I removed it, that's it, problem solved.

 

Thank you very much.

Share this post


Link to post
Share on other sites
  • 0

Caros, estou com o mesmo erro.

Estou fazendo um PUT no endereço https://api.mercadolibre.com/items/MLB732392141/variations/16343283875?access_token=.

com o JSON:

{
        "attribute_combinations": [
           {
                "id": null,
                "name": "COR:",
                "value_id": null,
                "value_name": "Dourada",
                "value_struct": null
            }
       ]
    }
 

mas recebo a msg de erro : "You cannot change attribute combinations if the variation has bids"

Realmente não é permitido essa mudança ou estou fazendo algo errado?
Se não for permitida, a única solução seria deletar a variação e criar uma nova?

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Diego H said:

Caros, estou com o mesmo erro.

Estou fazendo um PUT no endereço https://api.mercadolibre.com/items/MLB732392141/variations/16343283875?access_token=.

com o JSON:

{
        "attribute_combinations": [
           {
                "id": null,
                "name": "COR:",
                "value_id": null,
                "value_name": "Dourada",
                "value_struct": null
            }
       ]
    }
 

mas recebo a msg de erro : "You cannot change attribute combinations if the variation has bids"

Realmente não é permitido essa mudança ou estou fazendo algo errado?
Se não for permitida, a única solução seria deletar a variação e criar uma nova?

favor respeitar a linguagem do tópico, procure um tópico semelhante na área em Português

Share this post


Link to post
Share on other sites
  • 0

Hi Guys,

I need some help. I would to change the stock for a specific product in ML, but when I try do that, ML send an error to me ([status:active, has_bids:true]). How can I handle this? Can I change the stock information after a sale or not? If not, how can I do this?

Share this post


Link to post
Share on other sites
  • 0
On 22/01/2018 at 9:57 AM, mldev said:

favor respeitar a linguagem do tópico, procure um tópico semelhante na área em Português

OK, i got the same problem, 

{"code":"item.variations.attribute_combinations.invalid.has_bids","message":"You cannot change attribute combinations if the variation has bids"}

i'm just trying change the quantity.

POST

      "id":163162xxxxxxx (hidden for safe),
         "attribute_combinations":[  
            {  
               "name":"Tamanho",
               "value_name":"59\/60-(G\/L)"
            }
         ],
         "available_quantity":1,

      }

 

 

ITEM GET

"id":163162xxxxxxx (hidden for safe),
"attribute_combinations": [
                {
                    "id": null,
                    "name": "Tamanho",
                    "value_id": null,
                    "value_name": "59/60-(G/L)",
                    "value_struct": null
                }
            ],
            "available_quantity": 2,
            "sold_quantity": 13,
 }

 

 

Edited by Santiago Thomaz

Share this post


Link to post
Share on other sites
  • 0
23 minutes ago, Santiago Thomaz said:

OK, i got the same problem, 

{"code":"item.variations.attribute_combinations.invalid.has_bids","message":"You cannot change attribute combinations if the variation has bids"}

i'm just trying change the quantity.

POST

      "id":163162xxxxxxx (hidden for safe),
         "attribute_combinations":[  
            {  
               "name":"Tamanho",
               "value_name":"59\/60-(G\/L)"
            }
         ],
         "available_quantity":1,

      }

 

 

ITEM GET

"id":163162xxxxxxx (hidden for safe),
"attribute_combinations": [
                {
                    "id": null,
                    "name": "Tamanho",
                    "value_id": null,
                    "value_name": "59/60-(G/L)",
                    "value_struct": null
                }
            ],
            "available_quantity": 2,
            "sold_quantity": 13,
 }

 

 

Do not send attribute_combinations in the post, just available_quantity

Share this post


Link to post
Share on other sites

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