• 0
Sign in to follow this  
mordekai

Error al agregar un item

Question

Intento agregar un ítem de ejemplo con php con los siguientes parámetros

 

$item = array(
  "title" => "Anteojos Ray Ban Wayfare prueba hello 4",
  "category_id" => "MLC40746",
  "price" => 100000,
  "currency_id" => "CLP",
  "available_quantity" => 1,
  "buying_mode" => "buy_it_now",
  "listing_type_id" => "free",
  "condition" => "new",
  "description" => "Item:,  Ray-Ban WAYFARER Gloss Black RB2140 901  Model: RB2140. Size: 50mm. Name: WAYFARER. Color: Gloss Black. Includes Ray-Ban Carrying Case and Cleaning Cloth. New in Box",
  "warranty" => "12 month by Ray Ban",
  "pictures" => array(
    array(
    ),
    array(
    )
  )
);
 
 
y lo que me responde es
 
 
array(2) {
  ["body"]=>
  object(stdClass)#2 (4) {
    ["message"]=>
    string(21) "seller.unable_to_list"
    ["error"]=>
    string(47) "User xxxxxxxx (XXXXXXXX) is unable to list."
    ["status"]=>
    int(403)
    ["cause"]=>
    array(9) {
      [0]=>
      string(15) "address_pending"
      [1]=>
      string(36) "address_minimum_length_not_satisfied"
      [2]=>
      string(14) "comuna_pending"
      [3]=>
      string(31) "comuna_min_length_not_satisfied"
      [4]=>
      string(22) "identification_pending"
      [5]=>
      string(39) "identification_min_length_not_satisfied"
      [6]=>
      string(23) "identification_no_score"
      [7]=>
      string(18) "address_empty_city"
      [8]=>
      string(19) "address_empty_state"
    }
  }
  ["httpCode"]=>
  int(403)
}
 
como debería ser para poder implementar los campos que aparentemente faltan...
 
Saludos
 
 
 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

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
Sign in to follow this