Storefront api printful

Highlighted
New Member
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

0 Likes
Shopify Staff
Shopify Staff
1041 140 167

Hey @futurekode 

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

Notice; Out of office, replies will be delayed until my return. Thanks!
0 Likes
Highlighted
New Member
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?

0 Likes