API V3 - How to set contact custom fields on add/sync api calls

This post describes the use of the bulk contact import/update/subscribe endpoint in version 3 of the API.