A service for making Magento GraphQL queries for carts.
Name | Type | Description |
---|---|---|
get | Observable<DaffDriverResponse <DaffCart >> |
Retrieve a cart |
create | Observable<{
id: DaffCart ['id'];
}> |
Creates a cart. |
addToCart | Observable<DaffCart > |
|
clear | Observable<Partial<DaffCart >> |
Remove all items from a cart. |
merge | Observable<DaffDriverResponse <DaffCart >> |
Merge a guest cart into a customer cart. |