Post by simokassab » Sun Mar 28, 2021 8:33 am

Dears,

Actually, when i log in from the rest API, it returns correct data (my profile data..) through this API
http://momday.net/index.php?route=rest/login/login

For sure am sending in the header:
{Content-type: application/json, Accept: application/json, X-Oc-Merchant-Language: null, X-Oc-Merchant-Id: ......, X-Oc-Session: .......}

and this returns the correct data of my profile, but the issue is when I need to add something to the wishlist, logout, add to cart .... it returns this:

flutter: {Content-type: application/json, Accept: application/json, X-Oc-Merchant-Language: null, X-Oc-Merchant-Id: ..., X-Oc-Session: ...}

posting to http://momday.net/index.php?route=rest/ ... list&id=83

answer is {success: 0, error: [You must login or create an account to save item to your wish list], data: []}


why it return this? and i'm already logged in

All the other APIs are working good like getting the categories, products...

Thanks

Newbie

Posts

Joined
Fri Feb 12, 2021 8:28 am

Post by JNeuhoff » Sun Mar 28, 2021 7:21 pm

This is not an OpenCart bug! Your issue is caused by a 3rd party extension implementing your REST API, so you need to get in touch with its author.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 57 guests