ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  approver: { email: string; id: string; name: string | null }
                  | null;
                  client: {} | null;
                  finishedProduct:
                      | { category: {}
                      | null; unitOfMeasure: {} | null } & {}
                      | null;
                  fromLocation: {} | null;
                  fromWarehouse: {} | null;
                  location: {} | null;
                  operator: { email: string; id: string; name: string | null } | null;
                  purchaseOrder: {} | null;
                  rawMaterial: { category: {} | null; unitOfStock: {} | null } & {} | null;
                  salesOrder: {} | null;
                  stockLot: {} | null;
                  supplier: {} | null;
                  toLocation: {} | null;
                  toWarehouse: {} | null;
                  transporter: {} | null;
                  warehouse: {};
                  workOrder: {} | null;
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  approver: { email: string; id: string; name: string | null }
                  | null;
                  client: {} | null;
                  finishedProduct:
                      | { category: {}
                      | null; unitOfMeasure: {} | null } & {}
                      | null;
                  fromLocation: {} | null;
                  fromWarehouse: {} | null;
                  location: {} | null;
                  operator: { email: string; id: string; name: string | null } | null;
                  purchaseOrder: {} | null;
                  rawMaterial: { category: {} | null; unitOfStock: {} | null } & {} | null;
                  salesOrder: {} | null;
                  stockLot: {} | null;
                  supplier: {} | null;
                  toLocation: {} | null;
                  toWarehouse: {} | null;
                  transporter: {} | null;
                  warehouse: {};
                  workOrder: {} | null;
              } & {},
          >,
      >