Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.
Solved

Pass Cart attributes through storefront api customAttributes ?

diamond_dan
Shopify Partner
1 0 0

Hi,

We use a headless setup creating our cart through the checkoutCreate mutation.

We are using an invoice app that requires extra bits of information be sent via the cart attributes. Their example (https://community.shopify.com/c/Shopify-Design/Cart-Use-cart-attributes-to-collect-more-information/...)

Would sending those 2 key/value pairs in customAttributes be the same?

 https://shopify.dev/docs/storefront-api/reference/checkouts/checkoutcreate ?

 

 

Accepted Solution (1)

Not applicable

This is an accepted solution.

Yes, those are the same.

View solution in original post

Reply 1 (1)

Not applicable

This is an accepted solution.

Yes, those are the same.