Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • seanrock 158 posts 337 karma points
    Jul 15, 2020 @ 09:16
    seanrock
    0

    Order property constants

    Hi Matt

    Do you have the order properties that are 'expected' such as billing and shipping fields defined as constants? I've had a look but don't see them. Just want to avoid duplicating these and typos etc.

    Thanks.

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jul 15, 2020 @ 09:21
    Matt Brailsford
    100

    Hi Sean,

    There are curently only constants for the properties that are absolutely required to be known by Vendr which are all in the namespace Vendr.Core.Constants.Properties.Customer https://vendr.net/docs/core/1-2-0/reference/vendr-core/constants/#constantspropertiescustomer

    However things like the billing address / shipping address aren't explicitly required to be named anything specific as far as Vendr is concerned and so we don't have constants for them.

    For minimum friction though, you can review the default Order Editor Config to see what property aliases the default editor view looks for https://vendr.net/docs/core/1-2-0/key-concepts/order-editor-config/

    /Matt

  • seanrock 158 posts 337 karma points
    Jul 15, 2020 @ 10:07
    seanrock
    0

    Ok cool thats what I'm looking for.

    Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies