AVB LINQ Public API

<back to all web services

ProductRequest

Products
The following routes are available for this service:
GET/productsReturns a list of products that match the given parameters. Only minimal product data is returned, though each data item will contain a link to the endpoint for the complete product data.
POST/productsReturns a list of products that match the given parameters. Only minimal product data is returned, though each data item will contain a link to the endpoint for the complete product data.
ProductRequest Parameters:
NameParameterData TypeRequiredDescription
BrandIdbodyintNo
BrandNamebodystringNo
CategoryIdbodyintNo
SkubodystringNo
IncludeCustomFieldsbodyboolNo
IncludePricesbodyboolNo
ExcludePackagesbodybool?No
IsActivebodybool?No
ProductResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ProductsformList<ProductStub>No
ProductStub Parameters:
NameParameterData TypeRequiredDescription
ProductIdformintNo
SkuformstringNo
BrandIdformintNo
BrandNameformstringNo
ProductDetailUrlformstringNo
BaseSystemReferencePriceformdecimal?No
PricesformProductPricesStubNo
CustomFieldsformList<KeyValuePair<String,String>>No
ProductPricesStub Parameters:
NameParameterData TypeRequiredDescription
BaseSystemReferencePriceformdecimal?No
Priceformdecimal?No
OverridePriceformdecimal?No

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

HTTP + CSV

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

POST /products HTTP/1.1 
Host: avb-pos.avbportal.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"brandId":0,"brandName":"String","categoryId":0,"sku":"String","includeCustomFields":false,"includePrices":false,"excludePackages":false,"isActive":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"products":[{"productId":0,"sku":"String","brandId":0,"brandName":"String","productDetailUrl":"String","baseSystemReferencePrice":0,"customFields":[{"key":"String","value":"String"}]}]}