• Resolved nidorann

    (@nidorann)


    Hi there,

    I’ve created a birthdate field on checkout through a custom field “billing_birthdate”.

    I was thinking I’ll send an API request for each new order to update the contact but I’ve seen on the API I have to fill the contact ID, that I don’t have.

    Get contact also needs the ID and the ID doesn’t match with the WooCommerce user ID.

    So how to pass my custom field to Omnisend ?

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support omnisendsupport

    (@omnisendsupport)

    Hi there,

    Thank you for opening a thread and sharing your query!

    To pass your custom field to Omnisend, you should request the contactID by using the email or phone number associated with the contact. Please check the API reference here: Omnisend API – List Contacts.

    This will provide you with the contact ID, which you can then use to update the contact further: Omnisend API – Patch Contacts.

    Once you have the contact ID, you can update the birthdate field to work with birthday automation.

    We hope this clarifies the process and helps you achieve your goal. Please let us know if you managed to do it from your side.

    Should you require further assistance, please feel free to reach out to our support team via in-app chat or at [email protected]. Our support team is available 24/7.

    Warm regards from Omnisend team!

    Thread Starter nidorann

    (@nidorann)

    Thank you for the reply.

    I don’t know how I missed that.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.