Hello!
I used a curl command
curl -s -X GET ‘https://api.digikey.com/mylists/v1/lists/validate/YfkElZ7bGK’ -H ‘Authorization: Bearer HIDDEN_FOR_SECURITY’ -H ‘X-DIGIKEY-Locale-Language: en’ -H ‘X-DIGIKEY-Locale-Currency: USD’ -H ‘X-DIGIKEY-Client-Id: mRmbsqDyRiypNkfW5CC3PClwUq3a34Nl02Vzl6XzqataQXVh’ -H ‘X-DIGIKEY-Customer-Id: 17830749’
but it failed with error:
[ErrorResponseVersion] => 3.0.0.0
[StatusCode] => 400
[ErrorMessage] => Error with CustomerId
[ErrorDetails] => CustomerId of zero is not allowed
[RequestId] => 6675695c-5baf-4e5e-a909-ed1afd74fc70
How can I fix this? How should I put my CustomerID in API request?