Inhalte aufrufen

Profilbild

Web API filtering order by an order attribute


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 ertank

ertank

    Member

  • Members
  • PunktPunkt
  • 10 Beiträge

Geschrieben: 08 August 2023 - 19:52

Hello,

 

Using Smartstore v5 and how can I filter an order having Attribute named XXX and value 0 using WEB API access?

 

I could not find a $filter example using an attribute so I am asking in here for help.

 

Thanks & Regards,

Ertan



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3802 Beiträge

Geschrieben: 09 August 2023 - 13:23

This is difficult. The attribute data is stored in OrderItem.AttributesXml: XML formatted in Smartstore version < 5 and JSON formatted since version 5. So you would have to filter this string. I cannot say if this works because I haven't tried it yet.


  • stefanmueller gefällt das

Marcus Gesing

Smartstore AG