Shopping Cart Items Count

Endpoint

GET
undefined/msapi/sales/shopping-cart-api/v1/carts/{cart-id}/items/count

This operation retrieves a ShoppingCart (ProductOrder) items count by the given cart id.

arrowSecurity

http

This API supports Basic Authentication.
scheme:basic
arrowRequest

Path Parameters

    Header Parameters

        Body Parameters

        Responses

        Success

        arrowBody

        application/json

        REQUEST

        1
        2
        3
        curl --request GET \
             --url https://example.com/msapi/sales/shopping-cart-api/v1/carts/string/items/count \
             --header 'accept: application/json;charset=utf-8'

        RESPONSE

        1
        2
        3
        4
        5
        {
          "id": "string",
          "count": 0,
          "@type": "string"
        }