OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Need to filter leads via the API by the domain of their website

This topic contains 5 replies, has 2 voices, and was last updated by  Andrey Yatsenko 4 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #41157

    hanan
    Participant

    I initially tried to filter the built in website field, but it appears the API doesn’t support that and returns

    To solve this I created a new string field called Website1 and attempted to filter on that using ^ (starts_with), but then I get the following error:

    It gets the same result if I use ~ (contains). I have other text fields that I need to search like this also, so I’m happy to use the Website1 field I made and not worry about the built in website field.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #41160

    Andrey Yatsenko
    Moderator

    Hi Hanan,

    Multi website support is an enterprise edition feature, if you are an enterprise customer, please submit a question to a customer support portal. Otherwise, we don’t provide any support for implementing enterprise features in a community edition.

    Thank you.

    #41166

    hanan
    Participant

    Hi andrey,

    No, I’m not an enterprise customer . I’m not trying to implement it as a multi website field. I saw that wasn’t available. I’m trying to implement it as a simple text field. My question comes down to why I can’t use the ^ or ~ with the API when filtering a normal text field.

    #41172

    Andrey Yatsenko
    Moderator
    #41188

    hanan
    Participant

    Amazing! Thank you! My one question is where is Resources/config/oro/api.yml?

    I searched for it and found the following:

    #41209

    Andrey Yatsenko
    Moderator

    Please read the API documentation carefully. It’s all there. The file could be located at any bundle, as all the files all are merged together at the end.

Viewing 5 replies - 1 through 5 (of 5 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top