My Products
Help
oabakken
CONTRIBUTOR *

Inventory query based in attribute

by oabakken (Updated ‎02-02-2021 13:47 by Yıldırım VISMA )

Someone knowf if it is possible to add an attribute query to Inventory end point? Like checking: attribute = value ?

2 REPLIES 2
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi,

 

You would use the attribute query as below:

 

inventory?attributes={"TEST":"testvalue"}

 

When encoding, the equal signs should not be encoded, both examples below works:

inventory?attributes=%7B"TEST":"testvalue"%7D

 

inventory?attributes=%7B%22TEST%22%3A%22testvalue%22%7D

 

Accepted solution
oabakken
CONTRIBUTOR *

by oabakken

Thank you!

 

Worked like a charm 😄