Field defined twice in Order object

mikesitmikesit Member Posts: 31

Hey Guys,

Just need clarification in the docs. The Order object doc (https://developers.lightspeedhq.com/retail/endpoints/Order/) has the property "refNum" defined twice.

Is this a duplication error or are there two fields and one of the names is a typo? If they are different, what are the true property definitions?

Thanks,

rock

Best Answer

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 140 moderator
    Accepted Answer

    Hi,

    The refNum is defined twice because it can hold an external ref. number (custom) or the reference number of the purchase order, but I agree that having it defined twice can be confusing, so we will change the docs to prevent future confusions.

Sign In or Register to comment.