api customer update

Highlighted
Shopify Partner
10 0 1

Hello,

I try update customer through "gql" and his "customerAccessToken" by this example code
https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/mutation/customerupdate

I get still error

message": "Unexpected end of document"

 

Q can anybody help?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1555 81 282

That implies a syntax error. Are you sure you're not missing any braces?

1 Like
Highlighted
New Member
1 0 0

Thanks bro! I checked my mistake after this comment

0 Likes