Kapalı

MAGENTO 2.1.9 API for Custome Attributes doesnt get the values- URGENT

Hello,

Our developer is having a lot of trouble and we are in need of an expert high level developer with a lot of experience.

The error is : that the Magento API is not getting the values from custom_attributes when we try to add a product with the API : .'/[url removed, login to view]'

HERE IS THE CODE EXAMPLE:

/// attributes //

$custom_attributes = array(

array( 'attribute_code' => 'category_ids', 'value' => [ $category_id ] ),

array( 'attribute_code' => 'description', 'value' => $product['product_description'] ),

array( 'attribute_code' => 'short_description', 'value' => $product['product_name'] ),

array( 'attribute_code' => 'manufacturer', 'value' => $manufacturer_id ),

array( 'attribute_code' => 'upc_code', 'value' => $product['product_code'] ),

);

$requestUrl= $data['store_url'] .'/[url removed, login to view]';

$add = [

"product" => [

"sku" => $product['product_sku'],

"name" => $product['product_name'],

"price" => $product['retail_price'] ,

"status" => $product['status_magento'] ,

"visibility" => 4,

"type_id" => "simple",

"attribute_set_id" => 4,

"weight" => 1,

"custom_attributes" => $custom_attributes,

"extension_attributes" => array(

"stockItem"=> array("qty"=> $product['quantity'], "isInStock" => true)

),

]

];

$headers = array("accept: application/json","content-type: application/json","authorization: Bearer ".$data['token']) ;

$ch = curl_init();

$ch = curl_init($requestUrl);

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers );

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($add) );

$result = curl_exec($ch);

$result = json_decode($result);

$result = (array) $result ;

Here is the error we are receiving:

Error occured during "custom_attributes" processing. A custom attribute is specified withou an attribute code.

If you have experience with this and know how to help us - I will gladly pay you well for your time.

Beceriler: Magento, MySQL, PHP, Yazılım Mimarisi, XML

Daha fazlasını gör: magento 1.9 to 2.0, upgrade from magento 1.9 to 2, magento 1.9 to magento 2, magento 2.1.5, Magento 1.9.2.4, Migrate Magento 1.9 to 2, magento 2.1.3 test server categories , magento 2.1.3, magento 1.9.2.7, magento 1.9.2, magento 1.9 to 2, magento 2.1 3d secure, Magento 2.1, cheap magento 1.9 2 templates, magento api product attributes

İşveren Hakkında:
( 1 değerlendirme ) Cedarhurst, United States

Proje NO: #15696702

Bu iş için 46 freelancer ortalamada $54/saat teklif veriyor

kchg

Hello! , I'm a TOP 5th freelancer in this site. as you see my profile(https://www.freelancer.com/u/kchg.html) I have much good experiences in Magento for 6+ years. So I just say that I will provide you high quality Daha Fazla

$55 USD / saat
(418 Değerlendirme)
9.5
sdam

Dear Client, We like to fix this API issue. Kindly reach us to fix the same. Magento certified team. Kind Regards Ewall

$55 USD / saat
(287 Değerlendirme)
8.7
sapotacorp

Dear aronaharonoff! After carefully reviewing the experience requirements for the job description, we feel that we are suitable for the job. Our Magento's projects: [login to view URL] Our latest Uni Daha Fazla

$59 USD / saat
(820 Değerlendirme)
8.3
seekdeveloper

Hello, I have read your post and understood your requirement. Looking for the freelancer to work on your next project? Or just need some issues/bugs/fixes ASAP? I have 8+ years of experience and I'm here for you! Daha Fazla

$55 USD / saat
(118 Değerlendirme)
8.7
surabhirathi21

We're a Pvt. Ltd. company based in New Delhi, India with more than 8 years of experience on Magento. We've gone through your project details and can do this task efficiently and accurately for you. Kindly check o Daha Fazla

$50 USD / saat
(220 Değerlendirme)
7.8
magentoguys

HI I NEED DETAIL code what your developer done so i will look into it and fix The error is : that the Magento API is not getting the values from custom_attributes when we try to add a product with the API : .'/index Daha Fazla

$52 USD / saat
(228 Değerlendirme)
7.6
NickolaS

Hello, I can help you with your API problem. First I will analyze the source, then will prepare checkers if source data will be good. Then will tell you my conclusion about the reason and will describe way to solve thi Daha Fazla

$50 USD / saat
(359 Değerlendirme)
7.6
JoomlaVogue

Hello Sir, First of all, we would like to tell you how we will initialize the project with you. We insist to follow these steps before you award the project to us: - We (technical team) will review the job and Daha Fazla

$55 USD / saat
(110 Değerlendirme)
7.6
magento2expert

Hello, >> i am 10+ magento experience developer >> will resolve issue as well >> I will resolve Magento API is gettings issue values >> can you please custom_attributes when we try to add a product with Daha Fazla

$50 USD / saat
(94 Değerlendirme)
7.1
mike199

Hi, I’m a Web Designer/Developer from the UK. My name is Mike. Your project description sounds interesting to me and I do have skills & experience that are required to complete this project. Let's have a quick chat whe Daha Fazla

$55 USD / saat
(48 Değerlendirme)
6.9
phpdeveloper100

I have 6+ years experience and I have done more then 50+ projects in my [login to view URL] note I am full feldged developers and work for 17 hours in a day.I am ready to start the project kindly open the private message box Daha Fazla

$55 USD / saat
(71 Değerlendirme)
7.2
zyeloncomputech

Hi sir, Thank you for giving opportunity for biding... we have gone through your requirements and we can do your magento tasks for Custome Attributes doesnt get the values according to your exact requirements. Daha Fazla

$50 USD / saat
(190 Değerlendirme)
7.0
sunsoftpro

First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss requi Daha Fazla

$57 USD / saat
(115 Değerlendirme)
6.8
Thesynapses

Hello there, Greetings from Synapse! I'll not take much time. We have designed, developed & providing maintenance & monitoring services to our top-notch client in the USA under NDA for 3+ years now. Given below a Daha Fazla

$55 USD / saat
(13 Değerlendirme)
6.6
shreeyait

[login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL]

$55 USD / saat
(68 Değerlendirme)
7.1
Danharrison

Hello , Hope you're doing well. I have checked the details mentioned in your project post and would like to confirm our interest in working for your project. Please let me know ,if we can talk on $-k-y-p-e ca-l Daha Fazla

$55 USD / saat
(8 Değerlendirme)
6.1
raiakanksha49

alredy done this kind of job pls ping me for sample , need more detail start this project can start right now

$55 USD / saat
(54 Değerlendirme)
6.3
OBog

Hello there! My name is Olga and I am a project coordinator at 4DCode web-development company. My team will be glad to help you to fix this error. To start working on your project, we need to get: - database ac Daha Fazla

$55 USD / saat
(22 Değerlendirme)
5.7
endivesoftware

Hello, Greetings, We see you are looking for expert Magento developer/designer to resolve the issue you are facing with your website. We would love to discuss this opportunity to work with you. In response to yo Daha Fazla

$55 USD / saat
(13 Değerlendirme)
5.9
TongDawei

Hello I am Magento expert. I have customized and built lots of magento extension. I can complete your project perfectly. Regards

$55 USD / saat
(29 Değerlendirme)
5.5