Home > @vsf-enterprise/commercetools-api > ApiMethods > createCart
# ApiMethods.createCart() method
See the createCart() function
Signature:
createCart(cartDraft?: CreateCartParams, customQuery?: CustomQuery): Promise<CreateCartResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
cartDraft | CreateCartParams | |
customQuery | CustomQuery |
Returns:
Promise<CreateCartResponse>