How do I access the collection externally using a JavaScript file? And how would I update the data collection field through Wix?

  1. How do I access the collection externally using a JavaScript file?

  2. How do I update a data collection field, when an end-user renews their membership through Wix site?