0

Title says it all. The api can't seem to filter by product's created_at value. I am able to filter by any other value, especially the updated_at, but not created_at. I have noticed that the particular product's created_at value seems to be abnormal. Here is what catalogProductInfo, which queries by product_id returns:

...
<created_at xsi:type="xsd:string">2012-02-01T14:30:55-05:00</created_at>
<updated_at xsi:type="xsd:string">2019-01-17 10:09:49</updated_at>
...

Updated_at seems to have a normal date, but created_by is malformed, or perhaps I don't understand that format. If I try with catalogProductList and filter like this, it returns an empty result:

<catalogProductList xmlns="urn:Magento">
    <session>{{session}}</session>
    <xsd:element name="salesOrderListRequestParam">
        <filter xsi:type="urn:associativeArray" soapenc:arrayType="urn:associativeEntity[]">
             <item>
                <key>created_at</key>
                <value xsi:type="xsd:string">2012-02-01T14:30:55-05:00</value>
             </item>
        </filter>
    </xsd:element>
</catalogProductList>

Can anyone help me understand why this is not working?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.