john mandalos Posted September 23, 2020 Share Posted September 23, 2020 Hello, I have problem with api on product specific prices. I m trying to post a new specific price but it doesnt work. Any ideas? this is the xml i want to post : <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <specific_price> <id> <![CDATA[15]]> </id> <id_shop_group> <![CDATA[0]]> </id_shop_group> <id_shop xlink:href="https://www.mydomain.gr/api/shops/1"> <![CDATA[1]]> </id_shop> <id_cart> <![CDATA[0]]> </id_cart> <id_product xlink:href="https://www.mydomain.gr/api/products/3676"> <![CDATA[3676]]> </id_product> <id_product_attribute> <![CDATA[0]]> </id_product_attribute> <id_currency> <![CDATA[0]]> </id_currency> <id_country> <![CDATA[0]]> </id_country> <id_group> <![CDATA[0]]> </id_group> <id_customer> <![CDATA[0]]> </id_customer> <id_specific_price_rule> <![CDATA[0]]> </id_specific_price_rule> <price> <![CDATA[4.460000]]> </price> <from_quantity> <![CDATA[12]]> </from_quantity> <reduction> <![CDATA[0.000000]]> </reduction> <reduction_tax> <![CDATA[1]]> </reduction_tax> <reduction_type> <![CDATA[amount]]> </reduction_type> <from> <![CDATA[0000-00-00 00:00:00]]> </from> <to> <![CDATA[0000-00-00 00:00:00]]> </to> </specific_price> </prestashop> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now