Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Pass Cart attributes through storefront api customAttributes ?

Solved

Pass Cart attributes through storefront api customAttributes ?

diamond_dan
Shopify Partner
3 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.