We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With a CartItem:
_id: foo _metadata: createdAt: 2025-02-14T11:42:53.5560742+01:00 lastModified: 2025-02-17T12:34:03.4241562+01:00 version: 12 orderId: order-1 productId: coca-cola-light-33cl quantity: 4 product: _metadata: createdAt: 2025-02-14T10:18:24.4806873+01:00 lastModified: 2025-02-14T10:18:24.4806920+01:00 version: 1 name: Coca Cola Light 33cl description: A 33cl can of Coca Cola Light price: value: 0.99 currency: USD
Querying the API with: /api/cartItems?filters[orderId]=order-1
/api/cartItems?filters[orderId]=order-1
The response is:
{"items":[]}
The response items to be populated and to have a totalCount property.
items
totalCount
{ "items": [ { "_id": "foo", "_metadata": { "createdAt": "2025-02-14T11:42:53.5560742+01:00", "lastModified": "2025-02-17T12:34:03.4241562+01:00", "version": 12 }, "orderId": "order-1", "productId": "coca-cola-light-33cl", "quantity": 4, "product": { "_metadata": { "createdAt": "2025-02-14T10:18:24.4806873+01:00", "lastModified": "2025-02-14T10:18:24.4806920+01:00", "version": 1 }, "name": "Coca Cola Light 33cl", "description": "A 33cl can of Coca Cola Light", "price": { "value": 0.99, "currency": "USD" } } } ], "totalCount": 1 }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried this:
With a CartItem:
Querying the API with:
/api/cartItems?filters[orderId]=order-1
This happened:
The response is:
{"items":[]}
I expected this:
The response
items
to be populated and to have atotalCount
property.Is there a workaround?
No response
Anything else?
No response
Platform(s)
No response
Community Notes
The text was updated successfully, but these errors were encountered: