I got an issue with Account.ItemMatrix . When my matrix has many of childs, the API response everytime I set load_relations=all. Any one has this issue too?
Michael CareyAdministrator, Lightspeed StaffPosts: 68moderator
Hello,
I'm afraid I don't understand your question. Could you please provide some additional information regarding this issue? When querying Account.ItemMatrix, what is the expected result and what is the actual result you are receiving?
Hi Mike, There are something wrong with my question. My query is Account.ItemMatrix with "load_relations=all&limit=100" Expected result is an array of 100 ItemMatrix but the API always response NULL. I think it is because of my matrices have too many child items.
Michael CareyAdministrator, Lightspeed StaffPosts: 68moderator
Hi, This shouldn't be the case. If you have more than 100 results, you should see the count, the offset, and the limit returned in the @attributes section like this:
3 comments
I'm afraid I don't understand your question. Could you please provide some additional information regarding this issue? When querying Account.ItemMatrix, what is the expected result and what is the actual result you are receiving?
Thanks,
Mike
Product Manager
Lightspeed HQ
There are something wrong with my question.
My query is Account.ItemMatrix with "load_relations=all&limit=100"
Expected result is an array of 100 ItemMatrix but the API always response NULL. I think it is because of my matrices have too many child items.
This shouldn't be the case. If you have more than 100 results, you should see the count, the offset, and the limit returned in the @attributes section like this: Can you send me your account ID in a direct message an I'll take a look at your account to see if there is anything out of the ordinary.
Thanks,
Mike
Product Manager
Lightspeed HQ