ReDoc documentation

carts/mine/items

carts/mine/items

get/V1/carts/mine/items

Lists items that are assigned to a specified cart.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
[
  • {
    }
]

carts/mine/items

post/V1/carts/mine/items

Add/update the specified cart item.

Request
Request Body schema:
required
object (quote-data-cart-item-interface)

Interface CartItemInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "cartItem": {
    }
}
Response samples
{
  • "item_id": 0,
  • "sku": "string",
  • "qty": 0,
  • "name": "string",
  • "price": 0,
  • "product_type": "string",
  • "quote_id": "string",
  • "product_option": {
    },
  • "extension_attributes": {
    }
}