carts/mine

carts/mine

put/V1/carts/mine

Save quote

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

Interface CartInterface

Responses
401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "quote": {
    }
}
Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}

carts/mine

post/V1/carts/mine

Creates an empty cart and quote for a specified customer if customer does not have a cart yet.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
0
0

carts/mine

get/V1/carts/mine

Returns information for the cart for a specified customer.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "id": 0,
  • "created_at": "string",
  • "updated_at": "string",
  • "converted_at": "string",
  • "is_active": true,
  • "is_virtual": true,
  • "items": [
    ],
  • "items_count": 0,
  • "items_qty": 0,
  • "customer": {
    },
  • "billing_address": {
    },
  • "reserved_order_id": "string",
  • "orig_order_id": 0,
  • "currency": {
    },
  • "customer_is_guest": true,
  • "customer_note": "string",
  • "customer_note_notify": true,
  • "customer_tax_class_id": 0,
  • "store_id": 0,
  • "extension_attributes": {
    }
}