You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Implement mutation for empty cart creation by the guest/customer user.
Cart ID is expected in the response. For the guest it should be hashed.
AC:
createEmptyCart mutation is declared. Should accept no arguments and return cart ID of type String. See example of mutation declaration
For guest (no token provided via Authorization header), the following service should be used \Magento\Quote\Api\GuestCartManagementInterface::createEmptyCart
For customer (valid customer token is provided via Authorization header), the followigng service should be used \Magento\Quote\Api\CartManagementInterface::createEmptyCartForCustomer
Uh oh!
There was an error while loading. Please reload this page.
Implement mutation for empty cart creation by the guest/customer user.
Cart ID is expected in the response. For the guest it should be hashed.
AC:
createEmptyCart
mutation is declared. Should accept no arguments and return cart ID of typeString
. See example of mutation declarationAuthorization
header), the following service should be used\Magento\Quote\Api\GuestCartManagementInterface::createEmptyCart
Authorization
header), the followigng service should be used\Magento\Quote\Api\CartManagementInterface::createEmptyCartForCustomer
The text was updated successfully, but these errors were encountered: