Skip to main content

List products created by your organization within a specific company

GET 

/api/company/:company_id/product

List products created by your organization within a specific company

Request

Path Parameters

    company_id uuidrequired

    The id of the company

Query Parameters

    query string

    Query string for product name

    page integer

    Possible values: >= 1

    Page number

    per_page integer

    Possible values: >= 1 and <= 100

    Number of items per page

Responses

List of Products

Schema
    items object[]required

    An array of products.

  • Array [
  • 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.

  • Array [
  • 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.

Loading...