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

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  finishedProduct: { code: string; id: string; name: string };
                  rawMaterial:
                      | {
                          code: string;
                          cost: number;
                          id: string;
                          name: string;
                          unitOfMeasure: { symbol: string | null }
                          | null;
                      }
                      | null;
              } & {},
          >,
      >