POS365.VN APIs

<back to all web services

PriceBookSync

Requires Authentication
The following routes are available for this service:
GET/api/pricebooks/sync
CustomPriceBookDetail Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
PricebookIdformlongNo
ProductIdformlongNo
NameformstringNo
AttributesNameformstringNo
CodeformstringNo
CostformdecimalNo
MultiUnitformboolNo
PriceformdecimalNo
OriginalPriceformdecimalNo
OriginalPriceLargeUnitformdecimalNo
PriceLargeUnitformdecimalNo

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.

GET /api/pricebooks/sync HTTP/1.1 
Host: api.pos365.vn 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	PricebookId: 0,
	ProductId: 0,
	Name: String,
	AttributesName: String,
	Code: String,
	Cost: 0,
	MultiUnit: False,
	Price: 0,
	OriginalPrice: 0,
	OriginalPriceLargeUnit: 0,
	PriceLargeUnit: 0
}