Magento 2 API PUT Method & Coupon Input

I need some help about my Magento 2 site.

* Please do not offer something without read carefully.

The coupon inbox is not working on my Magento 2.2.4 site's payment page.

When i checked with Chrome's developer tool; i saw this error:

Uncaught SyntaxError: Unexpected token < in JSON at position 0

at [login to view URL] (<anonymous>)

at [login to view URL] ([login to view URL])

at Object.<anonymous> ([login to view URL])

at fire ([login to view URL])

at [login to view URL] [as rejectWith] ([login to view URL])

at done ([login to view URL])

at [login to view URL] ([login to view URL])

- there is no wrong on file permissions and chmods; i'm sure.

I re-install magento 2.2.4 and theme again to make a fresh test; but the problem is the same. (the theme owners are saying 'they are tested several times; and everything is ok at their site; and also i saw their site is working too)

I'm not sure if its a server config problem or not (i checked all topics on Stackoverflow and Google; but couldn't get the solution)

By the way; i saw this 404 error for API PUT method on chrome console at the same page:

PUT [login to view URL] 404 ()

In Network tab; i see this error ([login to view URL] is my site):

Request URL: [login to view URL]

Request Method: PUT

Status Code: 404

Remote Address: [login to view URL]

Referrer Policy: no-referrer-when-downgrade

By the way; i also saw this error in Apache logs (but not sure if its about this problem or not)

2018/06/08 20:53:29 [error] 3436#3436: *28844 upstream prematurely

closed connection while reading response header from upstream, client:

[login to view URL], server: [login to view URL], request: "GET


HTTP/1.1", upstream: "[login to view URL]

sections=cart&update_section_id=false&_=1528491190921", host:

"[login to view URL]", referrer: "[login to view URL]"

the coupon input is working in cart page page (i mean; there is no error in coupon process)

could someone help me with $20-30 budget?

Skills: AJAX, Javascript, jQuery / Prototype, Magento, PHP

See more: magento custom rest api, magento rest api tutorial, rest api magento 1, how to create rest api in magento, magento rest api example php, magento 2 rest api example, magento json api, magento rest api, Our website is a multi-vendor marketplace developed in Magento 2.0.4., Html site not working correctly -- 2, script is done but the main functionality is not implemented well you so we have to make it correct -- 2, freelances is not working, freelancer desktop app is not working, i want write my group a message that my phone is not working how can i write, freelancer com is not working

About the Employer:
( 9 reviews ) istanbul, Turkey

Project ID: #17201958

4 freelancers are bidding on average $24 for this job


Hi sir, Thank you for giving opportunity for biding... we have gone through your requirements and we can do fix your Magento 2 API PUT Method & Coupon Input tasks according to your exact requirements. Please More

$35 USD in 1 day
(193 Reviews)

Hello dear Hiring manager I have read your job post & being an expert Web developer, I offer myself for the job. I am having extensive knowledge and 5+ years of experience in PHP & WordPress website development u More

$25 USD in 1 day
(1 Review)

Hey! My name is Artyom. Nice to meet you in advance. I studied your offer. I know Open Cart very well (experience more than 5 years). I engaged both in completions of the existing websites, and development from More

$10 USD in 3 days
(1 Review)

Hello Mate , I have reviewed your magento 2..2.4 bug for coupon module . I can fix it but It is not possible in 20-30$. I have fix above issue in one day & one day for testing purpose . Cost will be 100$ . I More

$25 USD in 1 day
(1 Review)