ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  finishedProduct: | {
                      category: { name: string }
                      | null;
                      code: string;
                      id: string;
                      name: string;
                      variant: string | null;
                  }
                  | null;
                  rawMaterial: | {
                      category: { name: string }
                      | null;
                      code: string;
                      id: string;
                      name: string;
                  }
                  | null;
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  finishedProduct: | {
                      category: { name: string }
                      | null;
                      code: string;
                      id: string;
                      name: string;
                      variant: string | null;
                  }
                  | null;
                  rawMaterial: | {
                      category: { name: string }
                      | null;
                      code: string;
                      id: string;
                      name: string;
                  }
                  | null;
              } & {},
          >,
      >