Documentation
Feedback
Guides
Storefront Development

Storefront Development
FastStoreFastStore API
Mutations

Cart

FieldArgumentTypeDescription
validateCartStoreCart
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.
cartIStoreCart!
Shopping cart input.
sessionIStoreSession
Web session identifier.
There is a Known Issue with the validateCart mutation. If an external request modifies the store cart with additional information like marketing data, it disrupts the store cart synchronization process, interfering with the connection between the cart displayed on the storefront and the actual cart data stored on the server. This may lead to issues for store users, such as items not being added, incorrect totals, or checkout problems. After any external cart update, refresh the cart data using the workaround instructions in the Cart does not update in FastStore if an external request is made to update orderForm guide.

Session

FieldArgumentTypeDescription
validateSessionStoreSession
Updates a web session with the specified values.
sessionIStoreSession!
Web session identifier.
searchString!
subscribeToNewsletterPersonNewsletter
Subscribes a new person to the newsletter list.
dataIPersonNewsletter!Person data input to the newsletter.
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page