Jump to content

Endpoints to resources


jeanrl

Recommended Posts

First of all, thank you very much for the answer.

Yes, this documentation is the one I'm looking at, but it doesn't have a place where it shows all the endpoints, for example:
To register an image: /api/images/products/1
but what are all the endpoints related to images?

Do you understand the difficulty?

Hugs.

Link to comment
Share on other sites

Hello,
for many programmers who do not have much experience with Prestashop and the API, it is easiest to use their own php script to import products.
cURL can send both XML with product definitions and files.
There are many examples of how to import products from your own XML.
It is enough to write your own script, which will not have more than 250 lines of code.
In your own script, you don't have to call the API several times to upload the product information, then again to import the image, and then again to import the combinations......

Link to comment
Share on other sites

@Rhobur

Ok, I had seen that part of the documentation, I'll test it.

Again thank you very much.

 

@ps8moduly.cz

Yes, I'm doing everything by myself, I'm not using the Prestashop framework (lib), so I'm not tied to possible break changes, I'm also working with json, I don't like XML.

It's been a hard journey, because as you said, anyone who is not used to the Prestashop API is very suffering, but we'll get there, if you have more tips, I'd appreciate it.

Hugs to you both.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...