ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  client: {
                      code: string;
                      email: string
                      | null;
                      id: string;
                      name: string;
                      phone: string | null;
                  };
                  currency: | { code: string; id: string; name: string; symbol: string }
                  | null;
                  lines: (
                      {
                          finishedProduct: { code: string; id: string; name: string }
                          | null;
                          tax: { id: string; name: string; rate: number } | null;
                          unitOfMeasure:
                              | { code: string; id: string; name: string; symbol: (...)
                              | (...) }
                              | null;
                          unitOfPrice:
                              | { code: string; id: string; name: string; symbol: (...)
                              | (...) }
                              | null;
                      } & {}
                  )[];
                  salesOffer: | { id: string; number: string; projectName: string
                  | null }
                  | null;
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  client: {
                      code: string;
                      email: string
                      | null;
                      id: string;
                      name: string;
                      phone: string | null;
                  };
                  currency: | { code: string; id: string; name: string; symbol: string }
                  | null;
                  lines: (
                      {
                          finishedProduct: { code: string; id: string; name: string }
                          | null;
                          tax: { id: string; name: string; rate: number } | null;
                          unitOfMeasure:
                              | { code: string; id: string; name: string; symbol: (...)
                              | (...) }
                              | null;
                          unitOfPrice:
                              | { code: string; id: string; name: string; symbol: (...)
                              | (...) }
                              | null;
                      } & {}
                  )[];
                  salesOffer: | { id: string; number: string; projectName: string
                  | null }
                  | null;
              } & {},
          >,
      >