Mutations
Cart
Field | Argument | Type | Description |
---|---|---|---|
validateCart | StoreCart | Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns null . | |
cart | IStoreCart! | Shopping cart input. | |
session | IStoreSession | Web session identifier. |
Session
Field | Argument | Type | Description |
---|---|---|---|
validateSession | StoreSession | Updates a web session with the specified values. | |
session | IStoreSession! | Web session identifier. | |
search | String! | ||
subscribeToNewsletter | PersonNewsletter | Subscribes a new person to the newsletter list. | |
data | IPersonNewsletter! | Person data input to the newsletter. |