@@ -55,7 +55,7 @@ func TestCustomerGet(t *testing.T) {
5555 option .WithBaseURL (baseURL ),
5656 option .WithBearerToken ("My Bearer Token" ),
5757 )
58- _ , err := client .Customers .Get (context .TODO (), "customer_id " )
58+ _ , err := client .Customers .Get (context .TODO (), "cus_TV52uJWWXt2yIoBBxpjaa " )
5959 if err != nil {
6060 var apierr * dodopayments.Error
6161 if errors .As (err , & apierr ) {
@@ -79,7 +79,7 @@ func TestCustomerUpdateWithOptionalParams(t *testing.T) {
7979 )
8080 _ , err := client .Customers .Update (
8181 context .TODO (),
82- "customer_id " ,
82+ "cus_TV52uJWWXt2yIoBBxpjaa " ,
8383 dodopayments.CustomerUpdateParams {
8484 Email : dodopayments .F ("email" ),
8585 Metadata : dodopayments .F (map [string ]string {
@@ -141,7 +141,7 @@ func TestCustomerDeletePaymentMethod(t *testing.T) {
141141 )
142142 err := client .Customers .DeletePaymentMethod (
143143 context .TODO (),
144- "customer_id " ,
144+ "cus_TV52uJWWXt2yIoBBxpjaa " ,
145145 "payment_method_id" ,
146146 )
147147 if err != nil {
@@ -165,7 +165,7 @@ func TestCustomerListCreditEntitlements(t *testing.T) {
165165 option .WithBaseURL (baseURL ),
166166 option .WithBearerToken ("My Bearer Token" ),
167167 )
168- _ , err := client .Customers .ListCreditEntitlements (context .TODO (), "customer_id " )
168+ _ , err := client .Customers .ListCreditEntitlements (context .TODO (), "cus_TV52uJWWXt2yIoBBxpjaa " )
169169 if err != nil {
170170 var apierr * dodopayments.Error
171171 if errors .As (err , & apierr ) {
@@ -187,7 +187,7 @@ func TestCustomerListEntitlements(t *testing.T) {
187187 option .WithBaseURL (baseURL ),
188188 option .WithBearerToken ("My Bearer Token" ),
189189 )
190- _ , err := client .Customers .ListEntitlements (context .TODO (), "customer_id " )
190+ _ , err := client .Customers .ListEntitlements (context .TODO (), "cus_TV52uJWWXt2yIoBBxpjaa " )
191191 if err != nil {
192192 var apierr * dodopayments.Error
193193 if errors .As (err , & apierr ) {
@@ -209,7 +209,7 @@ func TestCustomerGetPaymentMethods(t *testing.T) {
209209 option .WithBaseURL (baseURL ),
210210 option .WithBearerToken ("My Bearer Token" ),
211211 )
212- _ , err := client .Customers .GetPaymentMethods (context .TODO (), "customer_id " )
212+ _ , err := client .Customers .GetPaymentMethods (context .TODO (), "cus_TV52uJWWXt2yIoBBxpjaa " )
213213 if err != nil {
214214 var apierr * dodopayments.Error
215215 if errors .As (err , & apierr ) {
0 commit comments