diff --git a/scripts/python/sync_all_travelperk_accounts.py b/scripts/python/sync_all_travelperk_accounts.py new file mode 100644 index 00000000..1b4d626a --- /dev/null +++ b/scripts/python/sync_all_travelperk_accounts.py @@ -0,0 +1,8 @@ +from apps.travelperk.models import TravelperkCredential +from apps.travelperk.serializers import SyncPaymentProfileSerializer + + +all_creds = TravelperkCredential.objects.all() + +for creds in all_creds: + SyncPaymentProfileSerializer().sync_payment_profiles(creds.org_id)