Skip to main content

Creates a new product

POST 

/api/company/:company_id/product

Creates a new product

Request

Path Parameters

    company_id uuidrequired

    The id of the company

Body

required
    name stringrequired

    The name of the product.

    description stringrequired

    The description of the product. Can be null.

    images url[]required

    An array of image URLs associated with the product.

Responses

Detailed information about the product

Schema
    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.

  • ]
Loading...