steev_smeeth@123 Posted May 3, 2016 Share Posted May 3, 2016 (edited) Hello, We are using Prestashop API. We have query when generating invoice using Order_invoice there is one field number is required but we are confused that which value we have to pass. Below is example <prestashop> <order_invoice> <id_order required="true" format="isUnsignedId"/> <number required="true" format="isUnsignedId"/> <delivery_number format="isUnsignedId"/> <delivery_date format="isDateFormat"/> <total_discount_tax_excl/> <total_discount_tax_incl/> <total_paid_tax_excl/> <total_paid_tax_incl/> <total_products/> <total_products_wt/> <total_shipping_tax_excl/> <total_shipping_tax_incl/> <shipping_tax_computation_method/> <total_wrapping_tax_excl/> <total_wrapping_tax_incl/> <shop_address maxSize="1000" format="isCleanHtml"/> <invoice_address maxSize="1000" format="isCleanHtml"/> <delivery_address maxSize="1000" format="isCleanHtml"/> <note maxSize="65000" format="isCleanHtml"/> <date_add format="isDate"/> </order_invoice> </prestashop> Also we need shipping details to be displayed in our application. For this we access for example http://demoprestashop.com/prestashopapp/api/deliveries and http://demoprestashop.com/prestashopapp/api/order_slip but it returns result as follows: we need shipment (delivery slips) counts and basic shipment (delivery slips) information. we are not able to get from this. <prestashop> <delivery> <id>1</id> <id_carrier xlink:href="http://demoprestashop.com/prestashopapp/api/carriers/2">2</id_carrier><id_range_price>0</id_range_price> <id_range_weight xlink:href="http://demoprestashop.com/prestashopapp/api/weight_ranges/1">1</id_range_weight> <id_zone xlink:href="http://demoprestashop.com/prestashopapp/api/zones/1">1</id_zone> <id_shop/> <id_shop_group/> <price>5.000000</price> </delivery> </prestashop> So please help us to resolve this issue. Edited May 11, 2016 by steev_smeeth@123 (see edit history) 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