Retrieves a Shopping Cart Items count

Version 4.0.0
download iconDownload spec

Endpoint

GET
undefined/msapi/sales/shopping-cart-meta/v1/active-count

This operation retrieves a ShoppingCart (ProductOrder) items count.

arrowRequest

Header Parameters

      Query Parameters

        Body Parameters

        Responses

        Success

        arrowBody

        application/json

        REQUEST

        1
        2
        3
        curl --request GET \
             --url 'https://example.com/msapi/sales/shopping-cart-meta/v1/active-count?cartType=STC%2FDEFAULT%2FServiceCart%2FATTCart' \
             --header 'accept: application/json;charset=utf-8'

        RESPONSE

        1
        2
        3
        4
        5
        {
          "id": "00fa7310-38c9-11ec-8d3d-0242ac130003",
          "count": 3,
          "@type": "ATTCart"
        }