Home Forums Support Getting null value via API

This topic contains 2 replies, has 2 voices, and was last updated by  zjenko 4 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17885

    zjenko
    Participant

    Hi,

    We have a rather interesting thing – in our invoice design we include the City/State/Postal field and if we crate a client manually via the ninja UI and leave the State field empty the invoice generates normally and there is no null value anywhere. However if we send no value for State via API then the invoice contains a ‘null’ where State is supposed to be.

    Example:
    https://www.dropbox.com/s/pi02rp0k5awhqy2/state.jpg?dl=0

    • This topic was modified 4 months, 4 weeks ago by  zjenko.
    #17887

    Hillel Coren
    Keymaster

    Try sending an empty string as the value in the API

    #17888

    zjenko
    Participant

    Sorted thx.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: