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.

Storefront api printful

Storefront api printful

futurekode
Visitor
2 0 0

Hello,

 

My client has a website which connects to shopify via the storefront API using graphql. They also have a printful integration to add custom text to products. Is there a way to pass through this custom text via the storefront API and into the printful integration?

Hope this makes sense

Thanks

Replies 2 (2)

SBD_
Shopify Staff
1831 273 423

Hey @futurekode 

You can add customAttributes to line items, which can be pulled out via the API.

Scott | Developer Advocate @ Shopify 

futurekode
Visitor
2 0 0

Hi @SBD_ 

Okay, so I can pass a key and a value for the custom text. But what key do I use? Where can I find this info?


Thanks for your help?