Developer forum

Forum » Swift » Call to dwapi ecommerce/products/search - NeverOutOfstock only in response when True

Call to dwapi ecommerce/products/search - NeverOutOfstock only in response when True

Pedro Meias
Pedro Meias
Reply

Hello,

Using Dynamicweb 9.14.6, site used is https://uat-hos.mydwsite1.com/

We are making a call on Quick Order page to dwapi/ecommerce/products/search, even though we are requesting for property NeverOutOfstock to be returned in the response, it seems this only happens when the property is True. Is this the expected behaviour?

Payload

 

Reponse

api/ecommerce/products/search/dwapi/ecommerce/products/search


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes - all null properties and all properties with default values are ignored.

Votes for this answer: 1
 
Pedro Meias
Pedro Meias
Reply

Thank you for the clarification Nicolai!

 

You must be logged in to post in the forum