get https://api.accelevents.com/rest/event//portal/exhibitor//product/
This API is used to get product details by product id.
Mainly used for edit product information so for we have to get details of product by its Id
Response
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
id | it contains Product id |
name | it contains Product name and Product Name Can Not Be Empty. |
description | it contains a Product description |
price | it contains Product price |
images | it contains Image location id and Image location URL |
discountAmount | it contains the Discount amount |
discountType | it contains Discount type, accepted values are PERCENTAGE or FLAT |
position | it contains Product position |
shopifyBuyButton | it contains Shopify Buy Button name |
productBuyButtonLink | it contains Product Buy Button-Link |
Error Code
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource |
403 | Accessing the resource you were trying to reach is forbidden |
404 | The resource you were trying to reach is not found |
40600013 | Cant create url |
4040200 | Event Not Found |
4030201 | Not Event Host |
4040033 | Product not found |