ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  category: { code: string | null; id: string; name: string }
                  | null;
                  client:
                      | {
                          code: string;
                          currency: { code: string; id: string; symbol: string }
                          | null;
                          id: string;
                          name: string;
                      }
                      | null;
                  salesTax: { code: string; id: string; name: string; rate: number }
                  | null;
                  unitOfMeasure:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfProduction:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfSale:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  category: { code: string | null; id: string; name: string }
                  | null;
                  client:
                      | {
                          code: string;
                          currency: { code: string; id: string; symbol: string }
                          | null;
                          id: string;
                          name: string;
                      }
                      | null;
                  salesTax: { code: string; id: string; name: string; rate: number }
                  | null;
                  unitOfMeasure:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfProduction:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfSale:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
              } & {},
          >,
      >