ios-sdk
ios-sdk copied to clipboard
Finding products by brand (SWIFT)
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": **?????**])
I get this error regardless...
ERROR GET: https://api.molt.in/v1/products/search DATA: { error = "Internal Server Error"; status = 0; }
Looks like it could be an API issue, but we'll get back to you with more information shortly
Try brand.value