VAGU975317

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hola que tal, estoy mandando este array a ML para actualizar un producto y me regresa el siguien error invalid property type: [attributes] expected List but was JSONObject value, ya intente convertirla a JSON y me regresa invalid property type: [attributes] expected List but was string value, ¿Alguien sabra a que se debe? Array ( [attributes] => Array ( [0] => Array ( [id] => BRAND [name] => Marca [value_id] => [value_name] => Cardone ) [1] => Array ( [id] => ITEM_CONDITION [name] => Condici├│n del ├¡tem [value_id] => 2230582 [value_name] => Reacondicionado ) [2] => Array ( [id] => MODEL [name] => Modelo [value_id] => [value_name] => CHEVROLET BLAZER 1995-1996 ) [3] => Array ( [id] => NUMBER_TEETH_WHEEL_SIDE [name] => Cantidad de estr├¡as lado rueda [value_id] => [value_name] => 27 ) [4] => Array ( [id] => SELLER_SKU [name] => SKU [value_id] => [value_name] => 60-1000 ) [5] => Array ( [id] => SIDE [name] => Lado [value_id] => [value_name] => Delantera Derecha/Izquierda ) [6] => Array ( [id] => WIDTH [name] => Ancho [value_id] => [value_name] => 24 mm ) [variations] => Array ( [0] => Array ( [id] => 21262863757 [price] => 1694 [attribute_combinations] => Array ( [0] => stdClass Object ( [id] => [name] => LADO [value_id] => [value_name] => Izquierdo/Piloto [value_struct] => ) ) [available_quantity] => 1 [sold_quantity] => 0 [sale_terms] => Array ( ) [picture_ids] => Array ( [0] => 629055-MLM27014277634_032018 [1] => 904259-MLM27014277633_032018 [2] => 974577-MLM27014277631_032018 [3] => 714308-MLM27014307229_032018 [4] => 664391-MLM27014307228_032018 [5] => 768834-MLM26940617629_032018 [6] => 636381-MLM27014297469_032018 [7] => 795590-MLM26940617632_032018 [8] => 897310-MLM26940617631_032018 ) [seller_custom_field] => [catalog_product_id] => [0] => Array ( [id] => OEM [value_name] => 60-1000 ) [1] => Array ( [id] => MPN [value_name] => 60-1000 ) [2] => Array ( [id] => EAN [value_name] => 60-1000 ) [3] => Array ( [id] => GTIN [value_name] => 60-1000 ) [4] => Array ( [id] => PACKAGE_LENGTH [value_name] => 15.00 cm ) [5] => Array ( [id] => PACKAGE_WEIGHT [value_name] => 6.00 kg ) [6] => Array ( [id] => PACKAGE_WIDTH [value_name] => 20.00 cm ) [7] => Array ( [id] => PACKAGE_HEIGHT [value_name] => 100.00 cm ) [8] => Array ( [id] => JAN [value_name] => 60-1000 ) ) [1] => Array ( [id] => 21262863762 [price] => 1694 [attribute_combinations] => Array ( [0] => stdClass Object ( [id] => [name] => LADO [value_id] => [value_name] => Derecho/Pasajero [value_struct] => ) ) [available_quantity] => 1 [sold_quantity] => 0 [sale_terms] => Array ( ) [picture_ids] => Array ( [0] => 974577-MLM27014277631_032018 [1] => 904259-MLM27014277633_032018 [2] => 629055-MLM27014277634_032018 [3] => 714308-MLM27014307229_032018 [4] => 664391-MLM27014307228_032018 [5] => 768834-MLM26940617629_032018 [6] => 636381-MLM27014297469_032018 [7] => 795590-MLM26940617632_032018 [8] => 897310-MLM26940617631_032018 ) [seller_custom_field] => [catalog_product_id] => [0] => Array ( [id] => OEM [value_name] => 60-1000 ) [1] => Array ( [id] => MPN [value_name] => 60-1000 ) [2] => Array ( [id] => EAN [value_name] => 60-1000 ) [3] => Array ( [id] => GTIN [value_name] => 60-1000 ) [4] => Array ( [id] => PACKAGE_LENGTH [value_name] => 15.00 cm ) [5] => Array ( [id] => PACKAGE_WEIGHT [value_name] => 6.00 kg ) [6] => Array ( [id] => PACKAGE_WIDTH [value_name] => 20.00 cm ) [7] => Array ( [id] => PACKAGE_HEIGHT [value_name] => 100.00 cm ) [8] => Array ( [id] => JAN [value_name] => 60-1000 ) ) ) ) )