POS365.VN APIs

<back to all web services

PriceBookUpdateItems

Requires Authentication
Requires any of the permissions:PriceBook_Update, PriceBook_Create
The following routes are available for this service:
POST/api/pricebooks/updateitem
PriceBookUpdateItems Parameters:
NameParameterData TypeRequiredDescription
PriceBookIdbodylongNo
PriceBookDetailIdbodylongNo
ProductIdbodylongNo
PricebodydecimalNo
PriceLargeUnitbodydecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/pricebooks/updateitem HTTP/1.1 
Host: api.pos365.vn 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PriceBookId: 0,
	PriceBookDetailId: 0,
	ProductId: 0,
	Price: 0,
	PriceLargeUnit: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}