Jump to content



Member Since 01 Apr 2007
Offline Last Active Jul 17 2019 09:19 AM

Topics I've Started

Create A Product And Enter An Image Url

12 July 2019 - 05:11 PM

I am creating a product like that


"product": "TITLE",
"price": PRICE,
"category_ids" : "IDS",
"main_pair": {"http_image_path": "IMAGE_URL"}

Everything is inserted, but the image does not display on the product. What am I doing wrong?

Updating Product Features Via Nsurl (Swift)

04 July 2019 - 12:58 PM

I want to create a new product with features via the API. I have created the request on Postman and it works ok there as well as the cURL code that Postman produces.
However, when I try to run the equivalent code from a playground or project in Swift (iOS) everything is created except the product features. I am guessing that this is because it is a nested array.
Does anyone have any previous experience on that? 
This can be easily tested it if you create the call in Postman, then copy/paste the Swift(NSURL) snippet code and run it in XCode.

Update Product Via Rest Api

02 July 2019 - 07:03 AM



I try to update a product via REST API using the url http://example.com/api/products/:id as mentioned here .


I am using the PUT method but I am getting


405 Method Not Allowed

The requested method PUT is not allowed for the URL /api/stores/1/products/27


I am trying from Postman, and creating or getting products works fine. What could go wrong?