Đã Đóng

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.

Kĩ năng: Magento, MySQL, PHP, Kiến trúc phần mềm, XML

Xem nhiều hơn: 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

Về Bên Thuê:
( 1 Nhận xét ) Cedarhurst, United States

ID dự án: #15696702

46 freelancer đang chào giá trung bình $54/giờ cho công việc này

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 Thêm

$55 USD / giờ
(418 Nhận xét)
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 / giờ
(287 Nhận xét)
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 Thêm

$59 USD / giờ
(820 Nhận xét)
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! Thêm

$55 USD / giờ
(118 Nhận xét)
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 Thêm

$50 USD / giờ
(220 Nhận xét)
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 Thêm

$52 USD / giờ
(228 Nhận xét)
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 Thêm

$50 USD / giờ
(359 Nhận xét)
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 Thêm

$55 USD / giờ
(110 Nhận xét)
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 Thêm

$50 USD / giờ
(94 Nhận xét)
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 Thêm

$55 USD / giờ
(48 Nhận xét)
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 Thêm

$55 USD / giờ
(71 Nhận xét)
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. Thêm

$50 USD / giờ
(190 Nhận xét)
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 Thêm

$57 USD / giờ
(115 Nhận xét)
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 Thêm

$55 USD / giờ
(13 Nhận xét)
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 / giờ
(68 Nhận xét)
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 Thêm

$55 USD / giờ
(8 Nhận xét)
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 / giờ
(54 Nhận xét)
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 Thêm

$55 USD / giờ
(22 Nhận xét)
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 Thêm

$55 USD / giờ
(13 Nhận xét)
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 / giờ
(29 Nhận xét)
5.5