List products created by your organization
GET/api/company/product
List products created by your organization
Request
Query Parameters
page integer
Possible values: >= 1
Page number
per_page integer
Possible values: >= 1 and <= 100
Number of items per page
query string
Query string for product name
Responses
- 200
- 422
- default
Detailed information about the product
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
items object[]required
An array of products.
id uuidrequired
The unique identifier of the product.
name stringrequired
The name of the product.
company_id uuidrequired
The unique identifier of the company.
description stringrequired
The description of the product. Can be null.
images object[]required
An array of image URLs associated with the product.
id uuidrequired
The unique identifier of the product image.
company_id uuidrequired
The unique identifier of the company.
url urlrequired
The URL of the product image.
total integerrequired
The total number of products.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"images": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "string"
}
]
}
],
"total": 0
}
Company not found
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
The error code
message stringrequired
A human-readable error message
{
"code": 0,
"message": "string"
}
Loading...