Manually enter shipping costs when placing an order via webservice - prestashop

Currently I am working on export orders from ebay to prestashop through my local application.
I fetching orders from eBay by API and I prepare the order as XML and send by Presta webservice to my webshop. I do not know how to solve the problem with shipping costs. On eBay I have a different shipping than in my shop, so I do not want to choose a carrier when ordering, but give a "shipping cost" manually. There is a possibility?

Related

How can I get tax details from my personal webserver and display on the checkout page in shopify?

I want to create a shopify app that can fetch tax and HS code details from my website and display that to checkout page of the user as soon as user adds a product to cart. How can I build this?
You can use an App Proxy at the cart level to show off information. The proxy serves as a secure way of contacting your server and returning results. In checkout itself, you can offer up information too, with checkout scripts post-purchase.
Note that without integrating a tax service into Shopify itself and using that, none of the tax data or numbers you show off will have any use in the actual order calculations, meaning all your work is simple convenience of showing off an estimation to customers. The tax numbers the customers may actually see will be done by Shopify and/or the integrated tax solution your merchant account uses.

Shopify - get price, stock on hand hand in realtime from external database

My company would like to sell products through the Shopify Platform, but be they want to be able to get their prices and stock levels from an external data base. We have developers that know how to create an API, but we do not quite understand how to set up a private app to do this.
For instance, we want to make an ajax call to this endpoint www.{ourDomain}/shopify/getPrice.html?Part=UserRequestedPart and the endpoint would return some JSON or XML data which I would expect to parse and display in Shopify.
Create a private app with write_products and write_inventory scopes.
Access your endpoint to get current prices/inventory from your external database.
Update Shopify product prices/inventory using Shopify API.
Use Product Variant to update prices.
Use Inventory Level endpoint to update the quantity.
More details can be found here: Shopify Admin API

Big Commerce - Custom Price Retrieval

I'm looking at using Big Commerce.
Is it possible through customizations that I can programmatically pull a price via a web service based on who the user is?
User logs into my store; when they search, for each product the price (and some other information) is being populated by a web service call. Same goes for the product page, cart, etc.
Yes, this would be possible, although the implementation may vary depending on the size of your catalog/number of individual users who need pricing unique to them.
One option would be to call your web service for pricing and send those prices to the storefront for a specific customer (or group of customers) using the Price Lists API:
https://developer.bigcommerce.com/api-reference/catalog/pricelists-api
Another possibility would be to listen for the ID of the logged in customer, and based on that ID, update the prices of the products in the cart using the Cart API:
https://developer.bigcommerce.com/api-reference/cart-checkout/server-server-cart-api

Shopify - New order using the Shopify API - how to know tax and shipping?

We have built an e-commerce web application (Node backend, Vue frontend). We process the payment using Stripe, but many brands have asked us if the order and inventory control can be done in Shopify. We are trying to figure out the best way integrate a payment module into Shopify so that the brand can manage the fulfilment and inventory through Shopify.
It seems we should use the Order API to create an order and mark it as paid. But how do we know that the product is in stock, and what are the cost for shipping and tax from Shopify when creating the order? I think we can use the Product API to get inventory levels, but where is the shipping and tax endpoints?
If I understand the Order API correctly, we need to tell Shopify what are the shipping costs and tax costs, when a new order is created. Is that right? How could we possibly know those figures? Seems like there should be an endpoint to calculate shipping costs and get a product's tax rates so that we can then pass those figures back into the Order API. Am I missing something?
I thought maybe we are supposed to create an order that has financial_status: pending first to get shipping and tax rates back (does it even give you those?), then update the order to either cancel_reason: customer or cancel_reason: inventory if those rates are too expensive and the order is declined? But surely we need to know what shipping methods are available to the customer in order to tell Shopify which one to use, right? Or does it by default choose the cheapest one when creating an order?
Notes:
We know the customers shipping address
We don't know where the product is warehoused (Shopify does I think)
We don't know the weights or dimensions of the product (Shopify does I think)
This answer is a little bit late, but i hope, i can help others that are struggling with the same issue.
First i would recommend to set up all Shipping Rates and Taxes in Shopify. There are plenty of manuals to achieve this:
https://help.shopify.com/manual/taxes#general-process-to-set-up-taxes
https://help.shopify.com/manual/shipping/rates-and-methods/calculated-rates
After this there are different possibilities to calculate your shipping and tax cost.
Your shipping cost can you get via the active_shipping API, which can be found here:
https://github.com/Shopify/active_shipping
Or the following Shopify Application: https://apps.shopify.com/boxify
However, you may need to know size and storage location for theese solutions.
The taxes can you get via the country in the Admin API, there is a specific key-value pair for this:
https://help.shopify.com/api/reference/country
I hope that's enough information to get closer to solving the issue, for at least someone.

Bigcommerce custom shipping handling

I have a client who wants an eCommerce site but they have to have a custom shipping service. The way shipping will work will be as follows:
When the online customer is placing the order and is shown the shipping page, this page must query the custom shipping service passing all the order information (as JSON). The shipping service will return a JSON array containing ShipmentOption objects. Each ShipmentOption object contains the shipping method name and the total price of shipping the items on the order to the online customer's address.
Can the BigCommerce platform handle the above requirement? If yes, can you please send me the URL to the pages that explain to me how to set this up or send me the instructions please?
This isn't possible to accomplish with Bigcommerce, but you may be able to use ShipperHQ to host the same logic and get similar, if not the same, quotes.