Get a cart item by ID

get

/ccstore/v1/orders/current/items/{id}

This API is used by the CX Commerce OSF Storefront. This API is currently not used by CX Commerce Classic Storefront but may be used in the future. It may be used in applications outside of CX Commerce Storefront.

Get the item in the cart for the given ID.

This endpoint is part of a group of APIs used in conjunction with each other to perform granular actions on the cart (current incomplete order).

Request

Supported Media Types
Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

TODO
Body ()
Root Schema : model_item
Match All
Show Source
Example:
{
    "primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v7023553219093550939/products/Samsung_F90BN_LARGE.jpg&height=100&width=100",
    "rawTotalPrice":2799.96,
    "displayName":"Samsung - F90BN HD Flash Memory Camcorder",
    "dynamicProperties":[
        {
            "id":"giftWrapMessage123",
            "label":"Gift Wrap Message123",
            "value":"newGSMessage456000"
        }
    ],
    "shippingSurchargeValue":0,
    "discountAmount":0,
    "externalData":[
    ],
    "externalPrice":129,
    "commerceItemId":"ci980ddwww415",
    "price":984,
    "variant":[
        {
            "optionValue":"Neon",
            "optionName":"color"
        },
        {
            "optionValue":"2x optical/130x digital",
            "optionName":"zoom"
        }
    ],
    "primaryImageAltText":"Samsung - F90BN HD Flash Memory Camcorder",
    "onSale":true,
    "id":"ci98000415",
    "state":"Added to order",
    "stateKey":"INITIAL",
    "unitPrice":597,
    "primaryImageTitle":"Samsung - F90BN HD Flash Memory Camcorder",
    "childSKUs":[
        {
            "primaryThumbImageURL":null
        }
    ],
    "amount":984,
    "quantity":7,
    "productId":"camcorder_1",
    "pointOfNoRevision":false,
    "salePrice":597,
    "detailedItemPriceInfo":[
        {
            "discounted":false,
            "secondaryCurrencyTaxAmount":0,
            "amount":129,
            "quantity":1,
            "tax":0,
            "orderDiscountShare":0,
            "detailedUnitPrice":129,
            "currencyCode":"USD"
        }
    ],
    "giftWithPurchaseCommerceItemMarkers":[
    ],
    "externalPriceQuantity":3,
    "catRefId":"camcordersku_1_3",
    "skuProperties":[
        {
            "propertyType":"sku-base",
            "name":"Not Returnable",
            "id":"nonreturnable",
            "value":false
        },
        {
            "propertyType":"sku-base",
            "name":"Name",
            "id":"displayName",
            "value":null
        },
        {
            "propertyType":"sku-base",
            "name":"Active",
            "id":"active",
            "value":true
        },
        {
            "propertyType":"sku-base",
            "name":"Id",
            "id":"id",
            "value":"camcordersku_1_3"
        },
        {
            "propertyType":"sku-base",
            "name":"Discountable",
            "id":"discountable",
            "value":true
        }
    ],
    "route":"/samsung-f90bn-hd-flash-memory-camcorder/product/camcorder_1",
    "discountInfo":[
    ],
    "siteId":"siteUS",
    "shopperInput":{
        "shopInputMessage":"testShopInputMessd"
    },
    "asset":false,
    "listPrice":699.99
}
Nested Schema : model_subItem
Type: object
Show Source
Example:
{
    "rawTotalPrice":2799.96,
    "displayName":"Samsung - F90BN HD Flash Memory Camcorder",
    "dynamicProperties":[
        {
            "id":"giftWrapMessage123",
            "label":"Gift Wrap Message123",
            "value":"newGSMessage456000"
        }
    ],
    "shippingSurchargeValue":0,
    "discountAmount":0,
    "externalData":[
    ],
    "externalPrice":129,
    "commerceItemId":"ci980ddwww415",
    "price":984,
    "variant":[
        {
            "optionValue":"Neon",
            "optionName":"color"
        },
        {
            "optionValue":"2x optical/130x digital",
            "optionName":"zoom"
        }
    ],
    "onSale":true,
    "id":"ci98000415",
    "state":"Added to order",
    "stateKey":"INITIAL",
    "unitPrice":597,
    "amount":984,
    "quantity":7,
    "productId":"camcorder_1",
    "pointOfNoRevision":false,
    "salePrice":597,
    "detailedItemPriceInfo":[
        {
            "discounted":false,
            "secondaryCurrencyTaxAmount":0,
            "amount":129,
            "quantity":1,
            "tax":0,
            "orderDiscountShare":0,
            "detailedUnitPrice":129,
            "currencyCode":"USD"
        }
    ],
    "giftWithPurchaseCommerceItemMarkers":[
    ],
    "externalPriceQuantity":3,
    "catRefId":"camcordersku_1_3",
    "skuProperties":[
        {
            "propertyType":"sku-base",
            "name":"Not Returnable",
            "id":"nonreturnable",
            "value":false
        },
        {
            "propertyType":"sku-base",
            "name":"Name",
            "id":"displayName",
            "value":null
        },
        {
            "propertyType":"sku-base",
            "name":"Active",
            "id":"active",
            "value":true
        },
        {
            "propertyType":"sku-base",
            "name":"Id",
            "id":"id",
            "value":"camcordersku_1_3"
        },
        {
            "propertyType":"sku-base",
            "name":"Discountable",
            "id":"discountable",
            "value":true
        }
    ],
    "discountInfo":[
    ],
    "siteId":"siteUS",
    "shopperInput":{
        "shopInputMessage":"testShopInputMessd"
    },
    "asset":false,
    "listPrice":699.99
}
Nested Schema : model_item-allOf[1]
Type: object
Show Source
Nested Schema : childItems
Type: array
The array of child items in the item, if the item is a configurable item. If a child item is itself configurable, it can contain its own childItems array. Specifying a childItems array, even if empty, will permit new children or layers of descendants to be added in subsequent update operations.
Show Source
Nested Schema : childSkus
Type: array
An array with single primary image url for this item's sku, or its default image.
Show Source
Nested Schema : detailedRecurringChargeInfo
Type: object
Detailed Item Price Information.
Show Source
Nested Schema : dynamicProperties
Type: array
Array of custom properties at order line item level.
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type: array
giftWithPurchaseCommerceItemMarker information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
Nested Schema : variant
Type: array
List of variants for the product.
Show Source
Nested Schema : items
Type: object
A configurable item with properties that match the parent configuarable item
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

The error response (which alternates to the default response depending on error reason).
Body ()
Root Schema : errorModelSingleError
Type: object
Show Source

Default Response

The error response.
Body ()
Root Schema : errorModelMultiErrors
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top