Jump to content

How to set product Cost using API?


carvic

Recommended Posts

Hi,

I'm importing inventory products using the API. You can set product cost from each supplier and also your sell price (Pricing level).

But i can't find any way to set the Cost variable that is used as the actual purchase price:

image.png.2b4f262b4e5160ddafc81fa03b3b7248.png

 

You can put in the prices for each supplier, but how do i use that as the cost for the product?

image.png.4df7b7fe90ee764666a962ac2f8d5f43.png

 

The rest of the values can be set when adding or updating a product using the API Url: "https://server_name/api/inventory/products/"

You can GET the Cost by using the API Url: "/v2/inventory/products/{productIndexId}/defaultcost". But i can't find any Url to post and update the cost.

Edited by carvic
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...