I have a list of customers that I am trying to pull data for all at once. I build a search filter with the contion_type="in", field="id", and value=my list of customers. I get an error that the field id does not exist.
{
"message": "Invalid attribute name: %1",
"parameters": [
"id"
]
}
I have tried other terms for id, such as customer_id, customerID, custID, etc. with no change.
Instead of field 'id' try 'entity_id'
@mikeweis That worked, thanks.
This gives the result for first search id only. For example is i uses the search term searchCriteria[filter_groups][0][filters][0][value]=1,2 Then it returns the result for id 1 only.
But in api you returns id, not entity_id, so why ask about entity_id?
Most helpful comment
Instead of field 'id' try 'entity_id'