ReDoc documentation

guest-carts/{cartId}

guest-carts/{cartId}

get/V1/guest-carts/{cartId}

Enable a guest user to return information for a specified cart.

Request
path Parameters
cartId
required
string
Responses
200

200 Success.

400

400 Bad Request

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": {
    }
}

guest-carts/{cartId}

put/V1/guest-carts/{cartId}

Assign a specified customer to a specified shopping cart.

Request
path Parameters
cartId
required
string

The cart ID.

Request Body schema:
customerId
required
integer

The customer ID.

storeId
required
integer
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "customerId": 0,
  • "storeId": 0
}
Response samples
true