List Products
GET/api/v1/products
List Products
Request​
Responses​
- 200
- 400
- 401
- 422
- 429
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
Product data
info
object
Information of the product
categories
object[]
Information of the product category
productCategoryDescription string
Description of the product category
productCategoryId string
Unique identifier of the product category
productCategoryName string
Name of the product category
productDescription string
Description of the product
productName string
Name of the product
productLineId string
Unique identifier of the product line
{
"data": [
{
"info": {
"categories": [
{
"productCategoryDescription": "Apparel women tops",
"productCategoryId": "123123",
"productCategoryName": "Womens top"
}
],
"productDescription": "women tops for SS22",
"productName": "Cashmere womens top"
},
"productLineId": "A123"
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
errors object
message string
{
"errorCode": "Generic",
"errors": {
"type": [
"Input type is not valid"
]
},
"message": "Validation error"
}
Rate-limiting Error
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
message string
{
"errorCode": "Generic",
"message": "Too many requests"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
errorCode string
errors object
message string
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}
Loading...