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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}