question

rahulrao avatar image
rahulrao asked rahulrao commented

401 Unauthorized

Please check this issue

Url: https://scl-sandbox.dev.clover.com/v1/customers
Header: Content-Type:application/jsonAuthorization:Bearer XXXXContent-Length:216
Request

{ "email" : "searcher@mailinator.com" , "firstName" : "searcher" , "lastName" : "index" , "source" : "clv_1TSTSXRri12ckFVqMM6mJCP4" , "shipping" :{ "address" :{ "city" : "" , "country" : "" , "line1" : "" , "postal_code" : "" , "state" : "" } } }


screen-shot-2021-10-10-at-200349.png

Customers
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered rahulrao commented

Please don't post access tokens publicly, even if they are just for sandbox. I need to revoke that token and I will do so now. In order to save a customer you need to have customer WRITE permission (the token you posted does not have this permission).

28 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rahulrao avatar image rahulrao commented ·

which place we update customer permissions

0 Likes 0 ·
rahulrao avatar image rahulrao rahulrao commented ·

we update customer permission but still the same issue


0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community