How to use Opencart API?

preview_player
Показать описание
Buy Opencart 4 book at amazon:
This Opencart tutorial show how to use OpenCart API and show how to create, read, query, update and upsert with OpenCart API.

We use postman to show how to login, add product of that cart and see the products in the cart and show how to pull all products in OpenCart.

You can download the free theme at:

#opencart #opencartapi #tutorial
Рекомендации по теме
Комментарии
Автор

hi, i don't see in documentation reference to methods to manage product, creation, update, stock, or for get the newly created orders, all that have to be done by me?

Alejwild
Автор

Hi. Thank you for making this video. One quick question. Do I need to create a username and API Key for all my customers that are using the Opencart API? Or is the API Username and Key for the mobile or web apps that use the Opencart API?

gnutechie
Автор

hey man, just wondering if there is a way to log the users (customers) using the API I'm creating an app for iOS and I want to integrate the api so the users can login to Opencart.
Thx in advanced.

Автор

hello, after following your steps in this videos, ill started sending request in postman with opencart url and some credientials like username, api key. i got the response not like that . the response come in the form of whole html code of a dashboard page . what should i do

kartikdangi
Автор

I have to copy and paste username and key values when I try to call login api. There is no other way to get key and username without copy paste?

chjj
Автор

Hi, i am getting data successfully from the api, but total count is 1200, products array is null and products exist in data json, eveytime in return only first 12 products, i think api need pagination to get products in loop

redking
Автор

I got the response in html format how can i change in json

bhupendraarya
Автор

I couldn't find the download on the page, please copy the link in your reply. Thanks

Автор

Hi, Thank you for the explanation but I want to make an external API Post request after order creation. Can you please tell me how can I do this?

shubhammishra
Автор

hi, am trying Post request from postman for endpoint api/add/cart. And am using API Key Authorization and passing product_id and quantity as request body in form-data. am gettting 404 page not found error. any endpoint is changed. any resolution?

ramanareddyyy
Автор

Any possibility available to update 'tracking number' and 'trcking url' using API in opencart order (if available please mention API format)

ramasamyp
Автор

After using my shipping api into Postman, and getting back Pretty. JSON response, how can i integrate shipping method into OC 2.3.0.2

davionrobinson
Автор

Hi, can you create opencart module for both ends ( responding server side and client side) to import products

pctechcomputers
Автор

how to get all the products?, /products endpoint only gives first 12 products.

aneesbazmi
Автор

Hi, is there any way I can contact you? I have a couple questions to ask

pheliciae
Автор

How to login with customer email and password through the API

pranavp
Автор

First of all i really appreciate your effort to make this video. I am getting an error on postman output i tried the same method but its not working let me know whats wrong

Oc version: 3.0.2.0

Notice: Undefined index: api_token on line 8
Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`key` = at line 1<br />Error No: 1064<br />SELECT * FROM `op_api` WHERE `username` = 'xyzapi' `key` = AND status = '1' in Stack trace: #0 DB\MySQLi->query('SELECT * FROM `...') #1 DB->query('SELECT * FROM `...') #2 Mod in on line 40

ProsenjeetPaulProsenjeetPaul
Автор

Here in the video, I use "What is my IP" because my requesting server is localhost postman thus my public IP. But for your case, it should be requesting server IP

rupaknepali
Автор

vai bat hi nehi karni hai to video kyu banaya...? itna ahiste ahiste kyu bole vai? thoda jor se vi to bol saqte hai..I am your follower.

souravmondal
Автор

I am attempting to update a product's Stock/Quantity, SKU, Colour, Size value from another website using API.

I need to Product Info page as a front side. open page after updating data using API.

JSON API DATA Format :

{
"stock": 1503,
"sku": "00011919515264",
"color": "Navy",
"size": "Small"
},
Using this API I am able to retrieve my products in JSON Dictionary Format.

I now want to update a product's value as well.

Any idea How can I do easy ways?

mujahidbhoraniya