Pass Cart attributes through storefront api customAttributes ?

Solved
diamond_dan
New Member
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 ?

 

 

0 Likes
florinanghel
Shopify Partner
102 15 17

This is an accepted solution.

Yes, those are the same.

0 Likes