ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  category: { code: string | null; id: string; name: string }
                  | null;
                  categoryId: string | null;
                  code: string;
                  color: string | null;
                  cost: number;
                  createdAt: Date;
                  depth: number | null;
                  description: string | null;
                  files: {
                      category: string | null;
                      filename: string;
                      id: string;
                      mimetype: string;
                      size: number;
                      url: string;
                  }[];
                  height: number
                  | null;
                  id: string;
                  imageKey: string | null;
                  imageUrl: string | null;
                  internalNotes: string | null;
                  isActive: boolean;
                  name: string;
                  productType: string;
                  salesTax: { code: string; id: string; name: string; rate: number } | null;
                  salesTaxId: string | null;
                  sellingPrice: number;
                  unitOfMeasure:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfMeasureId: string | null;
                  updatedAt: Date;
                  variant: string | null;
                  weight: number | null;
                  width: number | null;
              },
          >,
      >