Retrieving all products added to a cart

GET {{api-url}}/cart/{{tenant}}/carts/{{cartId}}/items

Retrieves all items added to the specified cart.


Required scopes

  • cart.cart_manage

    Note: Only required if the access_token used to authorize the request and the customerId passed in the query parameter belong to different customers.

RESPONSES

status: OK

[{"id":"0","yrn":"{cartItemYrn}","itemYrn":"{productYrn}","quantity":6,"effectiveQuantity":6,"price":{"priceId":"5f5a3b45fb29e20020be9976","originalAmount":2.29,"effectiveAmount":2.29,"currency":"EUR"}},{"id":"1","yrn":"{cartItemYrn}","itemYrn":"{productYrn}","quantity":2,"effectiveQuantity":2,"price":{"priceId":"5f59fe70fb29e20020be8f12","originalAmount":9.49,"effectiveAmount":9.49,"currency":"EUR"}}]