Jump to content

WebService API for Order containing Deleted product


Recommended Posts

With the WebService API, I am making a request to my site.

 

http://prestashop.dev.local/api/orders/4

 

Inside this order 1 of the products has since been deleted

 

http://prestashop.dev.local/api/products/7

 

when I attempt to load that product from the API I get a 403 (Forbidden).

 

Is this the correct response for a deleted product (ie Should I just handle the 403 and assume the product has been deleted)? Or is there something else I should have done?

Link to comment
Share on other sites

×
×
  • Create New...