Ditutup

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.

Kemahiran: Magento, MySQL, PHP, Kejuruteraan Perisian, XML

Lihat lebih lanjut: 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

Tentang Majikan:
( 1 ulasan ) Cedarhurst, United States

ID Projek: #15696702

47 pekerja bebas membida secara purata $54/jam untuk pekerjaan ini

kchg

Hello! , I'm a TOP 5th freelancer in this site. as you see my profile([url removed, login to view]) I have much good experiences in Magento for 6+ years. So I just say that I will provide you high quality Lagi

$55 USD / jam
(412 Ulasan)
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 / jam
(287 Ulasan)
8.7
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! Lagi

$55 USD / jam
(117 Ulasan)
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: [url removed, login to view] Our latest Uni Lagi

$59 USD / jam
(719 Ulasan)
8.2
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 Lagi

$50 USD / jam
(209 Ulasan)
7.7
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 Lagi

$52 USD / jam
(207 Ulasan)
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 Lagi

$50 USD / jam
(352 Ulasan)
7.5
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 Lagi

$55 USD / jam
(109 Ulasan)
7.6
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 Lagi

$55 USD / jam
(48 Ulasan)
6.9
phpdeveloper100

I have 6+ years experience and I have done more then 50+ projects in my [url removed, login to view] 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 Lagi

$55 USD / jam
(71 Ulasan)
7.2
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 Lagi

$57 USD / jam
(115 Ulasan)
6.8
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. Lagi

$50 USD / jam
(188 Ulasan)
6.9
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 Lagi

$50 USD / jam
(72 Ulasan)
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 Lagi

$55 USD / jam
(13 Ulasan)
6.6
shreeyait

[url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view]

$55 USD / jam
(68 Ulasan)
7.1
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 Lagi

$55 USD / jam
(13 Ulasan)
5.9
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 Lagi

$55 USD / jam
(5 Ulasan)
6.0
raiakanksha49

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

$55 USD / jam
(52 Ulasan)
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 Lagi

$55 USD / jam
(21 Ulasan)
5.7
bdeinexture

I reviewed your code, I'll provide you our very professional services to migrate your Magento 1.x store to Magento 2.x store with complete proper functioning guaranteed. So that you have improved the experience with yo Lagi

$55 USD / jam
(10 Ulasan)
5.7