moltin / ios-sdk

Swift SDK for the Moltin eCommerce API
https://moltin.github.io/ios-sdk
MIT License
37 stars 18 forks source link

Finding products by brand (SWIFT) #6

Open Natelegreat1 opened 8 years ago

Natelegreat1 commented 8 years ago

I am trying to find a subset of Product by brand. However, I cannot find any examples of how to query by Product.brand. I have tried the brand.title & brand.ID as the values but have been unsuccessful.

Moltin.sharedInstance().product.searchWithParameters(["brand": **?????**])

Natelegreat1 commented 8 years ago

I get this error regardless... ERROR GET: https://api.molt.in/v1/products/search DATA: { error = "Internal Server Error"; status = 0; }

outrunthewolf commented 8 years ago

Looks like it could be an API issue, but we'll get back to you with more information shortly

jamesike commented 7 years ago

Try brand.value