• 0
Sign in to follow this  
Bruno de Matos

problem when try Add Product CBT

Question

My name is Bruno im developer of prestashop and im working building and integration with you api.
 
I have some issues about validation task, every that i try add product i get some errors even when i field all data.
 
can you check for me and give an feedbackp please (im trying in sandbox customer id 31313415320908410068)?
 
 Category id is required | Status: 10040 CATEGORY_ID_REQUIRED 
- SKU or MPID is required | Status: 10001 SKU_OR_MPID_REQUIRED 
- Description or specification required | Status: 10005 DESCRIPTION_OR_SPECIFICATION_REQUIRED 
- Country of origin is required | Status: 10049 COUNTRY_OF_ORIGIN_REQUIRED 
- Shipping from is required | Status: 10057 SHIPPING_FROM_REQUIRED 
- Quantity is required | Status: 10007 QUANTITY_REQUIRED 
- Shipping Cost is required | Status: 10017 SHIPPING_COST_REQUIRED 
- Invalid delivery time | Status: 10063 INVALID_ESTIMATED_DELIVERY_TIME 
- Weight unit is required | Status: 10018 WEIGHT_UNIT_REQUIRED 
- Weight is required | Status: 10058 WEIGHT_REQUIRED 
- Condition is required | Status: 10008 CONDITION_REQUIRED  
 
My data are allow:
Quote

{  
   "SKU":"01428510",
   "primary_variation_sku":"01428510",
   "product_type":"Dresses",
   "product_title_english":"nike men s training short black anthracite size large",
   "product_title_spanish":"nike men s training short black anthracite size large",
   "product_title_portuguese":"nike men s training short black anthracite size large",
   "description_english":"<p>Men's Nike Training Short features sweat-wicking technology to help keep you cool as your body heats up. Its 9' inseam, rectangular gusset and motion vents at the end of each side seam help you move without distraction.<\/p>\n<p><\/p>",
   "description_spanish":"<p>Men's Nike Training Short features sweat-wicking technology to help keep you cool as your body heats up. Its 9' inseam, rectangular gusset and motion vents at the end of each side seam help you move without distraction.<\/p>\n<p><\/p>",
   "description_portuguese":"<p>Men's Nike Training Short features sweat-wicking technology to help keep you cool as your body heats up. Its 9' inseam, rectangular gusset and motion vents at the end of each side seam help you move without distraction.<\/p>\n<p><\/p>",
   "category_id":"1529",
   "video_url":"",
   "product_attributes":[  
      {  
         "id":"Binding",
         "value_name":"Sports"
      },
      {  
         "id":"Brand",
         "value_name":"NIKE"
      },
      {  
         "id":"color",
         "value_name":"Black\/Anthracite"
      },
      {  
         "id":"Feature",
         "value_name":"Cotton fabric with Dri-FIT technology keeps you dry and comfortable."
      },
      {  
         "id":"ProductTypeName",
         "value_name":"SPORTING_GOODS"
      },
      {  
         "id":"Title",
         "value_name":"NIKE Men's Training Short Black\/Anthracite Size Large"
      },
      {  
         "id":"AMZMade",
         "value_name":"us"
      },
      {  
         "id":"Model",
         "value_name":"842267-010"
      },
      {  
         "id":"Size",
         "value_name":"Large"
      },
      {  
         "id":"ClothingSize",
         "value_name":"Large"
      },
      {  
         "id":"Department",
         "value_name":"mens"
      }
   ],
   "country_of_origin":"US",
   "shipping_from":"US",
   "UPC":"",
   "currency":"USD",
   "sale_price":"56.99",
   "quantity":5,
   "merchant_shipping_cost":"",
   "international_shipping_cost":"",
   "estimated_delivery_time":"15",
   "weight_unit":"kg",
   "package_weight":"0.275000",
   "dimension_unit":"ft",
   "package_width":"10.670000",
   "package_height":"1.930000",
   "package_length":"14.840000",
   "condition":"new",
   "translation_required":0,
   "international_shipping_cost_by_country":{  
      "BR":"",
      "MX":"",
      "AR":"",
      "CH":"",
      "CO":""
   },
   "specification_english":"Binding:Sports~Brand:NIKE~color:Black\/Anthracite~Feature:Cotton fabric with Dri-FIT technology keeps you dry and comfortable.~ProductTypeName:SPORTING_GOODS~Title:NIKE Men's Training Short Black\/Anthracite Size Large~AMZMade:us~Model:842267-010~Size:Large~ClothingSize:Large~Department:mens~",
   "model":"842267-010",
   "specification_spanish":"Binding:Sports~Brand:NIKE~color:Black\/Anthracite~Feature:Cotton fabric with Dri-FIT technology keeps you dry and comfortable.~ProductTypeName:SPORTING_GOODS~Title:NIKE Men's Training Short Black\/Anthracite Size Large~AMZMade:us~Model:842267-010~Size:Large~ClothingSize:Large~Department:mens~",
   "specification_portuguese":"Binding:Sports~Brand:NIKE~color:Black\/Anthracite~Feature:Cotton fabric with Dri-FIT technology keeps you dry and comfortable.~ProductTypeName:SPORTING_GOODS~Title:NIKE Men's Training Short Black\/Anthracite Size Large~AMZMade:us~Model:842267-010~Size:Large~ClothingSize:Large~Department:mens~",
   "image_url":"http:\/\/2golatin.com\/23639\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~http:\/\/2golatin.com\/23640\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~http:\/\/2golatin.com\/23641\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~http:\/\/2golatin.com\/23642\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~http:\/\/2golatin.com\/23643\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~http:\/\/2golatin.com\/23644\/nike-men-s-training-short-black-anthracite-size-large.jpg~^~",
   "variation":[  
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10044"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10048"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10035"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10172"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      },
      {  
         "id":"10001",
         "value_id":"10045"
      }
   ]
}

 

Share this post


Link to post
Share on other sites

1 answer 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