VC Product Images v1
Introduction
The purpose of this service is to get product image from vision database.
Request
GET : https://<pathtoapi>/ProductImage
sample : http://test.ontechsolutions.net/visioncommerceapi/ProductImage?product_code=CHABLIS
This API needs to be authenticated ( pass header parameter Authorization : "Bearer "+AccessToken )
Input parameters
Parameter (Query Param) | Details | Required | Example |
---|---|---|---|
product_code | Product code | Required | BAROLO |
image_type_id | Image type id | Optional | 1 |
resolution | ‘Original', ‘512x512’, ‘256x256’ and '128x128’ | Optional | 128x128 |
Image types
image_type_id Image type
1 - Single Shot
2 - Multi Single shot
3 - Case Shot
4 - Front Label
5 - Back Label
6 - Additional Label
7 - Capsule
Response
Generic response / error codes
200 - Respond with image data, either PNG or JPEG (Response header ‘Content-Type’ will have this information)
Postman sample
Copyright Ontech Solutions 2017-2024. All rights reserved, no part may be replicated or distributed without the express permission of the owner.